-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnot-found.tsx
23 lines (20 loc) · 1.1 KB
/
not-found.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Image from "next/image";
import Image404a from "@/app/assets/404-mannen-after.jpg";
import Image404b from "@/app/assets/404-mannen-before.jpg";
import NavButton from "./components/NavButton";
const NotFound = () => {
return (
<main className="grid min-w-screen min-h-screen gap-4 place-content-center">
<h1 className="text-5xl text-center">Ser ut som du har havnet på feil sted</h1>
<p className="text-center">404: Page not found</p>
<div className="flex flex-row justify-center">
<Image src={Image404b} alt={"Jo, desverre, død i 2023?"} width={300} className="justify-self-center rounded-l-lg rounded-r-none" />
<Image src={Image404a} alt={"Jo, desverre, død i 2024"} width={300} className="justify-self-center rounded-l-none rounded-r-lg" />
</div>
<div className="place-self-center">
<NavButton buttonText="Andrej er lav :)" href="/" title="Tilbake til startsiden (Sikkert Andrej sin feil at du havna her, sorry!)" />
</div>
</main>
);
}
export default NotFound;