website refactor

This commit is contained in:
2026-01-19 21:30:36 +01:00
parent 5715e35790
commit a0db155427
23 changed files with 582 additions and 147 deletions

View File

@@ -9,8 +9,8 @@ export interface MainContentProps {
export const MainContent = ({ children, maxWidth = 'xl' }: MainContentProps) => {
return (
<Box as="main" flex={1} style={{ overflowY: 'auto' }} padding={6}>
<Container size={maxWidth === '7xl' ? 'xl' : maxWidth as any}>
<Box as="main" flex={1} padding={6}>
<Container size={maxWidth === '7xl' ? 'xl' : (maxWidth as any)}>
<Box display="flex" flexDirection="col" gap={6} fullWidth>
{children}
</Box>