master
parent
534534aead
commit
3f1dcfc7ea
|
@ -27,9 +27,7 @@
|
|||
<ul class="nav nav-sidebar-menu">
|
||||
|
||||
<li><a class="sidebar-menu__links" href="{{ url('/verkaufsstellen') }}">Übersicht</a></li>
|
||||
@foreach(filterByContentType($mdNachrichten, "Verkaufsstellen") as $nach)
|
||||
<li><a href="{{ route_content($nach) }}">{{$nach->title}}</a></li>
|
||||
@endforeach
|
||||
<!-- here comes the foreach list for the side menue-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -63,12 +63,10 @@
|
|||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="footer__text">
|
||||
Entwickelt mit dem <a class="footer__link" href="https://www.areya.de/software/cms" target="_blank">Areya CMS <i class="fal fa-external-link"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<div class="footer__text--link">
|
||||
<div class="footer__text--link" style="text-align: right">
|
||||
<a class="footer__links" href="{{ url('datenschutz') }}">Datenschutz</a>
|
||||
<a class="footer__links" href="{{ url('impressum') }}">Impressum</a>
|
||||
</div>
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
</div>
|
||||
|
||||
@foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach)
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<div class="card h-100 shadow-lg mb-5" id="news-{{$nach->id}}">
|
||||
<div class="col-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">
|
||||
@endif
|
||||
|
@ -49,18 +49,24 @@
|
|||
<h7 class="card-subtitle mb-2">
|
||||
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>
|
||||
</h7>
|
||||
<p>
|
||||
<p style="font-size: 16px;">
|
||||
{!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<a href="{{ route_content($nach) }}" class="btn btn-sm btn-primary">Mehr lesen</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@endforeach
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
@if ($nach->image)
|
||||
<img class="gallery" alt="Gallery image" src="{{ asset('uploads/' . $nach->image) }}">
|
||||
@else
|
||||
<img class="gallery" alt="Gallery image" src="https://picsum.photos/300/200">
|
||||
<img class="gallery" alt="Gallery image" src="https://www.finkenhammer.de/template/images/donaumarkt-regensburg-3.jpg">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue