Benjamin Völkl 2021-09-22 21:31:56 +02:00
parent 5e747da4db
commit 2100ad4b77
2 changed files with 18 additions and 6 deletions

View File

@ -35,7 +35,13 @@
<h3>Unsere Verkaufsstandorte</h3>
<hr class="title__divider">
<h1>{{$nach->title}}</h1>
<br>

@if ($nach->image)
<img class="gallery" alt="Gallery image" src="{{ asset('uploads/' . $nach->image) }}">

@endif
<br>

{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}

@ -43,10 +49,13 @@
<!-- 3 collumns gallery -->
<div class="row">
<div class="col-xs-12 col-sm-4 push-down-20">
@if ($nach->image)
<img class="gallery" alt="Gallery image" src="{{ asset('uploads/' . $nach->image) }}">

@endif
</div>

<div class="col-xs-12 col-sm-4 push-down-20">
<img class="gallery" alt="Gallery image" src="{{ asset('uploads/' . $nach->image) }}">

</div>

</div>

View File

@ -24,20 +24,23 @@

<div class="container">
<div class="row">
<h1>Biohof Finkenhammer - Aktuelle Angebote und Informationen</h1>
<div class="col-sm-12">
<h1>Biohof Finkenhammer</h1>

</div>




</div>
<div class="row">
<div class="col-12">
<div class="col-sm-12">
<h2 id="aktuelles">Aktuelles</h2>

</div>

@foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach)
<div class="col-12 col-md-6 col-lg-4" style="margin-bottom: 30px;">
<div class="col-sm-12 col-md-6 col-lg-4" style="margin-bottom: 30px;">
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive card-img-top">