import React, { useState } from 'react';
import { Trophy, TrendingUp, TrendingDown, Minus } from 'lucide-react';
const GarrardSoccerDashboard = () => {
const [selectedTab, setSelectedTab] = useState('schedule');
const teamInfo = {
name: "Garrard County Golden Lions",
coach: "Jackson Moss",
record: "5-9-1",
region: "12",
district: "45",
goalsFor: 34,
goalsAgainst: 46,
rpi: 0.39669
};
const schedule = [
{ date: "Aug 14", opponent: "Mercer County", site: "home", score: "1-2", result: "L" },
{ date: "Aug 19", opponent: "Trinity Christian", site: "home", score: "2-1", result: "W" },
{ date: "Aug 21", opponent: "Campbellsville", site: "away", score: "5-0", result: "W" },
{ date: "Aug 23", opponent: "Paris", site: "away", score: "8-1", result: "W" },
{ date: "Aug 26", opponent: "Casey County", site: "home", score: "6-1", result: "W" },
{ date: "Aug 28", opponent: "Madison Southern", site: "away", score: "0-6", result: "L" },
{ date: "Sep 2", opponent: "Lincoln County", site: "home", score: "1-4", result: "L" },
{ date: "Sep 9", opponent: "Bourbon County", site: "away", score: "1-5", result: "L" },
{ date: "Sep 11", opponent: "Danville", site: "away", score: "1-2", result: "L" },
{ date: "Sep 16", opponent: "Boyle County", site: "home", score: "1-2", result: "L" },
{ date: "Sep 23", opponent: "Marion County", site: "away", score: "0-8", result: "L" },
{ date: "Sep 25", opponent: "Frankfort Christian", site: "home", score: "2-0", result: "W" },
{ date: "Sep 30", opponent: "East Jessamine", site: "away", score: "2-2", result: "T" },
{ date: "Oct 2", opponent: "Lexington Christian", site: "away", score: "2-6", result: "L" },
{ date: "Oct 7", opponent: "Lincoln County", site: "away", score: "2-6", result: "L", tournament: "45th District" }
];
const topScorers = [
{ name: "Dylan Tsunoda", grade: "Sr.", goals: 12, assists: 3, points: 27 },
{ name: "Jackson Kearney", grade: "Sr.", goals: 7, assists: 2, points: 16 },
{ name: "Edison Underwood", grade: "Sr.", goals: 4, assists: 1, points: 9 },
{ name: "Colton Goodwin", grade: "Sr.", goals: 3, assists: 1, points: 7 },
{ name: "Lucas Wilson", grade: "So.", goals: 3, assists: 5, points: 11 },
{ name: "Samuel Henderson", grade: "Fr.", goals: 3, assists: 4, points: 10 }
];
const goalkeeper = {
name: "Mikie Leger",
grade: "So.",
saves: 94,
goalsAllowed: 39,
shutouts: 1,
gamesPlayed: 15
};
const ResultIcon = ({ result }) => {
if (result === 'W') return ;
if (result === 'L') return ;
return ;
};
return (
);
};
export default GarrardSoccerDashboard;
{/* Header */}
{/* Stats Overview */}
{/* Tabs */}
{teamInfo.name}
2025 Season | Coach: {teamInfo.coach}
{teamInfo.record}
Region {teamInfo.region} | District {teamInfo.district}
{teamInfo.goalsFor}
Goals For
{teamInfo.goalsAgainst}
Goals Against
{(teamInfo.goalsFor / 15).toFixed(1)}
Goals/Game
{teamInfo.rpi.toFixed(3)}
RPI
{selectedTab === 'schedule' && (
{schedule.map((game, idx) => (
))}
)}
{selectedTab === 'stats' && (
{game.opponent}
{game.date} • {game.site}
{game.tournament && ` • ${game.tournament}`}
{game.score}
{game.result}
{/* Top Scorers */}
{/* Goalkeeper Stats */}
)}
Top Scorers
Player | Grade | Goals | Assists | Points |
---|---|---|---|---|
{player.name} | {player.grade} | {player.goals} | {player.assists} | {player.points} |
Goalkeeper
{goalkeeper.name}
{goalkeeper.grade} • {goalkeeper.gamesPlayed} Games
{goalkeeper.saves}
Saves
{goalkeeper.goalsAllowed}
Goals Allowed
{goalkeeper.shutouts}
Shutouts