import type { ReactNode } from "react"; export type PageSectionProps = { id?: string; title: string; subtitle?: string; dark?: boolean; className?: string; /** false면 섹션 입장용 `animate-fade-in-up` 미적용 (DEMO에 없는 모션을 쓰지 않을 때) */ animateEnter?: boolean; children: ReactNode; }; export function PageSection({ id, title, subtitle, dark = false, className = "", animateEnter = true, children, }: PageSectionProps) { return (
{dark ? (
) : null}

{title}

{subtitle ? (

{subtitle}

) : null}
{children}
); }