import { Link, useNavigate } from 'react-router-dom'; import { Video, Users, Zap, Shield, Camera, MessageCircle, Star, LogOut, LayoutDashboard } from 'lucide-react'; import { useAuth } from '../contexts/AuthContext'; const HomePage = () => { const { user, logout } = useAuth(); const navigate = useNavigate(); const handleLogout = () => { logout(); navigate('/login'); }; return (
{/* Hero Section */}

Capture Every Round Together

Connect with competitors, record each other's rounds, and swap videos in seconds.

{user ? "Go to Dashboard" : "Start Collaborating"}
{/* Features Section */}

Everything you need to succeed

Built specifically for West Coast Swing dancers and competition enthusiasts

P2P Video Sharing

Share videos directly with your partners using secure peer-to-peer WebRTC technology. Fast, private, and encrypted.

Smart Matching

Find the perfect collaboration partner based on division, role, and heat assignments at your event.

Real-time Chat

Communicate instantly with event participants and your collaboration partners through integrated chat.

Secure & Private

Your videos and conversations are end-to-end encrypted. What you share stays between you and your partner.

Lightning Fast

No upload delays or waiting. Direct peer-to-peer connections mean instant video transfers, even for large files.

Competition Ready

Integrated with WSDC events. Automatic heat tracking and partner suggestions based on competition divisions.

{/* How It Works Section */}

How It Works

Get started in three simple steps

1

Join an Event

Check in to your West Coast Swing competition using the event's QR code or check-in link.

2

Find Partners

Browse other dancers in your heats and send collaboration requests to potential partners.

3

Share & Create

Exchange videos securely, chat in real-time, and create amazing competition content together.

{/* CTA Section */} {!user && (

Ready to elevate your competition experience?

Join dancers from around the world who are already collaborating on spotlight.cam

Create Your Free Account
)} {/* Footer */}
); }; export default HomePage;