From 50df1d09935d95739db49ac31706620ffb94fb0f Mon Sep 17 00:00:00 2001 From: "Ram Christian D. Nacar" <139614619+remagII@users.noreply.github.com> Date: Wed, 8 Oct 2025 19:04:10 +0800 Subject: [PATCH 1/2] feat: Added Custom 404 Page --- src/app/(public)/[...not-found]/page.tsx | 9 +++++++++ src/app/(public)/not-found.tsx | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/app/(public)/[...not-found]/page.tsx create mode 100644 src/app/(public)/not-found.tsx diff --git a/src/app/(public)/[...not-found]/page.tsx b/src/app/(public)/[...not-found]/page.tsx new file mode 100644 index 0000000..8b9a9ea --- /dev/null +++ b/src/app/(public)/[...not-found]/page.tsx @@ -0,0 +1,9 @@ +import NotFound from "../not-found"; + +export default function CatchAll() { + return ( +
+ +
+ ); +} diff --git a/src/app/(public)/not-found.tsx b/src/app/(public)/not-found.tsx new file mode 100644 index 0000000..6d3499e --- /dev/null +++ b/src/app/(public)/not-found.tsx @@ -0,0 +1,10 @@ +export default function NotFound() { + return ( +
+

+ 404 +

+

Page doesn't exist :((

+
+ ); +} From 160bd4716fb7f2fd7319390bc55e380a694b570b Mon Sep 17 00:00:00 2001 From: "Ram Christian D. Nacar" <139614619+remagII@users.noreply.github.com> Date: Wed, 8 Oct 2025 19:10:42 +0800 Subject: [PATCH 2/2] fix: remove min-height --- src/app/(public)/not-found.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(public)/not-found.tsx b/src/app/(public)/not-found.tsx index 6d3499e..42d05b4 100644 --- a/src/app/(public)/not-found.tsx +++ b/src/app/(public)/not-found.tsx @@ -1,6 +1,6 @@ export default function NotFound() { return ( -
+

404