File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { Helmet } from 'react-helmet';
33import { useIntl } from 'react-intl' ;
44
55import Layout from '../components/Layout' ;
6+ import * as css from '../styles/pages/404.module.css' ;
67
78const NotFoundPage = ( ) => {
89 const intl = useIntl ( ) ;
@@ -12,8 +13,10 @@ const NotFoundPage = () => {
1213 < Helmet >
1314 < title > { intl . formatMessage ( { id : 'pageNotFound' } ) } </ title >
1415 </ Helmet >
15- < h1 > { intl . formatMessage ( { id : 'notFound' } ) } </ h1 >
16- < p > { intl . formatMessage ( { id : 'notFoundText' } ) } </ p >
16+ < div className = { css . notfound } >
17+ < h1 > { intl . formatMessage ( { id : 'notFound' } ) } </ h1 >
18+ < p > { intl . formatMessage ( { id : 'notFoundText' } ) } </ p >
19+ </ div >
1720 </ Layout >
1821 ) ;
1922} ;
Original file line number Diff line number Diff line change 1+ .notfound {
2+ padding : var (--margin );
3+ }
You can’t perform that action at this time.
0 commit comments