This commit is contained in:
2026-01-05 19:35:49 +01:00
parent b4b915416b
commit d9e6151ae0
92 changed files with 10964 additions and 7893 deletions

View File

@@ -0,0 +1,39 @@
'use client';
import LeagueSchedule from '@/components/leagues/LeagueSchedule';
import Card from '@/components/ui/Card';
// ============================================================================
// TYPES
// ============================================================================
interface LeagueScheduleTemplateProps {
leagueId: string;
loading?: boolean;
}
// ============================================================================
// MAIN TEMPLATE COMPONENT
// ============================================================================
export function LeagueScheduleTemplate({
leagueId,
loading = false,
}: LeagueScheduleTemplateProps) {
if (loading) {
return (
<div className="text-center text-gray-400">
Loading schedule...
</div>
);
}
return (
<div className="space-y-6">
<Card>
<h2 className="text-xl font-semibold text-white mb-4">Schedule</h2>
<LeagueSchedule leagueId={leagueId} />
</Card>
</div>
);
}