This commit is contained in:
Your Name committed 2026-10-03 06:23:23 +07:00
1 parent a94e72ba0e
commit 91dacd20ce
2 files changed
+4 -2

No files matched your search

@@ -219,6 +219,7 @@ export default async function CategoryPage({ params }: { params: Promise<{ id: s
{category._count && <p className="mt-3 text-muted-text text-sm">{category._count.products} products available in this collection</p>}
</div>
</div>
{categoryThumbnailUrl && (
<div className="relative w-48 h-48 md:w-72 md:h-72 shrink-0 rounded-3xl overflow-hidden shadow-lg border border-line-primary/5">
<Image
src={categoryThumbnailUrl}
@@ -228,6 +229,7 @@ export default async function CategoryPage({ params }: { params: Promise<{ id: s
className="object-cover"
/>
</div>
)}
</div>
</section>
)}
+2 -2
View File
@@ -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))),
}
}