init matches, tournament runner

This commit is contained in:
2025-08-30 23:58:50 -05:00
parent c37e8e8eb7
commit d2e4f0ca3f
11 changed files with 499 additions and 7 deletions

View File

@@ -3,9 +3,10 @@ import useRouterConfig from "@/features/core/hooks/use-router-config";
interface PageProps extends ContainerProps, React.PropsWithChildren {
noPadding?: boolean;
fullWidth?: boolean;
}
const Page = ({ children, noPadding, ...props }: PageProps) => {
const Page = ({ children, noPadding, fullWidth, ...props }: PageProps) => {
const { header } = useRouterConfig();
return (
<Container
@@ -13,7 +14,7 @@ const Page = ({ children, noPadding, ...props }: PageProps) => {
pt={header.collapsed ? 60 : 0}
pb={20}
m={0}
maw={600}
maw={fullWidth ? '100%' : 600}
mx="auto"
{...props}
>