2021-08-26 10:02:33 +00:00
|
|
|
@extends('template.'.config('settings.template').'.content.master')
|
|
|
|
@section('content')
|
2021-09-16 11:32:24 +00:00
|
|
|
<div class="row" style="padding-top: 60px;">
|
|
|
|
<div class="col-xs-12">
|
2021-11-29 18:33:43 +00:00
|
|
|
<h1 class="mt-2">{{ $list->name }}</h1>
|
2021-09-16 11:32:24 +00:00
|
|
|
<br>
|
2021-11-29 18:33:43 +00:00
|
|
|
@if (isset($list))
|
|
|
|
{{ $list->description }}
|
2021-09-16 11:32:24 +00:00
|
|
|
@endif
|
2021-08-26 10:02:33 +00:00
|
|
|
</div>
|
2021-09-16 11:32:24 +00:00
|
|
|
</div>
|
2021-08-26 10:02:33 +00:00
|
|
|
<section>
|
|
|
|
<div class="row">
|
2021-11-30 18:29:25 +00:00
|
|
|
@foreach($contents as $content)
|
2021-09-17 08:25:27 +00:00
|
|
|
<div class="col-12 col-md-4 pb-5">
|
|
|
|
<div class="card h-100 shadow-sm" style="background-color: #f8f8f8;">
|
2021-11-30 18:29:25 +00:00
|
|
|
@if ($content->image)
|
|
|
|
<img class="rounded-top img-fluid" src="{{ asset('uploads/'.$content->image) }}">
|
2021-09-16 10:36:51 +00:00
|
|
|
@else
|
|
|
|
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">
|
|
|
|
@endif
|
2021-08-26 10:02:33 +00:00
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
2021-09-16 10:36:51 +00:00
|
|
|
<div class="col-12">
|
2021-08-26 10:02:33 +00:00
|
|
|
<h5 class="card-title" style="margin-top: 20px;">
|
2021-11-30 18:29:25 +00:00
|
|
|
<a href="{{ route_content($content) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
|
|
|
{{$content->title}}
|
2021-08-26 10:02:33 +00:00
|
|
|
</a>
|
|
|
|
</h5>
|
|
|
|
</div>
|
2021-09-16 10:36:51 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($nach->created_at))}}"> {{ $nach->created_at->diffForHumans() }}</small>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 mt-2">
|
2021-11-30 18:29:25 +00:00
|
|
|
{!! isset($content->data_fields['beschreibung'])?$content->data_fields['beschreibung']:'keine Angaben' !!}
|
2021-08-26 10:02:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-29 18:33:43 +00:00
|
|
|
<div class="card-footer text-end">
|
2021-11-30 18:29:25 +00:00
|
|
|
<a class="btn btn-sm btn-ci" href="{{ route_content($content) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
|
2021-11-29 18:33:43 +00:00
|
|
|
Mehr lesen
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
|
|
|
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</div>
|
2021-08-26 10:02:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-29 18:33:43 +00:00
|
|
|
{!! $contents->render() !!}
|
2021-08-26 10:02:33 +00:00
|
|
|
|
2021-09-16 15:25:12 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
|
2021-08-26 10:02:33 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
|
|
@section('scripts')
|
2021-09-16 10:36:51 +00:00
|
|
|
|
2021-08-26 10:02:33 +00:00
|
|
|
@stop
|