import React from "react"; import { motion } from "framer-motion"; import { useInView } from "react-intersection-observer"; /** * AnimatedSection * Animates children (fade-in, slide-up) as they scroll into view. * Usage: * ... */ const AnimatedSection = ({ children, className = "", ...rest }) => { const [ref, inView] = useInView({ triggerOnce: true, threshold: 0.15, }); return ( {children} ); }; export default AnimatedSection;