-
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.
Merge pull request #40 from Dataatti/UI-fixes
Mobile UI fixes, 404 page, update contact email
- Loading branch information
Showing
6 changed files
with
82 additions
and
29 deletions.
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
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,34 @@ | ||
import Head from 'next/head'; | ||
import Link from 'next/link'; | ||
import { Button, Grid, Typography, Link as MuiLink } from '@mui/material'; | ||
|
||
const Custom404 = () => { | ||
return ( | ||
<main> | ||
<Grid | ||
container | ||
direction="column" | ||
alignItems="center" | ||
justifyContent="center" | ||
spacing={4} | ||
sx={{ minHeight: 'calc(100vh - 80px - 220px)' }} | ||
> | ||
<Grid item> | ||
<Typography variant="h5">404</Typography> | ||
</Grid> | ||
<Grid item> | ||
<Typography component="h1" variant="h5"> | ||
Sivua ei löytynyt | ||
</Typography> | ||
</Grid> | ||
<Grid item> | ||
<Link href="/" passHref> | ||
<Button variant="contained">Takaisin etusivulle</Button> | ||
</Link> | ||
</Grid> | ||
</Grid> | ||
</main> | ||
); | ||
}; | ||
|
||
export default Custom404; |
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 |
---|---|---|
|
@@ -74,7 +74,9 @@ const CompanyResult = ({ company }: { company: Company }) => { | |
</Grid> | ||
<Typography align="center" sx={{ mt: '20vh' }}> | ||
Ovatko yrityksen tiedot virheelliset? Ota yhteyttä osoitteeseen{' '} | ||
<MuiLink href="mailto:[email protected]">[email protected]</MuiLink> | ||
<MuiLink href="mailto:[email protected]"> | ||
virpi.aittokoski (at) businessfinland.fi | ||
</MuiLink> | ||
</Typography> | ||
</main> | ||
); | ||
|
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
25fa4fd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: