-
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.
- Loading branch information
1 parent
2f5e647
commit 89f044e
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
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,45 @@ | ||
import { Grid, Button, Typography } from '@mui/material'; | ||
|
||
export default function Custom404() { | ||
return ( | ||
<Grid | ||
container | ||
direction="column" | ||
justifyContent="center" | ||
alignItems="center" | ||
spacing={5} | ||
sx={{textAlign: 'center', paddingTop: '132px', paddingBottom: '132px'}}> | ||
<Grid item> | ||
<Typography variant="h1" component="h1" color="secondary"> | ||
404 | ||
</Typography> | ||
</Grid> | ||
<Grid item> | ||
<Typography variant="h2" component="h2"> | ||
Sivua ei löytynyt | ||
</Typography> | ||
<Typography variant="body1" paragraph> | ||
Linkki on virheellinen tai vanhentunut. | ||
</Typography> | ||
</Grid> | ||
<Grid item> | ||
<Grid | ||
container | ||
direction="row" | ||
justifyContent="center" | ||
alignItems="center" | ||
spacing={2}> | ||
<Grid item> | ||
<Button | ||
variant="contained" | ||
aria-label="Palaa etusivulle" | ||
color="primary" | ||
href="/"> | ||
Palaa etusivulle | ||
</Button> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
) | ||
} |
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