'use client'; import { useRef } from 'react'; import Button from '@/components/ui/Button'; export default function DiscordCTA() { const discordUrl = process.env.NEXT_PUBLIC_DISCORD_URL || '#'; return (
{/* Discord brand accent */}
{/* Header */}

Join us on Discord

{/* Personal message */}

GridPilot is a solo developer project, and I'm building it because I got tired of the chaos in league racing.

This is early days, and I need your help. Join the Discord to:

{/* Benefits grid */}

Share your pain points

Tell me what frustrates you about league racing today

Shape the product

Your ideas will directly influence what gets built

Be part of the community

Connect with other league racers who get it

Get early access

Test features first and help iron out the rough edges

{/* CTA Button - Matching Hero style */}
{/* Discord Logo SVG */} Join us on Discord {/* Early alpha hint */}

💡 Get a link to our early alpha view in the Discord

{!process.env.NEXT_PUBLIC_DISCORD_URL && (

Note: Configure NEXT_PUBLIC_DISCORD_URL in your environment variables

)}
{/* Footer note */}

This is a community effort. Every voice matters. Let's build something that actually works for league racing.

); }