Benjamin Völkl 2021-09-20 10:34:52 +02:00
parent a21572c92d
commit c263b6341f
2 changed files with 8 additions and 6 deletions

View File

@ -33,15 +33,14 @@
<div class="row">
<div class="col-12">
<h2 id="aktuelles">Aktuelles</h2>
<br>

</div>

@foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach)
<div class="col-12 col-md-6 col-lg-4">
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
<div class="card h-100 shadow-lg mb-5" id="news-{{$nach->id}}">
@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive">
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive card-img-top">
@endif
<div class="card-body">
<h3 class="card-title">

View File

@ -21,7 +21,7 @@

<div class="container">
<div class="row">
<div class="col-sm-3 hidden-xss">
<div class="col-sm-3">
<h3 id="logo"><span class="light">Städte</span></h3>
<hr class="sidebar-divider">
<div class="features-menu js--affix-menu">
@ -56,7 +56,11 @@
<div class="col-sm-4 push-down-50">

<a href="{{ route_content($nach) }}">
<img class="gallery" alt="Gallery image" src="{{asset('template/images/donaumarkt-regensburg-3.jpg')}}"">
@if ($nach->image)
<img class="gallery img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
@else
<img class="gallery img-fluid" src="{{ asset('template/images/donaumarkt-regensburg-3.jpg') }}">
@endif
<h5 style="margin-top: 0px;">{{$nach->title}}</h5>
</a>

@ -80,7 +84,6 @@


</div>
<hr class="divider">
</div>
</div>
</div>