main
Last change
on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago |
add customer
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | 'use client';
|
---|
2 |
|
---|
3 | import { m } from 'framer-motion';
|
---|
4 | // @mui
|
---|
5 | import Button from '@mui/material/Button';
|
---|
6 | import Typography from '@mui/material/Typography';
|
---|
7 | // layouts
|
---|
8 | import CompactLayout from 'src/layouts/compact';
|
---|
9 | // routes
|
---|
10 | import { RouterLink } from 'src/routes/components';
|
---|
11 | // components
|
---|
12 | import { MotionContainer, varBounce } from 'src/components/animate';
|
---|
13 | // assets
|
---|
14 | import { PageNotFoundIllustration } from 'src/assets/illustrations';
|
---|
15 |
|
---|
16 | // ----------------------------------------------------------------------
|
---|
17 |
|
---|
18 | export default function NotFoundView() {
|
---|
19 | return (
|
---|
20 | <CompactLayout>
|
---|
21 | <MotionContainer>
|
---|
22 | <m.div variants={varBounce().in}>
|
---|
23 | <Typography variant="h3" sx={{ mb: 2 }}>
|
---|
24 | Sorry, Page Not Found!
|
---|
25 | </Typography>
|
---|
26 | </m.div>
|
---|
27 |
|
---|
28 | <m.div variants={varBounce().in}>
|
---|
29 | <Typography sx={{ color: 'text.secondary' }}>
|
---|
30 | Sorry, we couldn’t find the page you’re looking for. Perhaps you’ve mistyped the URL? Be
|
---|
31 | sure to check your spelling.
|
---|
32 | </Typography>
|
---|
33 | </m.div>
|
---|
34 |
|
---|
35 | <m.div variants={varBounce().in}>
|
---|
36 | <PageNotFoundIllustration
|
---|
37 | sx={{
|
---|
38 | height: 260,
|
---|
39 | my: { xs: 5, sm: 10 },
|
---|
40 | }}
|
---|
41 | />
|
---|
42 | </m.div>
|
---|
43 |
|
---|
44 | <Button component={RouterLink} href="/" size="large" variant="contained">
|
---|
45 | Go to Home
|
---|
46 | </Button>
|
---|
47 | </MotionContainer>
|
---|
48 | </CompactLayout>
|
---|
49 | );
|
---|
50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.