import React from 'react'; import { motion } from 'framer-motion'; import { FADE_UP, STAGGER_FAST, getMotionContainerProps, getMotionItemProps, prefersReducedMotion } from '../lib/motion'; export function Page({ title, children }: { title: string; children?: React.ReactNode }) { const motionEnabled = !prefersReducedMotion(); const containerProps = getMotionContainerProps(motionEnabled, STAGGER_FAST); const itemProps = getMotionItemProps(motionEnabled, FADE_UP); return ( {title} {children} ); }