From da88be1c9fde3cbe3352c20817f1f53f78577054 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 27 Jul 2026 17:52:35 +0000 Subject: [PATCH] Deploy --- src/components/sections/KasiLoveSection.tsx | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/components/sections/KasiLoveSection.tsx diff --git a/src/components/sections/KasiLoveSection.tsx b/src/components/sections/KasiLoveSection.tsx new file mode 100644 index 0000000..5431d7e --- /dev/null +++ b/src/components/sections/KasiLoveSection.tsx @@ -0,0 +1,48 @@ +'use client' + +import { useVulaContent } from '@/hooks/useVulaContent' +import { Card, CardContent } from '@/components/ui/Card' +import { Heart, MessageCircle } from 'lucide-react' +import Image from 'next/image' + +export default function KasiLoveSection() { + const { items, loading } = useVulaContent('posts') + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+
+ +

+ Kasi Love +

+
+
+ {items.slice(0, 6).map((item) => { + const d = item.data as { title?: string; excerpt?: string; author?: string; category?: string; image?: string } + return ( + +
+ {d.image && ( + {d.title + )} +
+ +
+ + {d.category || 'Community'} +
+

{d.title}

+

{d.excerpt}

+

— {d.author}

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