Benjamin Völkl 2021-02-09 12:23:15 -03:00
parent 37f305121b
commit aeaa04fe5f
1 changed files with 53 additions and 0 deletions

View File

@ -25,6 +25,59 @@

</p>
</div>


@foreach($nachrichten as $nach)



<div class="col-sm-4" style="padding-bottom: 1rem;">

<div class="card" style="background-color: #f8f8f8;">
<div class="card-body">
<div class="row">

<div class="col-12 col-lg-6">
<h5 class="card-title" style="margin-top: 20px;">
<a href="{{ route_content($nach) }}">
{{$nach->title}}
</a>
</h5>

</div>

<div class="col-6 col-lg-1">
<br>
<h6 class="card-subtitle mb-2 text-muted">{{date('d.m.Y', strtotime($nach->created_at))}}</h6>

</div>
<div class="col-6 col-lg-2 text-end ">
<br>
<a class="btn btn-ci" href="{{ route_content($nach) }}">
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>
</div>




</div>
</div>
</div>


@endforeach



{!! $nachrichten->render() !!}

</div>