added lists
parent
e86f7f0ee5
commit
47c402b159
|
@ -45,25 +45,63 @@
|
||||||
<div class="col-lg-8 col-md-6 col-sm-12">
|
<div class="col-lg-8 col-md-6 col-sm-12">
|
||||||
<!-- Events Listing -->
|
<!-- Events Listing -->
|
||||||
<!-- Latest News -->
|
<!-- Latest News -->
|
||||||
|
@php($contents = filterByContentType("Aktuelles"))
|
||||||
|
@if($contents->isNotEmpty())
|
||||||
<div class="listing post-listing">
|
<div class="listing post-listing">
|
||||||
<header class="listing-header">
|
<header class="listing-header">
|
||||||
<h2 class="h3" style="color: #C71B1B">Neuigkeiten</h2>
|
<h2 class="h3" style="color: #C71B1B">Neuigkeiten</h2>
|
||||||
</header>
|
</header>
|
||||||
<section class="listing-cont">
|
<section class="listing-cont">
|
||||||
<ul>
|
<br>
|
||||||
</ul>
|
<div class="row mb-5">
|
||||||
|
@foreach($contents as $content)
|
||||||
|
<div class="col-12 col-md-6">
|
||||||
|
<div class="card shadow-md mb-4 rounded-top" >
|
||||||
|
<img src="https://picsum.photos/300/150" class="card-img-top">
|
||||||
|
<div class="card-body">
|
||||||
|
<h2 class="h3">{{$content->title}}</h2>
|
||||||
|
<span class="text-muted mb-3">{{$content->created_at}}</span>
|
||||||
|
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus architecto autem beatae, delectus dignissimos dolore dolorum, eius explicabo illo illum ipsam laborum libero mollitia neque quis repellendus, suscipit veritatis voluptatem!</p>
|
||||||
|
<div class="text-end">
|
||||||
|
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@php($contents = filterByContentType("Wettbewerb"))
|
||||||
|
@if($contents->isNotEmpty())
|
||||||
<div class="listing events-listing">
|
<div class="listing events-listing">
|
||||||
<header class="listing-header">
|
<header class="listing-header">
|
||||||
<h2 class="h3" style="color: #C71B1B">Wettbewerbe</h2>
|
<h2 class="h3" style="color: #C71B1B">Wettbewerbe</h2>
|
||||||
</header>
|
</header>
|
||||||
<section class="listing-cont">
|
<section class="listing-cont">
|
||||||
<ul>
|
<br>
|
||||||
</ul>
|
<div class="row mb-5">
|
||||||
|
@foreach($contents as $content)
|
||||||
|
<div class="col-12 col-md-6">
|
||||||
|
<div class="card shadow-md mb-4 rounded-top" >
|
||||||
|
<img src="https://picsum.photos/300/150" class="card-img-top">
|
||||||
|
<div class="card-body">
|
||||||
|
<h2 class="h3">{{$content->title}}</h2>
|
||||||
|
<span class="text-muted mb-3">{{$content->created_at}}</span>
|
||||||
|
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus architecto autem beatae, delectus dignissimos dolore dolorum, eius explicabo illo illum ipsam laborum libero mollitia neque quis repellendus, suscipit veritatis voluptatem!</p>
|
||||||
|
<div class="text-end">
|
||||||
|
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<!-- Start Sidebar -->
|
<!-- Start Sidebar -->
|
||||||
<div class="col-lg-4 col-md-6 col-sm-12">
|
<div class="col-lg-4 col-md-6 col-sm-12">
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row mb-5">
|
<div class="row mb-5">
|
||||||
@foreach($contents as $content)
|
@foreach($contents as $content)
|
||||||
|
|
||||||
<div class="col-12 col-md-4">
|
<div class="col-12 col-md-4">
|
||||||
<div class="card shadow-md mb-4 rounded-top" >
|
<div class="card shadow-md mb-4 rounded-top" >
|
||||||
<img src="https://picsum.photos/300/150" class="card-img-top">
|
<img src="https://picsum.photos/300/150" class="card-img-top">
|
||||||
|
|
|
@ -4,11 +4,5 @@
|
||||||
"value": "",
|
"value": "",
|
||||||
"type": "date",
|
"type": "date",
|
||||||
"required": true
|
"required": true
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Filter Fields",
|
|
||||||
"type": "array",
|
|
||||||
"required": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in New Issue