master
parent
d0f7a6cf92
commit
93e4c39d03
|
@ -27,7 +27,7 @@
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
@if($content->image)
|
@if($content->image)
|
||||||
<br>
|
<br>
|
||||||
<img src="{{ asset($content->image) }}" class="img-fluid">
|
<img src="{{$content->image}}" class="img-fluid">
|
||||||
<br>
|
<br>
|
||||||
@endif
|
@endif
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($contents as $content)
|
@foreach($contents as $content)
|
||||||
<div class="col-12 col-md-3 pb-5">
|
<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;">
|
<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($content->image)}}">
|
<img class="rounded-top img-fluid" src="{{$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