diff --git a/src/components/sections/LegalInsightsSection.tsx b/src/components/sections/LegalInsightsSection.tsx new file mode 100644 index 0000000..8aa7ef2 --- /dev/null +++ b/src/components/sections/LegalInsightsSection.tsx @@ -0,0 +1,88 @@ +'use client' +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' +import Link from 'next/link' +import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card' +import Badge from '@/components/ui/Badge' + +export default function LegalInsightsSection() { + const { items, loading } = useEmDashContent('posts') + + if (loading) { + return ( +
+ Criminal law trends, case analyses, and updates to South African legislation +
+{d.excerpt}
+ )} + {d.author && ( +By {d.author}
+ )} +