diff --git a/src/app/(app)/not-found.tsx b/src/app/(app)/not-found.tsx new file mode 100644 index 0000000..b211262 --- /dev/null +++ b/src/app/(app)/not-found.tsx @@ -0,0 +1,5 @@ +import { NotFoundContent } from "@/components/layout/not-found-content"; + +export default function NotFound() { + return ; +} diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..b211262 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,5 @@ +import { NotFoundContent } from "@/components/layout/not-found-content"; + +export default function NotFound() { + return ; +} diff --git a/src/components/layout/not-found-content.tsx b/src/components/layout/not-found-content.tsx new file mode 100644 index 0000000..2db1ab4 --- /dev/null +++ b/src/components/layout/not-found-content.tsx @@ -0,0 +1,29 @@ +import Link from "next/link"; +import { Home } from "lucide-react"; +import { buttonVariants } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; + +export function NotFoundContent() { + return ( +
+ + 404 + +

Page not found

+

+ The page you’re looking for doesn’t exist or may have been + moved. +

+ + + Back to dashboard + +
+ ); +}