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

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

View File

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