aboutsummaryrefslogtreecommitdiff
path: root/source/96/src/app/not-found.js
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-03-03 10:24:12 +0000
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-03-03 10:24:12 +0000
commit14e968309da5036711ee0e3995362aa19d7bd7d8 (patch)
treed3f630ac612fabe4380caa8f7c7b24d64e21f1a8 /source/96/src/app/not-found.js
parent119e396029a5fd845d32e6c7b1c717254e9546a6 (diff)
downloadzue.dev-14e968309da5036711ee0e3995362aa19d7bd7d8.tar
zue.dev-14e968309da5036711ee0e3995362aa19d7bd7d8.tar.gz
zue.dev-14e968309da5036711ee0e3995362aa19d7bd7d8.tar.bz2
zue.dev-14e968309da5036711ee0e3995362aa19d7bd7d8.tar.xz
zue.dev-14e968309da5036711ee0e3995362aa19d7bd7d8.zip
big update!
Diffstat (limited to 'source/96/src/app/not-found.js')
-rw-r--r--source/96/src/app/not-found.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/96/src/app/not-found.js b/source/96/src/app/not-found.js
deleted file mode 100644
index 7298535..0000000
--- a/source/96/src/app/not-found.js
+++ /dev/null
@@ -1,31 +0,0 @@
-"use client";
-
-import { useEffect, useState } from "react";
-import { useRouter } from "next/navigation";
-
-export default () => {
- const router = useRouter();
-
- const [seconds, setSeconds] = useState(5);
-
- useEffect(() => {
- const interval = setInterval(() => {
- setSeconds((prev) => prev - 1);
- }, 1000);
-
- if (seconds === 0) {
- router.push("/");
- }
-
- return () => clearInterval(interval);
- }, [seconds]);
-
- return (
- <div className="min-h-screen flex flex-col justify-center items-center space-y-4">
- <h2 className="text-3xl font-bold">404 - Page Not Found</h2>
- <p>
- Redirecting to <a href="/">Home</a> in {seconds} seconds...
- </p>
- </div>
- );
-};