feat(ui): add fluid section motion and interaction polish
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user