diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-06 18:15:18 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-06 18:15:18 +0100 |
| commit | c3b438a5252e8c8897c868cdda8377e3162fdd69 (patch) | |
| tree | d0b730c1b3cc971a7ceae02312988071577a368a /src/pages/404.tsx | |
| parent | b9c1953c79688fc3f536b7927692309c9780b5da (diff) | |
refactor: reuse PostHeader for all pages except homepage
Diffstat (limited to 'src/pages/404.tsx')
| -rw-r--r-- | src/pages/404.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 6b6fbf5..f98b371 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,4 +1,5 @@ import { getLayout } from '@components/Layouts/Layout'; +import PostHeader from '@components/PostHeader/PostHeader'; import { seo } from '@config/seo'; import { t, Trans } from '@lingui/macro'; import { NextPageWithLayout } from '@ts/types/app'; @@ -15,7 +16,7 @@ const error404: NextPageWithLayout = () => { <meta name="description" content={seo.error404.description} /> </Head> <div> - <h1>{t`Page not found`}</h1> + <PostHeader title={t`Page not found`} /> <p> <Trans> Sorry, it seems that the page you are looking for does not exist. |
