From df2cce07e0db2d0977e2934044df41bd49c7e626 Mon Sep 17 00:00:00 2001 From: Ando <65276708+andostronaut@users.noreply.github.com> Date: Fri, 12 Jul 2024 21:50:51 +0300 Subject: [PATCH] feat: add not found component handler --- src/app/not-found.tsx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/app/not-found.tsx diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..bdb5ac6 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,30 @@ +'use client' + +import { useRouter } from 'next/navigation' + +import { Button } from '@/components/ui/button' + +export default function NotFound() { + const router = useRouter() + + return ( +
+ The page you re looking for doesn t exist or has been moved. +
+ +