'use client'; import React from 'react'; import { Trophy, Users, Award } from 'lucide-react'; import Button from '@/components/ui/Button'; import Heading from '@/components/ui/Heading'; import { DriverLeaderboardPreview } from '@/components/leaderboards/DriverLeaderboardPreview'; import { TeamLeaderboardPreview } from '@/components/leaderboards/TeamLeaderboardPreview'; // ============================================================================ // TYPES // ============================================================================ interface LeaderboardsTemplateProps { drivers: { id: string; name: string; rating: number; skillLevel: string; nationality: string; wins: number; rank: number; avatarUrl: string; position: number; }[]; teams: { id: string; name: string; tag: string; memberCount: number; category?: string; totalWins: number; logoUrl: string; position: number; }[]; onDriverClick: (driverId: string) => void; onTeamClick: (teamId: string) => void; onNavigateToDrivers: () => void; onNavigateToTeams: () => void; } // ============================================================================ // MAIN TEMPLATE COMPONENT // ============================================================================ export function LeaderboardsTemplate({ drivers, teams, onDriverClick, onTeamClick, onNavigateToDrivers, onNavigateToTeams, }: LeaderboardsTemplateProps) { return (
Leaderboards

Where champions rise and legends are made

Track the best drivers and teams across all competitions. Every race counts. Every position matters. Who will claim the throne?

); }