'use client';
import { ReactNode } from 'react';
import { Box } from '@/ui/Box';
import { Container } from '@/ui/Container';
import { Stack } from '@/ui/Stack';
import { Grid } from '@/ui/Grid';
import { GridItem } from '@/ui/GridItem';
import { Text } from '@/ui/Text';
interface RacesLayoutProps {
children: ReactNode;
header: ReactNode;
banner?: ReactNode;
sidebar: ReactNode;
}
export function RacesLayout({ children, header, banner, sidebar }: RacesLayoutProps) {
return (
{header}
{banner}
{children}
{sidebar}
);
}
export function RaceScheduleSection({ children, title }: { children: ReactNode, title: string }) {
return (
{title}
{children}
);
}