Benjamin Völkl 2022-11-23 18:25:42 +01:00
commit 638b59a431
1 changed files with 8 additions and 38 deletions

View File

@ -1,9 +1,5 @@
@extends('template.'.config('settings.template').'.content.master')
@section('content')


@section('content')

<style>
.bgimage {
width:100%;
@ -19,8 +15,6 @@
text-shadow:2px 2px #333;
}
</style>


<section class="bgimage">
<div class="container">
<div class="row">
@ -35,16 +29,6 @@
</div>
</div>
</section>










<div class="container">


@ -69,7 +53,6 @@
</div>
</a>
</div>

<hr class="divider">
<div class="text-shrink">
<p class="text-highlight">
@ -77,44 +60,31 @@
</p>
</div>
<hr class="divider divider-about">

<div class="col-sm-12">
<h2>Aktuelles</h2>
</div>


@if(filterByContentType("News")->count() == 0)
<div class="col-12 text-center text-muted">
Derzeit noch keine Neuigkeiten auf der Homepage veröffentlicht

<br>
<br>
<br>
<br>
<br>
</div>
<div class="col-12 col-md-6 col-lg-4 d-none">
@endif
<div class="col-12 col-md-6 col-lg-4">
@foreach(filterByContentType("News")->take(3) as $content)
<div class="card shadow-sm mb-5" style="background-color: #f8f8f4;">
<img src="https://picsum.photos/400/199" class="img-fluid card-img-top">
<img src="{{$content->image}}" class="img-fluid card-img-top">
<div class="card-body">
<h2 class="h5 fw-bolder">Lorem ipsum dolor sit amet</h2>

<p class="mt-2">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquam at, delectus dignissimos distinctio dolores ea et ex maiores obcaecati reiciendis sed sequi vero voluptas? Assumenda ducimus fuga illum? Molestiae, possimus.

</p>
<h2 class="h5 fw-bolder">{{$content->title}}</h2>
<p class="mt-2">{!! $content->vorschau !!}</p>
</div>
</div>

@endforeach
</div>




<a href="{{url('/neuigkeiten')}}" class="small text-center mb-5 mt-3 d-none">Ältere Nachrichten</a>




</div>
</div>
@stop