-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: error page setup and footer height fix
- Loading branch information
1 parent
72b0558
commit b1a77f0
Showing
4 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Box, Button, Container, Typography } from '@mui/material'; | ||
import FlexBetween from '../../components/FlexBetween'; | ||
import { useNavigate } from 'react-router-dom'; | ||
|
||
const Error = () => { | ||
const navigate = useNavigate(); | ||
return ( | ||
<Container maxWidth='lg' sx={{ p: '5.5rem 0' }}> | ||
<FlexBetween sx={{ flexDirection: 'column', gap: '2.5rem' }}> | ||
<Box component='img' src='/assets/error.png' alt='error' /> | ||
<Box> | ||
<Typography variant='h4' textAlign={'center'} p='1rem 0' fontWeight={600}> | ||
Opps! | ||
</Typography> | ||
<Typography | ||
variant='subtitle1' | ||
width={292} | ||
textAlign={'center'} | ||
lineHeight={2} | ||
letterSpacing={1.5} | ||
> | ||
We’re sorry. The page you requested could not be found. | ||
</Typography> | ||
<Button onClick={() => navigate('/home')}>Back to the home page</Button> | ||
</Box> | ||
</FlexBetween> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Error; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.footer { | ||
width: 100%; | ||
height: 505px; | ||
height: 300px; | ||
} | ||
|
||
.footer__meta-title { | ||
|