source: src/sections/error/403-view.tsx@ 5d6f37a

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.3 KB
Line 
1'use client';
2
3import { m } from 'framer-motion';
4// @mui
5import Button from '@mui/material/Button';
6import Typography from '@mui/material/Typography';
7// layouts
8import CompactLayout from 'src/layouts/compact';
9// assets
10import { ForbiddenIllustration } from 'src/assets/illustrations';
11// components
12import { RouterLink } from 'src/routes/components';
13import { MotionContainer, varBounce } from 'src/components/animate';
14
15// ----------------------------------------------------------------------
16
17export default function View403() {
18 return (
19 <CompactLayout>
20 <MotionContainer>
21 <m.div variants={varBounce().in}>
22 <Typography variant="h3" sx={{ mb: 2 }}>
23 No permission
24 </Typography>
25 </m.div>
26
27 <m.div variants={varBounce().in}>
28 <Typography sx={{ color: 'text.secondary' }}>
29 The page you&apos;re trying access has restricted access.
30 <br />
31 Please refer to your system administrator
32 </Typography>
33 </m.div>
34
35 <m.div variants={varBounce().in}>
36 <ForbiddenIllustration sx={{ height: 260, my: { xs: 5, sm: 10 } }} />
37 </m.div>
38
39 <Button component={RouterLink} href="/" size="large" variant="contained">
40 Go to Home
41 </Button>
42 </MotionContainer>
43 </CompactLayout>
44 );
45}
Note: See TracBrowser for help on using the repository browser.