master
parent
1a34f123df
commit
88b1867065
|
@ -7,7 +7,7 @@
|
||||||
data-new-url="{{route_content($content)}}"
|
data-new-url="{{route_content($content)}}"
|
||||||
data-new-title="{{$content->title}}"
|
data-new-title="{{$content->title}}"
|
||||||
data-new-date="{{date('Y-m-d h:i:s', strtotime($content->created_at))}}"
|
data-new-date="{{date('Y-m-d h:i:s', strtotime($content->created_at))}}"
|
||||||
data-author-url="{{route('author.get', [$content->user->slug])}}"
|
data-author-url="{{route('user.get', [$content->user->slug])}}"
|
||||||
data-author-name="{{$content->user->name}}"
|
data-author-name="{{$content->user->name}}"
|
||||||
data-author-image="{{$content->user->gravatar()}}"
|
data-author-image="{{$content->user->gravatar()}}"
|
||||||
></span>
|
></span>
|
||||||
|
|
|
@ -229,7 +229,7 @@
|
||||||
<div class="col-4 col-md-2 mb-4">
|
<div class="col-4 col-md-2 mb-4">
|
||||||
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
||||||
@if ($content->image)
|
@if ($content->image)
|
||||||
<img class="rounded border img-fluid" src="{{ asset('uploads/' . $content->image) }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset($content->image) }}" loading="lazy">
|
||||||
@else
|
@else
|
||||||
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
||||||
@endif
|
@endif
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<a href="{{ route_content($content) }}">
|
<a href="{{ route_content($content) }}">
|
||||||
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
||||||
@if ($content->image)
|
@if ($content->image)
|
||||||
<img class="rounded-top img-fluid" src="{{asset('uploads/'.$content->image)}}">
|
<img class="rounded-top img-fluid" src="{{asset($content->image)}}">
|
||||||
@else
|
@else
|
||||||
<img class="rounded-top img-fluid" src="{{asset('template/images/konradenhof-placeholder.jpg')}}">
|
<img class="rounded-top img-fluid" src="{{asset('template/images/konradenhof-placeholder.jpg')}}">
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in New Issue