diff --git a/apps/website/src/app/[lang]/category/[id]/page.tsx b/apps/website/src/app/[lang]/category/[id]/page.tsx index 22154bd..eb5df08 100644 --- a/apps/website/src/app/[lang]/category/[id]/page.tsx +++ b/apps/website/src/app/[lang]/category/[id]/page.tsx @@ -219,15 +219,17 @@ export default async function CategoryPage({ params }: { params: Promise<{ id: s {category._count &&

{category._count.products} products available in this collection

} -
- {categoryName} -
+ {categoryThumbnailUrl && ( +
+ {categoryName} +
+ )} )} diff --git a/apps/website/src/lib/cms-sections.ts b/apps/website/src/lib/cms-sections.ts index 845f58b..59532c3 100644 --- a/apps/website/src/lib/cms-sections.ts +++ b/apps/website/src/lib/cms-sections.ts @@ -12,7 +12,7 @@ export function splitCmsLayoutSections(sections: PageSection[]) { return { announcementSections: activeSections.filter((section) => announcementTypes.has(sectionType(section))), - heroSections: [], // Keep for backwards compatibility with page components - bottomSections: activeSections.filter((section) => !announcementTypes.has(sectionType(section))), + heroSections: activeSections.filter((section) => heroTypes.has(sectionType(section))), + bottomSections: activeSections.filter((section) => !announcementTypes.has(sectionType(section)) && !heroTypes.has(sectionType(section))), } }