feat(ui): eliminate zoom effect with fixed 16:9 landscape aperture, add aiease-style interactive hero showcase with borderbeam and quick chips
This commit is contained in:
@@ -76,17 +76,19 @@ function SectionContent({ section, context }: SectionRendererProps) {
|
||||
const resolvedProps = resolveBindings(section.props || {}, context, locale);
|
||||
|
||||
switch (section.type) {
|
||||
case 'hero':
|
||||
case 'hero': {
|
||||
const isHomePage = context.page?.slug === 'home' || context.page?.id === 'home' || !context.page?.slug;
|
||||
return (
|
||||
<HeroSection
|
||||
{...resolvedProps}
|
||||
variant={section.variant}
|
||||
tool={context.tool}
|
||||
homeApp={context.homeApp}
|
||||
tool={isHomePage ? undefined : (context.tool || undefined)}
|
||||
homeApp={context.homeApp || undefined}
|
||||
variants={context.variants}
|
||||
locale={locale}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
case 'shiftableToolsGrid':
|
||||
case 'toolsGridShiftable':
|
||||
|
||||
Reference in New Issue
Block a user