diff --git a/resources/views/components/blocks/team.blade.php b/resources/views/components/blocks/team.blade.php new file mode 100644 index 0000000..40ec434 --- /dev/null +++ b/resources/views/components/blocks/team.blade.php @@ -0,0 +1,76 @@ +@props(['data' => []]) + +
+
+ @if(!empty($data['section_title']) || !empty($data['section_subtitle'])) +
+
+ @if(!empty($data['section_badge'])) +

{{ $data['section_badge'] }}

+ @endif + + @if(!empty($data['section_title'])) +

+ {{ $data['section_title'] }} +

+ @endif + + @if(!empty($data['section_subtitle'])) +

{{ $data['section_subtitle'] }}

+ @endif +
+
+ @endif + + @if(!empty($data['members'])) +
+ @foreach($data['members'] as $member) +
+
+ @if(!empty($member['photo'])) +
+ {{ $member['name'] ?? '' }} +
+ @endif + + @if(!empty($member['name'])) +

{{ $member['name'] }}

+ @endif + + @if(!empty($member['position'])) +

{{ $member['position'] }}

+ @endif + + @if(!empty($member['bio'])) +

{{ $member['bio'] }}

+ @endif + + @if(!empty($member['social'])) + + @endif +
+
+ @endforeach +
+ @endif +
+
+