immobilien-sparrer/content/contents/news.blade.php

53 lines
1.3 KiB
PHP
Raw Normal View History

2022-10-19 14:42:20 +00:00
@layout("content.master")
@section('head')
<title>{{$content->title}}</title>
2022-10-20 08:52:57 +00:00
2022-10-19 14:42:20 +00:00
<meta name="product-id" content="{{$content->id}}">
@stop
@section('content')
<div class="container">
2022-10-20 08:52:57 +00:00
2022-10-19 14:42:20 +00:00
<section>
<div class="row">
2022-10-20 08:52:57 +00:00
<div class="col-12">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb" >
<ol class="breadcrumb mb-5">
<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
<li class="breadcrumb-item"><a href="{{url('/aktuelles')}}">Aktuelles</a></li>
<li class="breadcrumb-item active" aria-current="page">{{$content->title}}</li>
</ol>
</nav>
2022-10-19 14:42:20 +00:00
</div>
2022-10-20 08:52:57 +00:00
<div class="col-12 col-lg-8 offset-lg-2">
2022-10-19 14:42:20 +00:00
2022-10-20 08:52:57 +00:00
<div class="text-end text-muted mb-3">
{{$content->created_at}}
2022-10-19 14:42:20 +00:00
</div>
2022-10-20 08:52:57 +00:00
@if(empty($content->image))
<img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border" alt="...">
@else
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
@endif
<br>
<br>
<h1 class="h2">{{$content->title}}</h1>
<br>
2022-10-19 14:42:20 +00:00
2022-10-20 08:52:57 +00:00
<p class="fs-5">
{{$content->data_fields['text']}}
</p>
2022-10-19 14:42:20 +00:00
</div>
2022-10-20 08:52:57 +00:00
2022-10-19 14:42:20 +00:00
</section>
</div>
@stop
@section('scripts')
<script src="{{storage('assets/js/product.js')}}"></script>
@stop