finkenhammer-theme/content/index.blade.php

90 lines
3.1 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')
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;
2022-11-23 17:25:12 +00:00
background-size:auto;
2022-11-23 15:55:29 +00:00
background-attachment: fixed;
}
.bgimage h5 {
color:white;
text-shadow:2px 2px #333;
}
</style>
<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
<a href="">
<div class="alert alert-success fs-6 pt-2 px-4 mt-3" role="alert">
dfasd
</div>
</a>
<a href="">
<div class="alert alert-success fs-6 pt-2 px-4 mt-3" role="alert">
dfasd
</div>
</a>
<a href="">
<div class="alert alert-success fs-6 pt-2 px-4 mt-3" role="alert">
dfasd
</div>
</a>
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