scuffed 404 redirect to main page

This commit is contained in:
Luke committed 2023-06-04 16:16:43 +02:00
1 parent 6a54f4784b
commit 492584a97e
2 files changed
+19 -1

No files matched your search

+18
View File
@@ -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
View File
@@ -6,6 +6,6 @@
"support": {
"title": "Support Us",
"type": "page",
"href": "https://overextended.vercel.app/#support-our-team"
"href": "https://overextended.dev/#support-our-team"
}
}