master
parent
3b1aee9fba
commit
8c7ad70283
|
@ -7,8 +7,6 @@
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="pt-3 pb-2 mb-5" style="background-color: {{$_primary_ci_color}}">
|
<div class="pt-3 pb-2 mb-5" style="background-color: {{$_primary_ci_color}}">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
|
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
|
||||||
<ol class="breadcrumb text-decoration-none">
|
<ol class="breadcrumb text-decoration-none">
|
||||||
<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
|
<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
|
||||||
|
@ -24,9 +22,9 @@
|
||||||
@elseif(session()->has('error'))
|
@elseif(session()->has('error'))
|
||||||
<div class="alert alert-danger">{{session()->get('error')}}</div>
|
<div class="alert alert-danger">{{session()->get('error')}}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-5">
|
<div class="col-12 col-lg-5">
|
||||||
|
|
||||||
<x-img src="{{ $content->image() }}" class="rounded img-fluid shadow-sm" alt="Bild {{$content->title}} "/>
|
<x-img src="{{ $content->image() }}" class="rounded img-fluid shadow-sm" alt="Bild {{$content->title}} "/>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
@ -151,17 +149,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row mb-5">
|
<div class="row mb-5">
|
||||||
<div class="col-12 fs-5 mb-5">
|
<div class="col-12 fs-5 mb-5">
|
||||||
<h2 class="mb-4 mt-5 h3">Produktbeschreibung</h2>
|
<h2 class="mb-4 mt-5 h3">Produktbeschreibung</h2>
|
||||||
{!! $content->beschreibung !!}
|
{!! $content->beschreibung !!}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@isset($content->produktbilder)
|
@isset($content->produktbilder)
|
||||||
|
@ -174,12 +166,9 @@
|
||||||
<x-img src="{{$produktbild}}" class="rounded img-fluid border mb-3"/>
|
<x-img src="{{$produktbild}}" class="rounded img-fluid border mb-3"/>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@endisset
|
@endisset
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; }))
|
@php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; }))
|
||||||
|
|
||||||
@if($otherContents->isNotEmpty())
|
@if($otherContents->isNotEmpty())
|
||||||
|
@ -189,7 +178,6 @@
|
||||||
<h2 class="mb-4 mt-5 h3">Weitere Produkte</h2>
|
<h2 class="mb-4 mt-5 h3">Weitere Produkte</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@foreach($otherContents->take(3) as $otherContent)
|
@foreach($otherContents->take(3) as $otherContent)
|
||||||
|
|
||||||
<div class="col-12 col-md-4 mb-3">
|
<div class="col-12 col-md-4 mb-3">
|
||||||
|
@ -213,5 +201,5 @@
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
@section('scripts')
|
@section('scripts')
|
||||||
<script type="module" src="{{storage('js/product.js')}}"></script>
|
<script type="module" src="{{storage('assets/js/product.js')}}"></script>
|
||||||
@stop
|
@stop
|
||||||
|
|
Loading…
Reference in New Issue