Gustavo Luigi 2022-11-23 13:04:22 -03:00
parent 6e34daccc5
commit 0cc48f743b
1 changed files with 8 additions and 38 deletions

View File

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


@section('content')

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


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










<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
</div> </div>

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

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

@if(filterByContentType("News")->count() == 0)

<div class="col-12 text-center text-muted"> <div class="col-12 text-center text-muted">
Derzeit noch keine Neuigkeiten auf der Homepage veröffentlicht Derzeit noch keine Neuigkeiten auf der Homepage veröffentlicht

<br> <br>
<br> <br>
<br> <br>
<br> <br>
<br> <br>
</div> </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;"> <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"> <div class="card-body">
<h2 class="h5 fw-bolder">Lorem ipsum dolor sit amet</h2> <h2 class="h5 fw-bolder">{{$content->title}}</h2>

<p class="mt-2">{!! $content->vorschau !!}</p>
<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>
</div> </div>
</div> </div>

@endforeach
</div> </div>




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




</div> </div>
</div> </div>
@stop @stop