diff --git a/src/app/not-found.module.scss b/src/app/not-found.module.scss new file mode 100644 index 0000000..2ad4dc0 --- /dev/null +++ b/src/app/not-found.module.scss @@ -0,0 +1,28 @@ +@use 'src/app/variables'; + +.main { + padding-top: 72px; + background-color: variables.$background-color; +} + +.container { + display: flex; + flex-direction: column; + height: calc(100vh - 400px); + background-color: variables.$background-color; +} + +.box { + margin: 64px; + text-align: center; +} + +.text { + font-size: 24px; + font-weight: bold; +} + +.link { + font-size: 16px; + color: variables.$span-color; +} \ No newline at end of file diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 0af9ff8..b2aebbe 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,4 +1,6 @@ import type { Metadata } from 'next'; +import Link from 'next/link'; +import style from './not-found.module.scss'; export const metadata: Metadata = { title: '404 Not Found', @@ -6,8 +8,16 @@ export const metadata: Metadata = { export default function Custom404() { return ( -
-

404 - Page Not Found

+
+
+
+

404 - Page Not Found

+

お探しのページは見つかりませんでした

+ + トップページに戻る + +
+
); }