fix: resolve homepage and tools hero inversion, remove acne references, restore centered directory heroes across all routes

This commit is contained in:
2026-11-05 11:01:09 +05:30
parent 6300cd9cc9
commit 3390175f0d
12 changed files with 75 additions and 37 deletions
+1 -2
View File
@@ -77,12 +77,11 @@ function SectionContent({ section, context }: SectionRendererProps) {
switch (section.type) {
case 'hero': {
const isHomePage = (context.page?.slug === 'home' || context.page?.id === 'home') && !context.tool;
return (
<HeroSection
{...resolvedProps}
variant={section.variant}
tool={isHomePage ? undefined : (context.tool || undefined)}
tool={context.tool || undefined}
homeApp={context.homeApp || undefined}
variants={context.variants}
locale={locale}