'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'; import type { DriverLeaderboardItemViewModel } from '@/lib/view-models/DriverLeaderboardItemViewModel'; import type { TeamSummaryViewModel } from '@/lib/view-models/TeamSummaryViewModel'; // ============================================================================ // TYPES // ============================================================================ interface LeaderboardsTemplateProps { drivers: DriverLeaderboardItemViewModel[]; teams: TeamSummaryViewModel[]; onDriverClick: (driverId: string) => void; onTeamClick: (teamId: string) => void; onNavigateToDrivers: () => void; onNavigateToTeams: () => void; } // ============================================================================ // MAIN TEMPLATE COMPONENT // ============================================================================ export default function LeaderboardsTemplate({ drivers, teams, onDriverClick, onTeamClick, onNavigateToDrivers, onNavigateToTeams, }: LeaderboardsTemplateProps) { return (
{/* Hero Section */}
{/* Background decoration */}
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?

{/* Quick Nav */}
{/* Leaderboard Grids */}
); }