finkenhammer-theme/content/lists/aktuelles.blade.php

87 lines
2.6 KiB
PHP
Raw Normal View History

2021-09-20 09:33:11 +00:00
@extends('template.'.config('settings.template').'.content.master')
@section('content')
<div class="breadcrumbs">
<div class="container">
<div class="row">
<div class="col-xs-12">
<nav>
<ol class="breadcrumb">
<li><a href="{{ url('/') }}">Startseite</a></li>
<li class="active">Aktuelles</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12">
<hr class="title__divider">
2022-02-04 08:18:58 +00:00
<h1>{{ $list->name }}</h1>
2021-09-20 09:33:11 +00:00
<br>
<br>
<br>
<br>
<div class="row">
2022-02-04 08:15:51 +00:00
@foreach($contents as $indexContent => $content)
2021-09-20 09:33:11 +00:00
<div class="col-12 col-md-6 col-lg-4" style="margin-bottom: 30px;">
2022-02-04 08:18:58 +00:00
<div class="card h-100 shadow-lg" id="news-{{$content->id}}">
2021-09-20 09:33:11 +00:00
@if ($nach->image)
2022-02-04 08:18:58 +00:00
<img src="{{ asset($content->image) }}" class="img-responsive card-img-top">
2021-09-20 09:33:11 +00:00
@endif
<div class="card-body">
<h3 class="card-title">
{{$nach->title}}
</h3>
<h7 class="card-subtitle mb-2">
2022-02-04 08:18:58 +00:00
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($content->created_at))}}</span>
2021-09-20 09:33:11 +00:00
</h7>
<p style="font-size: 16px;">
{!! isset($nach->additional_fields['4']) ? $nach->additional_fields['4'] : 'keine Angaben' !!}
</p>
</div>
<div class="card-footer text-right">
2022-02-04 08:18:58 +00:00
<a href="{{ route_content($content) }}" class="btn btn-sm btn-primary">Mehr lesen</a>
2021-09-20 09:33:11 +00:00
</div>
</div>
</div>
@endforeach
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
@stop