This commit is contained in:
Your Name committed 2026-06-21 07:04:03 -04:00
1 parent f7ac94ca0d
commit 335f3b4f59
41 files changed
+809 -413

No files matched your search

+2 -5
View File
@@ -12,10 +12,7 @@ export function splitCmsLayoutSections(sections: PageSection[]) {
return {
announcementSections: activeSections.filter((section) => announcementTypes.has(sectionType(section))),
heroSections: activeSections.filter((section) => heroTypes.has(sectionType(section))),
bottomSections: activeSections.filter((section) => {
const type = sectionType(section)
return !announcementTypes.has(type) && !heroTypes.has(type)
}),
heroSections: [], // Keep for backwards compatibility with page components
bottomSections: activeSections.filter((section) => !announcementTypes.has(sectionType(section))),
}
}