feat: add new theme berry (#860)

* feat: add theme berry

* docs: add development notes

* fix: fix blank page

* chore: update implementation

* fix: fix package.json

* chore: update ui copy

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
Buer
2024-01-07 14:20:07 +08:00
committed by GitHub
parent 6227eee5bc
commit 48989d4a0b
157 changed files with 13979 additions and 5 deletions

View File

@@ -0,0 +1,47 @@
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import Container from '@mui/material/Container';
import NotFound from 'assets/images/404.svg';
import { useNavigate } from 'react-router';
// ----------------------------------------------------------------------
export default function NotFoundView() {
const navigate = useNavigate();
const goBack = () => {
navigate(-1);
};
return (
<>
<Container>
<Box
sx={{
py: 12,
maxWidth: 480,
mx: 'auto',
display: 'flex',
minHeight: 'calc(100vh - 136px)',
textAlign: 'center',
alignItems: 'center',
flexDirection: 'column',
justifyContent: 'center'
}}
>
<Box
component="img"
src={NotFound}
sx={{
mx: 'auto',
height: 260,
my: { xs: 5, sm: 10 }
}}
/>
<Button size="large" variant="contained" onClick={goBack}>
返回
</Button>
</Box>
</Container>
</>
);
}