2021-05-10 20:16:18 +00:00
|
|
|
@extends('template.'.config('settings.template').'.content.master')
|
2022-11-30 16:18:55 +00:00
|
|
|
@section('head')
|
2022-11-23 15:55:29 +00:00
|
|
|
<style>
|
|
|
|
.bgimage {
|
|
|
|
width:100%;
|
|
|
|
height:646px;
|
|
|
|
background: url('{{ asset('template/images/finkenhammer-hof.jpg') }}');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size:cover;
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
.bgimage h5 {
|
|
|
|
color:white;
|
|
|
|
text-shadow:2px 2px #333;
|
|
|
|
}
|
|
|
|
</style>
|
2022-11-30 16:18:55 +00:00
|
|
|
@stop
|
|
|
|
@section('content')
|
2022-11-23 15:55:29 +00:00
|
|
|
<section class="bgimage">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-8 col-lg-7">
|
|
|
|
<div class="p-4 rounded" style="background-color: rgba(204,204,204,0.7); margin-top: 300px;">
|
|
|
|
|
|
|
|
<h1>Biohof Finkenhammer</h1>
|
|
|
|
<p class="fs-5">Bäckerei & Hühnerhof</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2021-05-28 09:01:54 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2021-09-22 19:31:56 +00:00
|
|
|
<div class="col-sm-12">
|
2022-11-23 10:39:41 +00:00
|
|
|
</div>
|
|
|
|
<hr class="divider">
|
|
|
|
<div class="text-shrink">
|
|
|
|
<p class="text-highlight">
|
|
|
|
Backwaren aus dem Holzbackofen der Traditionsbäckerei Finkenhammer
|
|
|
|
</p>
|
2021-09-22 19:31:56 +00:00
|
|
|
</div>
|
2022-11-23 10:39:41 +00:00
|
|
|
<hr class="divider divider-about">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<h2>Aktuelles</h2>
|
|
|
|
</div>
|
2022-11-23 16:04:22 +00:00
|
|
|
@if(filterByContentType("News")->count() == 0)
|
2022-11-23 10:39:41 +00:00
|
|
|
<div class="col-12 text-center text-muted">
|
|
|
|
Derzeit noch keine Neuigkeiten auf der Homepage veröffentlicht
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
</div>
|
2022-11-23 16:04:22 +00:00
|
|
|
@endif
|
|
|
|
<div class="col-12 col-md-6 col-lg-4">
|
|
|
|
@foreach(filterByContentType("News")->take(3) as $content)
|
2022-11-23 10:39:41 +00:00
|
|
|
<div class="card shadow-sm mb-5" style="background-color: #f8f8f4;">
|
2022-11-23 16:04:22 +00:00
|
|
|
<img src="{{$content->image}}" class="img-fluid card-img-top">
|
2022-11-23 10:39:41 +00:00
|
|
|
<div class="card-body">
|
2022-11-23 16:04:22 +00:00
|
|
|
<h2 class="h5 fw-bolder">{{$content->title}}</h2>
|
|
|
|
<p class="mt-2">{!! $content->vorschau !!}</p>
|
2022-11-23 10:39:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-23 16:04:22 +00:00
|
|
|
@endforeach
|
2022-11-23 10:39:41 +00:00
|
|
|
</div>
|
|
|
|
<a href="{{url('/neuigkeiten')}}" class="small text-center mb-5 mt-3 d-none">Ältere Nachrichten</a>
|
|
|
|
</div>
|
2021-05-28 09:01:54 +00:00
|
|
|
</div>
|
|
|
|
@stop
|