import { useParallax } from '@/hooks/useScrollProgress'; import { Button } from '@/ui/Button'; import { Container } from '@/ui/Container'; import { Glow } from '@/ui/Glow'; import { Heading } from '@/ui/Heading'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { useRef } from 'react'; const discordUrl = process.env.NEXT_PUBLIC_DISCORD_URL || '#'; export function LandingHero() { const sectionRef = useRef(null); const bgParallax = useParallax(sectionRef, 0.2); return ( {/* Background image layer with parallax */} {/* Robust gradient overlay */} Precision Racing Infrastructure MODERN MOTORSPORT INFRASTRUCTURE. GridPilot gives your league racing a real home. Results, standings, teams, and career progression — engineered for precision and control. {/* Problem list - more professional */} {[ { label: 'IDENTITY', text: 'Your racing career in one place', color: 'var(--ui-color-intent-primary)' }, { label: 'AUTOMATION', text: 'No more manual session setup', color: 'var(--ui-color-intent-telemetry)' }, { label: 'PRECISION', text: 'Real-time results and standings', color: 'var(--ui-color-intent-warning)' }, { label: 'COMMUNITY', text: 'Built for teams and leagues', color: 'var(--ui-color-intent-success)' } ].map((item) => ( {item.label} {item.text} ))} ); }