Skip to content

Commit

Permalink
Finish not-found
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui committed Dec 26, 2023
1 parent 9699390 commit e5eef3d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Center, HStack, Heading } from "@chakra-ui/react";
import { Metadata } from "next";

export const metadata: Metadata = {
Expand All @@ -7,13 +6,11 @@ export const metadata: Metadata = {

export default function Custom404(): JSX.Element {
return (
<>
<Center height="50px">
<HStack>
<Heading>404</Heading>
<Heading size="md">This page could not be found.</Heading>
</HStack>
</Center>
</>
<div className="flex flex-col items-center justify-center h-screen">
<h1 className="font-bold m-4 text-6xl">
404
</h1>
This page could not be found.
</div>
);
}

0 comments on commit e5eef3d

Please sign in to comment.