Skip to content

Commit 23b40f1

Browse files
committed
use MainArticle
1 parent 8b7c325 commit 23b40f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/404.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { serverSideTranslations } from "next-i18next/serverSideTranslations"
44
import { BasePageProps, Lang } from "@/lib/types"
55

66
import InlineLink from "@/components/Link"
7+
import MainArticle from "@/components/MainArticle"
78
import Translation from "@/components/Translation"
89

910
import { existsNamespace } from "@/lib/utils/existsNamespace"
@@ -34,7 +35,7 @@ export const getStaticProps = (async ({ locale }) => {
3435

3536
const NotFoundPage = () => (
3637
<div className="mx-auto mb-0 mt-16 flex w-full flex-col items-center">
37-
<div className="w-full px-8 py-4">
38+
<MainArticle className="w-full px-8 py-4">
3839
<h1 className="my-8 text-4xl font-bold">
3940
<Translation id="we-couldnt-find-that-page" />
4041
</h1>
@@ -45,7 +46,7 @@ const NotFoundPage = () => (
4546
</InlineLink>
4647
.
4748
</p>
48-
</div>
49+
</MainArticle>
4950
</div>
5051
)
5152

0 commit comments

Comments
 (0)