From c3b438a5252e8c8897c868cdda8377e3162fdd69 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 6 Jan 2022 18:15:18 +0100
Subject: refactor: reuse PostHeader for all pages except homepage

---
 src/pages/404.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/pages/404.tsx')

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.
-- 
cgit v1.2.3

