finkenhammer-theme/content/index.blade.php

91 lines
3.1 KiB
PHP
Raw Normal View History

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;">
2022-11-23 17:25:12 +00:00
<h1 class="fw-bolder">Biohof Finkenhammer</h1>
<p class="fs-5">Bäckerei & Hühnerhof aus 92714 Pleystein.</p>
2022-11-23 15:55:29 +00:00
</div>
</div>
</div>
</div>
</section>
2021-05-28 09:01:54 +00:00
<div class="container">
2022-11-23 17:25:12 +00:00
2021-05-28 09:01:54 +00:00
<div class="row">
2021-09-22 19:31:56 +00:00
<div class="col-sm-12">
2022-11-23 17:25:12 +00:00
2022-11-24 13:43:02 +00:00
<a href="https://www.finkenhammer.de/news/bauernmarkt-vohenstrauss-am-25112022-vor-der-eisdiele">
2022-11-23 17:25:12 +00:00
<div class="alert alert-success fs-6 pt-2 px-4 mt-3" role="alert">
2022-11-24 13:43:02 +00:00
Achtung! Bauernmarkt in Vohenstrauss Diese Woche 25. November 2022 stehen die Marktstände vor der Eisdiele.
2022-11-23 17:25:12 +00:00
</div>
</a>
2022-11-23 10:39:41 +00:00
</div>
2022-11-24 13:09:36 +00:00
2022-11-23 10:39:41 +00:00
<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
2022-11-24 13:43:02 +00:00
@foreach(filterByContentType("News")->take(3) as $content)
<div class="col-12 col-md-6 col-lg-4">
2022-11-24 14:30:36 +00:00
<div class="card shadow-sm mb-5 h-100" style="background-color: #f8f8f4;">
<img src="{{$content->image()}}" class="img-fluid card-img-top">
2022-11-24 13:43:02 +00:00
<div class="card-body">
2022-11-24 14:30:36 +00:00
<h2 class="h5 fw-bolder mb-3">{{$content->title}}</h2>
2022-11-24 13:43:02 +00:00
<p class="mt-2">{!! $content->vorschau !!}</p>
</div>
2022-11-24 14:30:36 +00:00
<div class="text-end pt-0 p-4">
<a href="{{($content->path)}}" class="text-decoration-none">
Mehr lesen
</a>
</div>
2022-11-23 10:39:41 +00:00
</div>
</div>
2022-11-24 13:43:02 +00:00
@endforeach
2022-11-24 14:30:36 +00:00
<div class="col-12">
<br>
<br>
<br>
<br>
2022-11-23 10:39:41 +00:00
</div>
2022-11-24 14:30:36 +00:00
2022-11-23 10:39:41 +00:00
<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