-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.blade.php
More file actions
79 lines (69 loc) · 3.31 KB
/
index.blade.php
File metadata and controls
79 lines (69 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<x-app-layout :page="$page">
<x-h1 :title="__('About us')"/>
{{-- <x-section>Lorem Ipsums Lorem Ipsum Lorem Ipsum</x-section>--}}
<div class="space-y-12">
<x-section>
<x-h2 :title="__('paperflakes AG')"/>
<div class="space-y-6">
@if(!empty($contacts->employee_services) && $contacts->employee_services->count())
<x-h3 :title="__('Services')"/>
<x-list-grid>
@foreach($contacts->employee_services as $contact)
<x-list-image-card
:name="$contact->name"
:role="$contact->role"
:icons="$contact->icons"
:image="$contact->image"/>
@endforeach
</x-list-grid>
@endif
@if(!empty($contacts->employee_services) && $contacts->employee_services->count())
<x-h3 :title="__('Products')"/>
<x-list-grid>
@foreach($contacts->employee_products as $contact)
<x-list-image-card
:name="$contact->name"
:role="$contact->role"
:icons="$contact->icons"
:image="$contact->image"/>
@endforeach
</x-list-grid>
@endif
@if(!empty($contacts->employee_administration) && $contacts->employee_administration->count())
<x-h3 :title="__('Administration')"/>
<x-list-grid>
@foreach($contacts->employee_administration as $contact)
<x-list-image-card :name="$contact->name" :role="$contact->role" :icons="$contact->icons"
:image="$contact->image"/>
@endforeach
</x-list-grid>
@endif
</div>
</x-section>
@if(!empty($contacts->employee_services) && $contacts->employee_services->count())
<x-section>
<x-h2 :title="__('Collaboration')"/>
<x-list-grid>
@foreach($contacts->collaborations as $contact)
<x-list-image-card
:name="$contact->name"
:role="$contact->role"
:icons="$contact->icons"
:image="$contact->image"/>
@endforeach
</x-list-grid>
</x-section>
@endif
<x-section>
<x-h2 :title="__('Board of directors')"/>
<x-list-grid class-attributes="mt-2 grid grid-cols-1 lg:grid-cols-2 gap-4">
@foreach($contacts->board_members as $contact)
<x-list-image-card
:name="$contact->name"
:image="$contact->image"
image-container-class-attributes="h-24 w-24 flex-shrink-0 overflow-hidden"/>
@endforeach
</x-list-grid>
</x-section>
</div>
</x-app-layout>