on home just news
parent
cc8ca7568c
commit
a21572c92d
|
@ -37,8 +37,8 @@
|
|||
|
||||
</div>
|
||||
|
||||
@foreach($nachrichten as $nach)
|
||||
<div class="col-12 col-md-6 col-lg-4" style="margin-bottom: 80px;">
|
||||
@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" id="news-{{$nach->id}}">
|
||||
@if ($nach->image)
|
||||
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive">
|
||||
|
@ -50,6 +50,9 @@
|
|||
<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>
|
||||
{!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
@extends('template.'.config('settings.template').'.content.master')
|
||||
@section('content')
|
||||
<div class="breadcrumbs">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<nav>
|
||||
<ol class="breadcrumb">
|
||||
|
||||
<li><a href="{{ url('/') }}">Startseite</a></li>
|
||||
<li><a href="{{ url('/verkaufsstellen') }}">Verkaufsstellen</a></li>
|
||||
<li class="active">{{$nach->title}}</li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-3 hidden">
|
||||
<h3 id="logo"><span class="light">Städte</span></h3>
|
||||
<hr class="sidebar-divider">
|
||||
<div class="features-menu js--affix-menu">
|
||||
<ul class="nav nav-sidebar-menu">
|
||||
|
||||
<li><a class="sidebar-menu__links" href="{{ url('/verkaufsstellen') }}">Übersicht</a></li>
|
||||
<li><a href="{{ url('/hofladen-pleystein') }}">Pleystein</a></li>
|
||||
<li><a href="{{ url('/bauernmarkt-vohenstrauss') }}">Vohenstrauß</a></li>
|
||||
<li><a href="{{ url('/bauernmarkt-weiden') }}">Weiden</a></li>
|
||||
<li><a href="{{ url('/donaumarkt-regensburg') }}">Regensburg</a></li>
|
||||
<li><a href="{{ url('/wochenmarkt-neutraubling') }}">Neutraubling</a></li>
|
||||
<li class="active"><a href="{{ url('/wochenmarkt-burglengenfeld') }}">Burglengenfeld</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<h3>Unsere Verkaufsstandorte</h3>
|
||||
<hr class="title__divider">
|
||||
<h1>{{$nach->title}}</h1>
|
||||
|
||||
|
||||
{!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!}
|
||||
|
||||
<h2>Bilder</h2>
|
||||
<!-- 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) }}">
|
||||
@else
|
||||
<img class="gallery" alt="Gallery image" src="https://picsum.photos/300/200">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr class="divider">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
Loading…
Reference in New Issue