master
parent
be0e5af24a
commit
207fc8ab8b
|
@ -17,6 +17,11 @@
|
|||
a{
|
||||
color: #71a866;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
color: #71a866;
|
||||
text-decoration: underline;
|
||||
}
|
||||
footer a{
|
||||
color: white;
|
||||
|
||||
|
|
|
@ -59,16 +59,30 @@
|
|||
@endif
|
||||
@foreach(filterByContentType("News")->take(3) as $content)
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<div class="card shadow-sm mb-5" style="background-color: #f8f8f4;">
|
||||
<img src="{{$content->image}}" class="img-fluid card-img-top">
|
||||
<div class="card shadow-sm mb-5 h-100" style="background-color: #f8f8f4;">
|
||||
<img src="{{$content->image()}}" class="img-fluid card-img-top">
|
||||
<div class="card-body">
|
||||
<h2 class="h5 fw-bolder">{{$content->title}}</h2>
|
||||
<h2 class="h5 fw-bolder mb-3">{{$content->title}}</h2>
|
||||
<p class="mt-2">{!! $content->vorschau !!}</p>
|
||||
</div>
|
||||
<div class="text-end pt-0 p-4">
|
||||
<a href="{{($content->path)}}" class="text-decoration-none">
|
||||
Mehr lesen ⟶
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<div class="col-12">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<a href="{{url('/neuigkeiten')}}" class="small text-center mb-5 mt-3 d-none">Ältere Nachrichten</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue