diff --git a/admin-spa/src/components/SectionBackgroundRenderer.tsx b/admin-spa/src/components/SectionBackgroundRenderer.tsx new file mode 100644 index 0000000..6b74b4f --- /dev/null +++ b/admin-spa/src/components/SectionBackgroundRenderer.tsx @@ -0,0 +1,26 @@ +import { SectionStyleResult } from '@/lib/sectionStyles'; + +interface SectionBackgroundRendererProps { + bg: SectionStyleResult; +} + +export function SectionBackgroundRenderer({ bg }: SectionBackgroundRendererProps) { + if (!bg.backgroundImage) return null; + + return ( +