feat(ui): add fluid section motion and interaction polish

This commit is contained in:
2026-11-03 18:22:51 +05:30
parent e7aa732892
commit 561718870b
3 changed files with 75 additions and 1 deletions
+10 -1
View File
@@ -26,6 +26,7 @@ import { WorkflowVisualizerSection } from './WorkflowVisualizerSection';
import { VerticalToolStackSection } from './VerticalToolStackSection';
import { MajorToolBannersSection } from './MajorToolBannersSection';
import { CinematicHorizontalScrollSection } from './CinematicHorizontalScrollSection';
import { SectionEntrance } from '@/components/ui/SectionEntrance';
interface SectionRendererProps {
section: SectionConfig;
@@ -45,7 +46,15 @@ interface SectionRendererProps {
};
}
export function SectionRenderer({ section, context }: SectionRendererProps) {
export function SectionRenderer(props: SectionRendererProps) {
return (
<SectionEntrance id={props.section.id}>
<SectionContent {...props} />
</SectionEntrance>
);
}
function SectionContent({ section, context }: SectionRendererProps) {
const locale = context.locale || 'en';
// Visibility Check (PRD §5.2, §5.3 CFG-09)