From 66c6cb00234a5097e46915f35164f3c11d56ffa0 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:12 +0000 Subject: [PATCH] Deploy --- .../sections/AttorneyProfilesSection.tsx | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/components/sections/AttorneyProfilesSection.tsx diff --git a/src/components/sections/AttorneyProfilesSection.tsx b/src/components/sections/AttorneyProfilesSection.tsx new file mode 100644 index 0000000..0fc5e16 --- /dev/null +++ b/src/components/sections/AttorneyProfilesSection.tsx @@ -0,0 +1,59 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' +import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card' +import Badge from '@/components/ui/Badge' + +export default function AttorneyProfilesSection() { + const { items, loading } = useEmDashContent('team_members') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+

Our Attorneys

+

+ With 32 years of combined experience, Mashobane & Associates brings + tenacity, legal acumen, and a deep commitment to every client we represent. +

+
+ {items.map((item) => { + const d = item.data as { name?: string; role?: string; bio?: string; image?: string } + return ( + +
+ {d.image && ( + {d.name + )} +
+ + {d.name} + {d.role && {d.role}} + + +

{d.bio}

+
+
+ ) + })} +
+
+
+ ) +}