add images
parent
07338e08f5
commit
f94ad0fd19
|
@ -16,7 +16,11 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-5">
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@if(empty($content->image))
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@else
|
||||
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
|
||||
@endif
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
|
|
@ -15,7 +15,11 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-5">
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@if(empty($content->image))
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@else
|
||||
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
|
||||
@endif
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
|
|
@ -15,7 +15,11 @@
|
|||
<section>
|
||||
<div class="row">
|
||||
<div class="col-5">
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@if(empty($content->image))
|
||||
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
|
||||
@else
|
||||
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
|
||||
@endif
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
|
|
@ -20,16 +20,14 @@
|
|||
<div class="col-12 col-md-6 mb-5">
|
||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||
|
||||
@if(empty($content->image))
|
||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||
|
||||
@else
|
||||
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
|
||||
@endif
|
||||
<div class="card-body">
|
||||
|
||||
<h5 class="card-title">{{$content->title}}</h5>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
|
|
@ -20,16 +20,14 @@
|
|||
<div class="col-12 col-md-6 mb-5">
|
||||
<a href="{{route_content($content)}}" class="text-decoration-none">
|
||||
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
|
||||
|
||||
@if(empty($content->image))
|
||||
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
|
||||
|
||||
@else
|
||||
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
|
||||
@endif
|
||||
<div class="card-body">
|
||||
|
||||
<h5 class="card-title">{{$content->title}}</h5>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue