Benjamin Völkl 2022-09-04 20:11:05 +02:00
parent dd7e04c465
commit 5404339b00
1 changed files with 2 additions and 74 deletions

View File

@ -4,11 +4,11 @@
<section>
<div class="row">
<div class="col">
<h1>Produkte</h1>
<h1>{{ $list->name }}</h1>
<br>

<br>
<p class="fs-5">Finden Sie hier eine grosse Auswahl an Solar Produkten</p>
<p class="fs-5">{{ $list->description }}</p>
<br>
<br>
</div>
@ -40,85 +40,13 @@
</div>


<div class="row my-5">

<h2 class="mb-4">Befestigungsmaterial</h2>

@foreach($contents as $content)

<div class="col-12 col-md-4 mb-5">
<a href="{{route_content($content)}}" class="text-decoration-none">
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@else
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
@endif
<div class="card-body">
<h5 class="card-title">{{$content->title}}</h5>
</div>
</div>
</a>


</div>
@endforeach

</div>


<div class="row my-5">

<h2 class="mb-4">Strommessung</h2>

@foreach($contents as $content)

<div class="col-12 col-md-4 mb-5">
<a href="{{route_content($content)}}" class="text-decoration-none">
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@else
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
@endif
<div class="card-body">
<h5 class="card-title">{{$content->title}}</h5>
</div>
</div>
</a>


</div>
@endforeach

</div>


<div class="row my-5">

<h2 class="mb-4">Kabel & Stecker</h2>

@foreach($contents as $content)

<div class="col-12 col-md-4 mb-5">
<a href="{{route_content($content)}}" class="text-decoration-none">
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">
@if(empty($content->image))
<img src="https://picsum.photos/200/100" class="card-img-top img-fluid" alt="...">
@else
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
@endif
<div class="card-body">
<h5 class="card-title">{{$content->title}}</h5>
</div>
</div>
</a>


</div>
@endforeach

</div>
</section>
</div>
@stop