diff --git a/src/components/sections/BotanicalWisdomSection.tsx b/src/components/sections/BotanicalWisdomSection.tsx new file mode 100644 index 0000000..887ee39 --- /dev/null +++ b/src/components/sections/BotanicalWisdomSection.tsx @@ -0,0 +1,46 @@ +'use client' +import { useState } from 'react'; +import { useVulaContent } from '@/hooks/useVulaContent' +import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/Card' +import Badge from '@/components/ui/Badge' +import Image from 'next/image' + +export default function BotanicalWisdomSection() { + const { items, loading } = useVulaContent('posts') + const [openIndex, setOpenIndex] = useState(-1) // hook before guard + if (loading) return
From our journal
+{d.excerpt}
} + {d.author &&By {d.author}
} +