Benjamin Völkl 2022-09-04 20:06:54 +02:00
parent 97041f831d
commit dd7e04c465
5 changed files with 264 additions and 36 deletions

View File

@ -2,7 +2,11 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/content/lists/pv-brands.blade.php" 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/index.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/index.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>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -36,7 +40,7 @@
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/content/pages" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/content/lists" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
@ -59,7 +63,7 @@
<workItem from="1662027309116" duration="11385000" />
<workItem from="1662115692620" duration="1346000" />
<workItem from="1662283223529" duration="4523000" />
<workItem from="1662312260637" duration="1202000" />
<workItem from="1662312260637" duration="2484000" />
</task>
<servers />
</component>

View File

@ -43,6 +43,9 @@

</div>

@isset($content->price_5 )


<p>
<button class="btn btn-link text-muted text-decoration-none" type="button" data-bs-toggle="collapse" data-bs-target="#collapseWidthExample" aria-expanded="false" aria-controls="collapseWidthExample">
<svg style="fill: currentColor; width: 20px; margin-right: 2px; margin-bottom: 2px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M349.66 173.65l-11.31-11.31c-3.12-3.12-8.19-3.12-11.31 0l-164.7 164.69c-3.12 3.12-3.12 8.19 0 11.31l11.31 11.31c3.12 3.12 8.19 3.12 11.31 0l164.69-164.69c3.13-3.12 3.13-8.18.01-11.31zM240 192c0-26.47-21.53-48-48-48s-48 21.53-48 48 21.53 48 48 48 48-21.53 48-48zm-64 0c0-8.83 7.19-16 16-16s16 7.17 16 16-7.19 16-16 16-16-7.17-16-16zm144 80c-26.47 0-48 21.53-48 48s21.53 48 48 48 48-21.53 48-48-21.53-48-48-48zm0 64c-8.81 0-16-7.17-16-16s7.19-16 16-16 16 7.17 16 16-7.19 16-16 16zm192-80c0-35.5-19.4-68.2-49.6-85.5 9.1-33.6-.3-70.4-25.4-95.5s-61.9-34.5-95.5-25.4C324.2 19.4 291.5 0 256 0s-68.2 19.4-85.5 49.6c-33.6-9.1-70.4.3-95.5 25.4s-34.5 61.9-25.4 95.5C19.4 187.8 0 220.5 0 256s19.4 68.2 49.6 85.5c-9.1 33.6.3 70.4 25.4 95.5 26.5 26.5 63.4 34.1 95.5 25.4 17.4 30.2 50 49.6 85.5 49.6s68.1-19.4 85.5-49.6c32.7 8.9 69.4.7 95.5-25.4 25.1-25.1 34.5-61.9 25.4-95.5 30.2-17.3 49.6-50 49.6-85.5zm-91.1 68.3c5.3 11.8 29.5 54.1-6.5 90.1-28.9 28.9-57.5 21.3-90.1 6.5C319.7 433 307 480 256 480c-52.1 0-64.7-49.5-68.3-59.1-32.6 14.8-61.3 22.2-90.1-6.5-36.8-36.7-10.9-80.5-6.5-90.1C79 319.7 32 307 32 256c0-52.1 49.5-64.7 59.1-68.3-5.3-11.8-29.5-54.1 6.5-90.1 36.8-36.9 80.8-10.7 90.1-6.5C192.3 79 205 32 256 32c52.1 0 64.7 49.5 68.3 59.1 11.8-5.3 54.1-29.5 90.1 6.5 36.8 36.7 10.9 80.5 6.5 90.1C433 192.3 480 205 480 256c0 52.1-49.5 64.7-59.1 68.3z"/></svg>
@ -59,22 +62,36 @@
</tr>
</thead>
<tbody>

@isset($content->price_5)
<tr>
<td>ab 5 Stck.</td>
<td>{{$content->data_fields['preis_5']}} €</td>
</tr>
@endisset

@isset($content->price_10)
<tr>
<td>ab 10 Stck.</td>
<td>ab 5 Stck.</td>
<td>{{$content->data_fields['preis_10']}} €</td>
</tr>
@endisset

@isset($content->price_palette)
<tr>
<td>Palette ({{$content->data_fields['module_pro_palette']}} Stück)</td>
<td>{{$content->data_fields['preis_palette']}} €</td>
</tr>
@endisset


</tbody>
</table>
</div>
</div>
@endisset






View File

@ -47,7 +47,7 @@
<a href="{{route_content($content)}}" class="text-decoration-none">
<div class="card shadow-sm" style="background-color: #546c8a; color: white;">

<img src="{{$content->image}}" class="card-img-top img-fluid" alt="...">
<img src="{{$content->image}}" class="card-img-top img-fluid" alt="{{$content->title}}">

<div class="card-body">


View File

@ -13,11 +13,94 @@
<br>
</div>
</div>
<div class="row">
<div class="row my-5">

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

@foreach($contents as $content)

<div class="col-12 col-md-6 mb-5">
<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">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))

View File

@ -0,0 +1,124 @@
@layout('content.master')
@section('content')
<div class="container">
<section>
<div class="row">
<div class="col">
<h1>Produkte</h1>
<br>

<br>
<p class="fs-5">Finden Sie hier eine grosse Auswahl an Solar Produkten</p>
<br>
<br>
</div>
</div>
<div class="row my-5">

<h2 class="mb-4">Solarmodule</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">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