Gustavo Luigi 2022-09-21 16:35:00 -03:00
parent d0f7a6cf92
commit 93e4c39d03
2 changed files with 4 additions and 4 deletions

View File

@ -25,9 +25,9 @@
</div>
<div class="row">
<div class="col-md-9">
@if ($content->image)
@if($content->image)
<br>
<img src="{{ asset($content->image) }}" class="img-fluid">
<img src="{{$content->image}}" class="img-fluid">
<br>
@endif
<br>

View File

@ -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