From 3b238d23ccd7922827329c859efe82bf230c6d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Thu, 30 Oct 2025 15:26:23 -0300 Subject: [PATCH] Add Team Block Component: Created a new Blade component for displaying team members, including support for section titles, subtitles, member details, and social links. Implemented responsive design using Tailwind CSS. --- .../views/components/blocks/team.blade.php | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 resources/views/components/blocks/team.blade.php 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 +
+
+