"use client"; import type { ReactNode } from "react"; import { AnimatePresence, motion, useReducedMotion } from "framer-motion"; import { usePathname } from "next/navigation"; interface RouteTransitionProps { children: ReactNode; } export function RouteTransition({ children }: Readonly) { const pathname = usePathname(); const shouldReduceMotion = useReducedMotion(); return ( {children} ); }