svrjs-nextjs-website/app/not-found.tsx

44 lines
1.1 KiB
TypeScript
Raw Normal View History

import type { Metadata } from "next";
2024-08-24 06:28:25 +02:00
import Footer from "@/components/shared/Footer";
import Navbar from "@/components/shared/Navbar";
import Link from "next/link";
2024-09-08 06:33:47 +02:00
import NoScript from "@/components/shared/NoScript";
2024-08-24 06:28:25 +02:00
export const metadata: Metadata = {
title: "404 Not Found - SVR.JS",
openGraph: {
title: "404 Not Found - SVR.JS"
},
twitter: {
title: "404 Not Found - SVR.JS"
}
};
2024-08-24 06:28:25 +02:00
const NotFound = () => {
return (
<>
2024-09-08 06:33:47 +02:00
<div className="flex flex-col min-h-screen">
<Navbar />
2024-09-08 06:33:47 +02:00
<NoScript />
<section
id="404error"
className="flex-center flex-col wrapper container flex-1 flex-grow"
>
<h1 className="text-3xl md:text-5xl text-center">
<span className="text-red-500">404</span> Page not Found
</h1>
<p className="text-lg mt-3 text-muted-foreground">
Please return back to{" "}
<Link href="/" className="underline font-bold">
Home
</Link>
</p>
</section>
<Footer />
2024-09-08 06:33:47 +02:00
</div>
</>
);
2024-08-24 06:28:25 +02:00
};
export default NotFound;