Slide {slideIndex + 1}
+Desktop image is required. Mobile falls back to desktop.
+diff --git a/apps/admin/src/components/page-builder/AddSectionModal.tsx b/apps/admin/src/components/page-builder/AddSectionModal.tsx index 28e09c7..de860c8 100644 --- a/apps/admin/src/components/page-builder/AddSectionModal.tsx +++ b/apps/admin/src/components/page-builder/AddSectionModal.tsx @@ -706,7 +706,20 @@ export default function AddSectionModal({ isOpen, onClose, onSelectBlock }: AddS ) }, - // 30. CUSTOM + // 30. DIVIDER + { + type: 'DIVIDER', + category: 'custom', + title: 'DIVIDER (Section Separator)', + description: 'A configurable horizontal line for separating adjacent CMS blocks.', + badge: 'Utility', + renderPreview: () => ( +
Page Section Divider
++ Add a visual separator between Page CMS blocks. Spacing is applied above and below the line. +
++ {isColorValid ? 'Accepted formats: #RGB, #RGBA, #RRGGBB, or #RRGGBBAA.' : 'Enter a valid hex color. The preview keeps a safe fallback until the value is complete.'} +
+Product Section Divider
++ Add a visual separator between blocks on this product detail page. This form is scoped to Product CMS. +
++ {isColorValid ? 'Accepted formats: #RGB, #RGBA, #RRGGBB, or #RRGGBBAA.' : 'Enter a valid hex color. The preview keeps a safe fallback until the value is complete.'} +
+Product Wide Promo Slider
+This form is scoped to Product CMS and does not share UI code with Page CMS.
+Desktop image is required. Mobile falls back to desktop.
+These forms follow the Page Builder block design, but stay scoped to this product.
+ {sectionType === 'HERO_CAROUSEL' && ( +