2020-09-24 10:04:46 +00:00
|
|
|
@extends('template.'.\Setting::get('template', 'default').'.content.master')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="section-sm bg-grey-lighter">
|
|
|
|
<div class="container text-center">
|
|
|
|
<h3 class="font-family-secondary">{{ $categoryModel->name }}</h3>
|
|
|
|
<p>{{ $categoryModel->description }}</p>
|
|
|
|
</div><!-- end container -->
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<!-- Blog section -->
|
|
|
|
<div class="section">
|
2020-09-24 10:04:46 +00:00
|
|
|
<div class="container">
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-sm-10 offset-sm-1 col-md-8 offset-md-2">
|
2020-09-24 10:04:46 +00:00
|
|
|
|
|
|
|
@foreach($nachrichten as $nach)
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="margin-bottom-50">
|
2020-09-24 10:04:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="margin-top-30">
|
|
|
|
<h5><a href="{{ route('nachrichten.get', [$nach->category->slug, $nach->slug]) }}">{{$nach->title}}</a></h5>
|
2020-09-24 10:04:46 +00:00
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="d-flex justify-content-between margin-bottom-10">
|
|
|
|
<div class="d-inline-flex">
|
|
|
|
<a class="font-family-tertiary font-small font-weight-normal uppercase" href="{{ route('category.get', [$nach->category->slug]) }}">{{ $nach->category->name}}</a>
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
2020-09-28 10:56:58 +00:00
|
|
|
<div class="d-inline-flex">
|
|
|
|
<span class="font-small">{{ $nach->created_at->diffForHumans() }}</span>
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
@if ($nach->image)
|
|
|
|
<div class="hoverbox-8 margin-bottom-40">
|
|
|
|
<img src="{{ asset('uploads/' . $nach->image) }}" alt="">
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
2020-09-28 10:56:58 +00:00
|
|
|
@endif
|
2020-09-24 10:04:46 +00:00
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<p>{!! $nach->nachrichten !!}</p>
|
|
|
|
<div class="margin-top-20">
|
|
|
|
<a class="button-text-1 float-right" href="{{ route('nachrichten.get', [$nach->category->slug, $nach->slug]) }}">Mehr lesen</a>
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-28 10:56:58 +00:00
|
|
|
</div>
|
2020-09-24 10:04:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
@endforeach
|
2020-09-24 10:04:46 +00:00
|
|
|
|
2020-09-28 10:56:58 +00:00
|
|
|
<!-- Pagination -->
|
|
|
|
<nav>
|
|
|
|
<ul class="pagination justify-content-center margin-top-70">
|
|
|
|
<li class="page-item"><a class="page-link" href="#">«</a></li>
|
|
|
|
<li class="page-item active"><a class="page-link" href="#">1</a></li>
|
|
|
|
<li class="page-item"><a class="page-link" href="#">2</a></li>
|
|
|
|
<li class="page-item"><a class="page-link" href="#">3</a></li>
|
|
|
|
<li class="page-item"><a class="page-link" href="#">»</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2020-09-24 10:04:46 +00:00
|
|
|
</div>
|
2020-09-28 10:56:58 +00:00
|
|
|
</div><!-- end row -->
|
|
|
|
</div><!-- end container -->
|
|
|
|
</div>
|
|
|
|
<!-- end Blog section -->
|
2020-09-24 10:04:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|