From 42209d237d8d37474fdf04608fc41f184c674c64 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 1 Aug 2026 16:13:29 +0000 Subject: [PATCH] Deploy --- src/components/sections/ContactSection.tsx | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/components/sections/ContactSection.tsx diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..fa87794 --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,33 @@ +'use client' +import Image from 'next/image' +import { useVulaContent } from '@/hooks/useVulaContent' + +export default function ContactSection() { + const { items, loading } = useVulaContent('business_hours') + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+
+ {items.map((item) => { + const d = item.data as Record + const imageUrl = d.image + const title = d.title || d.name || d.headline + const body = d.body || d.description || d.excerpt || d.bio + return ( +
+ {imageUrl &&
{title
} +
+ {title &&

{title}

} + {body &&

{body}

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