master
parent
d0f7a6cf92
commit
93e4c39d03
|
@ -27,7 +27,7 @@
|
|||
<div class="col-md-9">
|
||||
@if($content->image)
|
||||
<br>
|
||||
<img src="{{ asset($content->image) }}" class="img-fluid">
|
||||
<img src="{{$content->image}}" class="img-fluid">
|
||||
<br>
|
||||
@endif
|
||||
<br>
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
<div class="row">
|
||||
@foreach($contents as $content)
|
||||
<div class="col-12 col-md-3 pb-5">
|
||||
<a href="{{ route_content($content) }}">
|
||||
<a href="{{$content->source_link}}">
|
||||
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
||||
@if ($content->image)
|
||||
<img class="rounded-top img-fluid" src="{{asset($content->image)}}">
|
||||
<img class="rounded-top img-fluid" src="{{$content->image}}">
|
||||
@else
|
||||
<img class="rounded-top img-fluid" src="{{asset('template/images/konradenhof-placeholder.jpg')}}">
|
||||
@endif
|
||||
|
|
Loading…
Reference in New Issue