Compare commits

...

2 Commits

2 changed files with 13 additions and 33 deletions

View File

@ -26,7 +26,7 @@
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://picsum.photos/1920/802" class="d-block w-100 rounded" alt="...">
<img src="{{ $content->image }}" class="d-block w-100 rounded" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>First slide label</h5>
<p>Some representative placeholder content for the first slide.</p>

View File

@ -9,19 +9,6 @@

<br>

@foreach($contents as $content)
<div class="col-12 col-md-6 mb-5">
<div class="card shadow-sm" style="background-color: #2776b7;">
<img src="https://picsum.photos/200/100" class="card-img-top border-bottom">
<div class="card-body">
<h2 class="card-title text-light">{{$content->title}}</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus asperiores consequatur maxime nobis provident! Amet in laborum minus possimus reiciendis rem reprehenderit! Ducimus facere facilis illo odit omnis suscipit voluptatum?</p>

</div>
</div>
</div>
@endforeach

@if (isset($list))
<p class="fs-5">
{{ $list->description }}
@ -165,38 +152,31 @@

@foreach($contents as $content)
<div class="col-12 col-md-6 mb-5">
<div class="card shadow-sm" style="background-color: #2776b7;">
<img src="https://picsum.photos/200/100" class="card-img-top border-bottom">
<div class="card-body">
<h2 class="card-title text-light">{{$content->title}}</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus asperiores consequatur maxime nobis provident! Amet in laborum minus possimus reiciendis rem reprehenderit! Ducimus facere facilis illo odit omnis suscipit voluptatum?</p>

</div>
</div>
</div>
@endforeach

<div class="col-12 col-md-6 mb-5">
<a href="" class="text-decoration-none">
<div class="card shadow-sm bg-light">
<img src="https://picsum.photos/200/100" class="card-img-top border-bottom">
<a href="{{ route_content($content) }}" class="text-decoration-none">
<div class="card shadow-sm bg-light h-100">
<img src="{{ $content->image }}" class="card-img-top border-bottom">
<div class="card-body">
<h2 class="card-title h5">Immobilie ABC</h2>
<p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus asperiores consequatur maxime nobis provident! Amet in laborum minus possimus reiciendis rem reprehenderit! Ducimus facere facilis illo odit omnis suscipit voluptatum?</p>

<h2 class="card-title h5">{{$content->title}}</h2>
<p class="text-muted">Schöne Immobilie sofort verfügbar!</p>

<div class="row">
<div class="col-7 text-success fw-bold">
Miete: 282 € / monatlich zzgl. Nebenkosten
Miete: 282 € / monatlich
</div>
<div class="col-5 text-end" style="color: #2776b7">
Mehr Erfahren ⟶
</div>
</div>


</div>

</div>
</a>
</div>
@endforeach


</div>
</div>