Benjamin Völkl 2022-09-05 14:10:05 +02:00
parent bec88d0cff
commit 5c4586651a
2 changed files with 3 additions and 27 deletions

View File

@ -3,7 +3,7 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="gustavo luigi helped me with that"> <list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="gustavo luigi helped me with that">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/content/contents/solarmodule.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/contents/solarmodule.blade.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/content/lists/produkte.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/lists/produkte.blade.php" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@ -44,7 +44,7 @@


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


@foreach($contents as $content) @foreach(filterByContentType($contents, "befestigung") as $content)


<div class="col-12 col-md-4 mb-5"> <div class="col-12 col-md-4 mb-5">
<a href="{{route_content($content)}}" class="text-decoration-none"> <a href="{{route_content($content)}}" class="text-decoration-none">
@ -67,38 +67,14 @@
</div> </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"> <div class="row my-5">


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


@foreach($contents as $content) @foreach(filterByContentType($contents, "Kabel") as $content)


<div class="col-12 col-md-4 mb-5"> <div class="col-12 col-md-4 mb-5">
<a href="{{route_content($content)}}" class="text-decoration-none"> <a href="{{route_content($content)}}" class="text-decoration-none">