diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index bb1dfa5..c63c685 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,35 +1,5 @@ -"use client"; +import { NotFoundComponent } from "~/components/layout"; -import { Status } from "~/components/global"; -import { Button } from "~/components/ui/button"; - -import useRouter from "~/hooks/usePRouter"; - -export default function NotFoundPage() { - const router = useRouter(); - - return ( -
- - -
- - -
-
- ); +export default function NotFound() { + return ; } diff --git a/src/components/Layout/NotFound.tsx b/src/components/Layout/NotFound.tsx new file mode 100644 index 0000000..af2d669 --- /dev/null +++ b/src/components/Layout/NotFound.tsx @@ -0,0 +1,34 @@ +"use client"; + +import { Status } from "~/components/global"; +import { Button } from "~/components/ui/button"; + +import useRouter from "~/hooks/usePRouter"; + +export default function NotFoundClient() { + const router = useRouter(); + return ( +
+ + +
+ + +
+
+ ); +}