diff --git a/components/Page404.tsx b/components/Page404.tsx index f74d0b6..c874ced 100644 --- a/components/Page404.tsx +++ b/components/Page404.tsx @@ -5,6 +5,7 @@ import * as types from '@/lib/types' import { PageHead } from './PageHead' import styles from './styles.module.css' +import errImg from 'public/404.png' export const Page404: React.FC = ({ site, pageId, error }) => { const title = site?.name || 'Notion Page Not Found' @@ -28,11 +29,19 @@ export const Page404: React.FC = ({ site, pageId, error }) => { ) )} - 404 Not Found + > + 404 Not Found + diff --git a/components/styles.module.css b/components/styles.module.css index 021d7bc..4fde52d 100644 --- a/components/styles.module.css +++ b/components/styles.module.css @@ -37,7 +37,8 @@ } .errorImage { - max-width: 100%; + margin: 0 auto; + max-width: 700px; width: 640px; }