init matches, tournament runner
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user