"refactor settings pages, add translation support and implement side navigation component"

This commit is contained in:
louiscklaw
2025-05-11 16:31:32 +08:00
parent ec12ca3bdf
commit 1003fa699c
8 changed files with 185 additions and 116 deletions

View File

@@ -18,7 +18,11 @@ export default function Layout({ children }: LayoutProps): React.JSX.Element {
width: 'var(--Content-width)',
}}
>
<Stack direction={{ xs: 'column', md: 'row' }} spacing={4} sx={{ position: 'relative' }}>
<Stack
direction={{ xs: 'column', md: 'row' }}
spacing={4}
sx={{ position: 'relative' }}
>
<SideNav />
<Box sx={{ flex: '1 1 auto', minWidth: 0 }}>{children}</Box>
</Stack>