|
2 | 2 | <div class="flex flex-col gap-8"> |
3 | 3 |
|
4 | 4 | <div class="hidden md:flex flex-col items-start gap-4 md:gap-18 md:flex-row md:items-start md:justify-start mx-auto md:mx-0"> |
5 | | - <div> |
6 | | - <h2 class="text-black font-semibold">{{ __('Services') }}</h2> |
7 | | - <ul class="mt-1 list-none text-base"> |
8 | | - @if(!empty($services) && $services->count()) |
9 | | - @foreach($services as $service) |
10 | | - <li> |
11 | | - <x-a :href="$service->url ?? localized_route('services.show',['locale' => app()->getLocale(),'service' => $service])" |
12 | | - label="{{ $service->name }}" :target="$service->url ? '_blank' : '_self'" |
13 | | - classAttributes="text-lg"/> |
14 | | - </li> |
15 | | - @endforeach |
16 | | - @endif |
17 | | - </ul> |
18 | | - </div> |
| 5 | + @if($configuration->section_services) |
| 6 | + <div> |
| 7 | + <h2 class="text-black font-semibold">{{ __('Services') }}</h2> |
| 8 | + <ul class="mt-1 list-none text-base"> |
| 9 | + @if(!empty($services) && $services->count()) |
| 10 | + @foreach($services as $service) |
| 11 | + <li> |
| 12 | + <x-a :href="$service->url ?? localized_route('services.show',['locale' => app()->getLocale(),'service' => $service])" |
| 13 | + label="{{ $service->name }}" :target="$service->url ? '_blank' : '_self'" |
| 14 | + classAttributes="text-lg"/> |
| 15 | + </li> |
| 16 | + @endforeach |
| 17 | + @endif |
| 18 | + </ul> |
| 19 | + </div> |
| 20 | + @endif |
| 21 | + |
| 22 | + @if($configuration->section_products) |
| 23 | + <div> |
| 24 | + <h2 class="text-black font-semibold">{{ __('Products') }}</h2> |
| 25 | + <ul class="mt-1 list-none text-base"> |
| 26 | + @if(!empty($products) && $products->count()) |
| 27 | + @foreach($products as $product) |
| 28 | + <li> |
| 29 | + <x-a :href="$product->url ?? localized_route('products.show',['locale' => app()->getLocale(),'product' => $product])" |
| 30 | + label="{{ $product->name }}" :target="$product->url ? '_blank' : '_self'" |
| 31 | + classAttributes="text-lg"/> |
| 32 | + </li> |
| 33 | + @endforeach |
| 34 | + @endif |
| 35 | + </ul> |
| 36 | + </div> |
| 37 | + @endif |
19 | 38 |
|
20 | | - <div> |
21 | | - <h2 class="text-black font-semibold">{{ __('Products') }}</h2> |
22 | | - <ul class="mt-1 list-none text-base"> |
23 | | - @if(!empty($products) && $products->count()) |
24 | | - @foreach($products as $product) |
25 | | - <li> |
26 | | - <x-a :href="$product->url ?? localized_route('products.show',['locale' => app()->getLocale(),'product' => $product])" |
27 | | - label="{{ $product->name }}" :target="$product->url ? '_blank' : '_self'" |
28 | | - classAttributes="text-lg"/> |
29 | | - </li> |
30 | | - @endforeach |
31 | | - @endif |
32 | | - </ul> |
33 | | - </div> |
34 | 39 | <div> |
35 | 40 | <h2 class="text-black font-semibold">{{ __('paperflakes AG') }}</h2> |
36 | 41 | <ul class="mt-1 list-none text-base"> |
|
0 commit comments