finkenhammer-theme/content/index.blade.php

83 lines
2.3 KiB
PHP
Raw Normal View History

2020-09-30 09:01:51 +00:00
@extends('template.'.\Setting::get('template', 'default').'.content.master')
@section('content')
<div class="jumbotron js--add-gradient">
<div class="container">
<div class="jumbotron__container">
<h2 class="jumbotron__subtitle">
Wir verkaufen auf 5 verschiedenen Märkte unser
</h2>
<h1 class="jumbotron__title">
Bio-Holzofenbrot
</h1>
</div>
</div>
</div>
<div class="container">
2020-10-19 13:50:01 +00:00
<div class="row">
<h1>Biohof Finkenhammer - Aktuelle Angebote und Informationen</h1>
2020-09-30 09:01:51 +00:00
2020-12-08 11:31:37 +00:00
<div class="col-xs-12">
<div class="banners--big">
Achtung!
<br>
Am 24.12.2020 sind wir Markt Weiden, Markt Burglengenfeld und Laden Finkenhammer. Bitte Ware vorbestellen!
</div>
</div>
2020-10-19 13:50:01 +00:00
</div>
<div class="row">
<div class="col-12">
<h2 id="aktuelles">Aktuelles</h2>
<br>
2020-09-30 09:01:51 +00:00
2020-10-19 13:50:01 +00:00
</div>
2020-09-30 09:01:51 +00:00
2020-10-19 13:50:01 +00:00
@foreach($nachrichten as $nach)
<div class="col-12 col-md-6 col-lg-4" style="margin-bottom: 80px;">
<div class="card h-100 shadow-lg" id="news-{{$nach->id}}">
@if ($nach->image)
<img src="{{ asset('uploads/' . $nach->image) }}" class="img-responsive">
@endif
<div class="card-body">
<h3 class="card-title">
{{$nach->title}}
</h3>
<h7 class="card-subtitle mb-2">
@if ($nach->user and $nach->user->public_author == 1)
<a class="text-dark" href="{{ route('author.get', [$nach->user->slug]) }}">
<img src="{{ $nach->user->gravatar() }}" width="32" class="rounded-circle">
{{ $nach->user->name }}</a> -
@endif
<span style="font-weight: normal " class="text-dark">{{date('d.m.Y H:i', strtotime($nach->created_at))}}</span>
</h7>
{!!Str::limit( $nach->nachrichten ,600)!!}
</div>
</div>
</div>
@endforeach
2020-09-30 09:01:51 +00:00
</div>
2020-10-19 13:50:01 +00:00
2020-09-30 09:01:51 +00:00
</div>
2020-10-19 13:50:01 +00:00
</div>
2020-09-30 09:01:51 +00:00
@stop