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