Gustavo Luigi 2023-10-30 05:21:40 -03:00
parent 3b1aee9fba
commit 8c7ad70283
1 changed files with 124 additions and 136 deletions

View File

@ -7,8 +7,6 @@
@section('content')
<div class="pt-3 pb-2 mb-5" style="background-color: {{$_primary_ci_color}}">
<div class="container">


<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb text-decoration-none">
<li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
@ -24,9 +22,9 @@
@elseif(session()->has('error'))
<div class="alert alert-danger">{{session()->get('error')}}</div>
@endif

<div class="row">
<div class="col-12 col-lg-5">

<x-img src="{{ $content->image() }}" class="rounded img-fluid shadow-sm" alt="Bild {{$content->title}} "/>
<br>
<br>
@ -151,17 +149,11 @@
</div>
</div>


<div class="row mb-5">
<div class="col-12 fs-5 mb-5">
<h2 class="mb-4 mt-5 h3">Produktbeschreibung</h2>
{!! $content->beschreibung !!}



</div>


</div>

@isset($content->produktbilder)
@ -174,12 +166,9 @@
<x-img src="{{$produktbild}}" class="rounded img-fluid border mb-3"/>
</div>
@endforeach

</div>
@endisset



@php($otherContents = filterByContentType("Produkte")->filter(function ($item) use ($content) { return $item->id != $content->id; }))

@if($otherContents->isNotEmpty())
@ -189,7 +178,6 @@
<h2 class="mb-4 mt-5 h3">Weitere Produkte</h2>
</div>


@foreach($otherContents->take(3) as $otherContent)

<div class="col-12 col-md-4 mb-3">
@ -213,5 +201,5 @@

@stop
@section('scripts')
<script type="module" src="{{storage('js/product.js')}}"></script>
<script type="module" src="{{storage('assets/js/product.js')}}"></script>
@stop