mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 06:28:53 +00:00
scuffed 404 redirect to main page
This commit is contained in:
1 parent
6a54f4784b
commit
492584a97e
2 files changed
+19
-1
No files matched your search
@@ -0,0 +1,18 @@
|
|||||||
|
import { useRouter } from 'next/router';
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
const FourOhFour: React.FC = () => {
|
||||||
|
const router = useRouter();
|
||||||
|
|
||||||
|
React.useEffect(() => {
|
||||||
|
router.push('/');
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="flex h-full w-full items-center justify-center bg-neutral-900">
|
||||||
|
<p className="text-4xl text-white">404</p>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default FourOhFour;
|
||||||
+1
-1
@@ -6,6 +6,6 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"title": "Support Us",
|
"title": "Support Us",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
"href": "https://overextended.vercel.app/#support-our-team"
|
"href": "https://overextended.dev/#support-our-team"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user