significant refactor

This commit is contained in:
2025-08-30 01:42:23 -05:00
parent 7136f646a3
commit 052f53444e
106 changed files with 1994 additions and 1701 deletions

View File

@@ -7,9 +7,19 @@ interface PageProps extends ContainerProps, React.PropsWithChildren {
const Page = ({ children, noPadding, ...props }: PageProps) => {
const { header } = useRouterConfig();
return <Container px={noPadding ? 0 : 'md'} pt={header.collapsed ? 60 : 0} pb={20} m={0} maw={600} mx='auto' {...props}>
return (
<Container
px={noPadding ? 0 : "md"}
pt={header.collapsed ? 60 : 0}
pb={20}
m={0}
maw={600}
mx="auto"
{...props}
>
{children}
</Container>
}
</Container>
);
};
export default Page;