From 35b78e9757c59deab84c65c0e6d7dfa2c6bb9d0e Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:38:55 +0000 Subject: [PATCH] Deploy --- src/components/sections/GuestTalesSection.tsx | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/components/sections/GuestTalesSection.tsx diff --git a/src/components/sections/GuestTalesSection.tsx b/src/components/sections/GuestTalesSection.tsx new file mode 100644 index 0000000..6260908 --- /dev/null +++ b/src/components/sections/GuestTalesSection.tsx @@ -0,0 +1,58 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card' +import { Quote } from 'lucide-react' + +export default function GuestTalesSection() { + const { items, loading } = useEmDashContent('posts') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+

Guest Tales

+

+ Stories of warmth, privacy, and regal service from our guests +

+
+ {items.map((item) => { + const d = item.data as { title?: string; excerpt?: string; author?: string; category?: string; image?: string } + return ( + + + + {d.excerpt && ( +

+ “{d.excerpt}” +

+ )} + {d.title && ( +

{d.title}

+ )} +
+ {d.author && {d.author}} + {d.category && ( + + {d.category} + + )} +
+
+
+ ) + })} +
+
+
+ ) +} \ No newline at end of file