ginb
Version:
Write & Share all in GitHub
20 lines (17 loc) • 536 B
JSX
import Link from "next/link";
import { memo } from "react";
function NotFound() {
return (
<div className="m-auto">
<h1 className="text-center text-2xl">404 Page Not Found</h1>
<p className="mx-auto mt-8 max-w-main text-center">
Maybe this link is broken.{" "}
<Link className="text-blue-600 hover:underline" href="/">
Back to homepage
</Link>{" "}
if it doesn't matter. Otherwise feel free to contact owner.
</p>
</div>
);
}
export default memo(NotFound);