finkenhammer-theme/content/index.blade.php

72 lines
2.0 KiB
PHP
Raw Normal View History

2021-05-10 20:16:18 +00:00
@extends('template.'.config('settings.template').'.content.master')
2020-09-30 09:01:51 +00:00
@section('content')
2021-05-28 09:01:54 +00:00
@section('content')
<div class="jumbotron js--add-gradient">
<div class="container">
<div class="jumbotron__container">
<h2 class="jumbotron__subtitle">
Wir verkaufen auf 5 verschiedenen Märkte unser
</h2>
<h1 class="jumbotron__title">
Bio-Holzofenbrot
</h1>
</div>
2020-09-30 09:01:51 +00:00
</div>
</div>
2021-05-28 09:01:54 +00:00
<div class="container">
<div class="row">
<h1>Biohof Finkenhammer - Aktuelle Angebote und Informationen</h1>
2020-09-30 09:01:51 +00:00
2021-05-10 20:06:40 +00:00
2020-12-08 11:31:37 +00:00
2020-10-19 13:50:01 +00:00
</div>
2021-05-28 09:01:54 +00:00
<div class="row">
<div class="col-12">
<h2 id="aktuelles">Aktuelles</h2>
<br>
</div>
2020-09-30 09:01:51 +00:00
2021-09-20 07:30:28 +00:00
@foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach)
<div class="col-12 col-md-6 col-lg-4">
2021-05-28 09:01:54 +00:00
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive">
@endif
<div class="card-body">
<h3 class="card-title">
{{$nach->title}}
</h3>
<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>
2021-09-20 07:30:28 +00:00
<p>
{!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!}
</p>
2020-10-19 13:50:01 +00:00
2021-05-28 09:01:54 +00:00
</div>
2020-10-19 13:50:01 +00:00
</div>
</div>
2021-05-28 09:01:54 +00:00
@endforeach
2020-09-30 09:01:51 +00:00
2021-05-28 09:01:54 +00:00
</div>
2020-09-30 09:01:51 +00:00
2020-10-19 13:50:01 +00:00
</div>
2021-05-28 09:01:54 +00:00
</div>
@stop