build ok,

This commit is contained in:
louiscklaw
2025-04-14 09:26:24 +08:00
commit 6c931c1fe8
770 changed files with 63959 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
import * as React from 'react';
import type { Metadata } from 'next';
import RouterLink from 'next/link';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import Container from '@mui/material/Container';
import Stack from '@mui/material/Stack';
import Typography from '@mui/material/Typography';
import { config } from '@/config';
import { paths } from '@/paths';
export const metadata = { title: `Not authorized | Errors | ${config.site.name}` } satisfies Metadata;
export default function Page(): React.JSX.Element {
return (
<Box
component="main"
sx={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
minHeight: '100%',
py: '64px',
}}
>
<Container maxWidth="lg">
<Stack spacing={6}>
<Box sx={{ display: 'flex', justifyContent: 'center' }}>
<Box
alt="Not authorized"
component="img"
src="/assets/error.svg"
sx={{ height: 'auto', maxWidth: '100%', width: '200px' }}
/>
</Box>
<Stack spacing={1} sx={{ textAlign: 'center' }}>
<Typography variant="h4">401: Authorization required</Typography>
<Typography color="text.secondary">
You either tried some shady route or you came here by mistake. Whichever it is, try using the navigation.
</Typography>
</Stack>
<Box sx={{ display: 'flex', justifyContent: 'center' }}>
<Button component={RouterLink} href={paths.home} variant="contained">
Back to home
</Button>
</Box>
</Stack>
</Container>
</Box>
);
}