laeufermeeting-theme/content/lists/wettbewerb.blade.php

46 lines
1.5 KiB
PHP

@extends('template.'.config('settings.template').'.content.master')
@section('head')
<title>{{$list->name}}</title>
@stop
@section('content')
<div class="section">
<div class="container">
<div class="row">
<div class="col-12">
<br>
<h1 class="mt-5">Wettbewerbe</h1>
<p class="fs-5 mb-5"></p>
</div>
</div>
<div class="listing events-listing">
<section class="listing-cont mb-5">
<ul>
@foreach($contents as $content)
<li class="item event-item display-flex align-items-center">
<div class="event-date"> <span class="date">{{date("d", strtotime($content->datum))}}.</span> <span class="month">{{ Carbon\Carbon::parse($content->datum)->locale('de')->monthName }}</span> </div>
<div class="event-detail">
<h4><a href="{{$content->path}}">{{$content->title}}</a></h4>
</div>
<div class="to-event-url" style="height: 54px;">
<a href="{{$content->path}}" class="btn btn-default btn-sm">Ansehen</a>
</div>
</li>
@endforeach
</ul>
</section>
</div>
</div>
</div>
@stop