-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathfour04.tsx
More file actions
75 lines (66 loc) · 2.05 KB
/
four04.tsx
File metadata and controls
75 lines (66 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"use client";
import Image from "next/image";
import Navbar from "@/components/ui/Navbar";
import { ZButton } from "@/components/ui/Buttons";
import Footer from "@/components/ui/Footer";
import { useRouter } from "next/navigation";
export default function NotFound() {
const router = useRouter();
return (
<div className="flex flex-col min-h-screen relative">
<div className="absolute inset-0 -z-10 bg-[#CEE4E5]">
<Image
src="/art/bg_dots.svg"
alt="Background"
fill
priority
sizes="100vw"
className="object-top object-contain w-full h-full"
unselectable="on"
draggable={false}
/>
</div>
<Navbar page="404" />
<div className="flex-grow mt-24 flex flex-col items-center text-center relative">
<div className="relative w-fit h-fit mb-4">
{/* Shadow */}
<span
className="absolute left-2 top-2 pointer-events-none font-poppins font-extrabold text-[160px] z-0 text-black"
style={{
WebkitTextStroke: "16px black",
}}
>
404
</span>
{/* Stroke */}
<span
className="absolute left-0 top-0 pointer-events-none font-poppins font-extrabold text-[160px] z-10 text-transparent"
style={{
WebkitTextStroke: "16px black",
}}
>
404
</span>
{/* Fill */}
<span className="relative pointer-events-none font-poppins font-extrabold text-[160px] z-20 text-[#90BDFF]">
404
</span>
</div>
<div className="text-3xl mb-8 font-pangolin text-black">
OOPS! You have found this secret page!
<br />
We have nothing to show here...
</div>
<ZButton
type="large"
text="Home"
color="purple"
image="/icons/home.svg"
onClick={() => router.push("/")}
/>
</div>
<div className="h-24" />
<Footer />
</div>
);
}