'use client'; import { Heading } from '@/ui/Heading'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { motion, useReducedMotion } from 'framer-motion'; import { useEffect, useState } from 'react'; export function LeagueHomeMockup() { const shouldReduceMotion = useReducedMotion(); const [isMobile, setIsMobile] = useState(false); useEffect(() => { setIsMobile(window.innerWidth < 768); }, []); if (isMobile) { return ( 🏆 Super GT ROUND 8/12 Next Race 🏁 Latest Result ); } const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: shouldReduceMotion ? 0 : 0.1 } } }; const itemVariants = { hidden: { opacity: 0, y: shouldReduceMotion ? 0 : 20 }, visible: { opacity: 1, y: 0 } }; return ( 🏆 Super GT Championship SEASON 3 • ROUND 8/12 Upcoming Races {[1, 2, 3].map((i) => ( 🏁 {i === 1 && ( )} ))} Recent Results {[1, 2].map((i) => ( ))} ); }