From a685f7a9ff3df5770c4ca1bfa42ab495fe8eb59b Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Thu, 25 May 2023 20:32:59 +0700 Subject: [PATCH] Error page when can't find file / folder --- src/app/not-found.tsx | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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..3d77a94 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,39 @@ +import Link from "next/link"; + +function NotFound() { + return ( +
+ The file or folder you are trying to access does + not exist or has been deleted. +
+ + + +