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

38 lines
1.9 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>
<br>
<br>
<br>
<h1>Neuigkeiten</h1>
<p class="fs-5 mb-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor fuga itaque libero pariatur quibusdam? Aperiam, dolor doloremque eligendi eos esse fuga impedit incidunt magnam nisi repellendus saepe sapiente? Eveniet, qui?</p>
</div>
</div>
<div class="row mb-5">
@foreach($contents as $content)
<div class="col-12 col-md-4">
<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>
</div>
</div>
@stop