38 lines
1.7 KiB
PHP
38 lines
1.7 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">{{ $list->description }}</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="{{ $content->image() }}" 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
|