'use client'; import { useRef } from 'react'; import Button from '@/components/ui/Button'; import Container from '@/components/ui/Container'; import Heading from '@/components/ui/Heading'; import { useParallax } from '../../hooks/useScrollProgress'; const discordUrl = process.env.NEXT_PUBLIC_DISCORD_URL || '#'; if (!process.env.NEXT_PUBLIC_DISCORD_URL) { console.warn('NEXT_PUBLIC_DISCORD_URL is not set. Discord button will use "#" as fallback.'); } export default function Hero() { const sectionRef = useRef(null); const bgParallax = useParallax(sectionRef, 0.3); return (
{/* Background image layer with parallax */}
{/* Racing red accent gradient */}
{/* Racing stripes background */}
{/* Checkered pattern overlay */}
{/* Speed lines - left side */}
{/* Carbon fiber accent - bottom */}
{/* Radial gradient overlay with racing red accent */}
League racing is incredible. What's missing is everything around it.

If you've been in any league, you know the feeling:

{/* Problem badges - mobile optimized */}
× Results scattered across Discord
× No long-term identity
× No career progression
× Forgotten after each season

The ecosystem isn't built for this.

GridPilot gives your league racing a real home.

); }