limit results on home
parent
2193725086
commit
2c9e945dcc
|
@ -1,4 +1,4 @@
|
|||
<link rel="stylesheet" href="{{asset('template/css/bootstrap.min.css')}}" >
|
||||
<link rel="stylesheet" href="{{asset('template/css/app.css?v=13')}}" >
|
||||
<link rel="stylesheet" href="{{asset('template/css/app.css?v=14')}}" >
|
||||
|
||||
|
||||
|
|
|
@ -102,15 +102,15 @@
|
|||
<section class="mt-2">
|
||||
<div class="row">
|
||||
<h2 id="news" class="mt-5 mb-4">Aktuelle <strong>Neuigkeiten</strong></h2>
|
||||
@foreach($nachrichten as $nach)
|
||||
<div class="col-12 col-md-4" style="padding-bottom: 1rem;">
|
||||
@foreach($nachrichten->take(3) as $nach)
|
||||
<div class="col-12 col-md-4 mb-4" >
|
||||
<div class="card h-100" style="background-color: #f8f8f8;">
|
||||
@if ($nach->image)
|
||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
|
||||
@else
|
||||
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">
|
||||
|
||||
@endif
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
|
||||
|
@ -208,7 +208,6 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12 text-center">
|
||||
<br>
|
||||
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>
|
||||
<br>
|
||||
<br>
|
||||
|
|
|
@ -17,15 +17,6 @@
|
|||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<div class="row">
|
||||
|
||||
|
@ -33,8 +24,8 @@
|
|||
@foreach($nachrichten as $nach)
|
||||
|
||||
|
||||
<div class="col-12 col-md-4 pb-1">
|
||||
<div class="card h-100" style="background-color: #f8f8f8;">
|
||||
<div class="col-12 col-md-4 pb-5">
|
||||
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
||||
@if ($nach->image)
|
||||
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
|
||||
@else
|
||||
|
@ -44,8 +35,6 @@
|
|||
<div class="card-body">
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div class="col-12">
|
||||
<h5 class="card-title" style="margin-top: 20px;">
|
||||
<a href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
||||
|
|
Loading…
Reference in New Issue