website refactor

This commit is contained in:
2026-01-17 15:46:55 +01:00
parent 4d5ce9bfd6
commit 72a626ce71
346 changed files with 19308 additions and 8605 deletions

View File

@@ -11,6 +11,7 @@ import { Input } from '@/ui/Input';
import { Select } from '@/ui/Select';
import { Grid } from '@/ui/Grid';
import { Surface } from '@/ui/Surface';
import { InlineNotice } from '@/components/shared/ux/InlineNotice';
import type { LeagueAdminScheduleViewData } from '@/lib/view-data/LeagueAdminScheduleViewData';
interface LeagueAdminScheduleTemplateProps {
@@ -32,6 +33,7 @@ interface LeagueAdminScheduleTemplateProps {
isPublishing: boolean;
isSaving: boolean;
isDeleting: string | null;
error: string | null;
// Form setters
setTrack: (value: string) => void;
@@ -54,6 +56,7 @@ export function LeagueAdminScheduleTemplate({
isPublishing,
isSaving,
isDeleting,
error,
setTrack,
setCar,
setScheduledAtIso,
@@ -67,6 +70,13 @@ export function LeagueAdminScheduleTemplate({
return (
<Stack gap={6}>
{error && (
<InlineNotice
variant="error"
title="Action Failed"
message={error}
/>
)}
<Card>
<Stack gap={6}>
<Box>