diff --git a/src/components/sections/LodgePoliciesSection.tsx b/src/components/sections/LodgePoliciesSection.tsx new file mode 100644 index 0000000..ac770d7 --- /dev/null +++ b/src/components/sections/LodgePoliciesSection.tsx @@ -0,0 +1,71 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/Card' + +export default function LodgePoliciesSection() { + const { items, loading } = useEmDashContent('policies') + + if (loading) { + return
+ } + + if (items.length === 0) return null + + return ( +
+
+
+ + + Lodge Policies + + +
+ +

+ Designed for your + ease +

+ +
+ {items.map((item) => { + const d = item.data as { + title?: string + description?: string + } + return ( + + + + {d.title} + + + +

+ {d.description} +

+
+
+ ) + })} +
+ + {items.length === 0 && ( +

+ Policy details coming soon. For immediate questions, please contact + us directly. +

+ )} +
+
+ ) +}