import type { ReactNode } from "react"; import { RiftSectionAccent } from "@/components/brand/RiftSectionAccent"; import type { RiftPattern } from "@/components/brand/rift-patterns"; import { cn } from "@/lib/utils"; type Props = { id?: string; className?: string; children: ReactNode; variant?: "default" | "muted" | "inverse"; /** Subtle line accent for this section — page spine handles vertical flow */ riftPattern?: RiftPattern; /** @deprecated Use riftPattern instead */ riftFlow?: boolean; }; export function Section({ id, className, children, variant = "default", riftPattern = "none", riftFlow, }: Props) { const pattern: RiftPattern = riftFlow && riftPattern === "none" ? "whisper" : riftPattern; return (
{children}
); }