-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathfour04-mobile.tsx
More file actions
80 lines (70 loc) · 2.19 KB
/
four04-mobile.tsx
File metadata and controls
80 lines (70 loc) · 2.19 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
76
77
78
79
80
"use client";
import { ZButton } from "@/components/ui/Buttons";
import Footer from "@/components/ui/Footer";
import Image from "next/image";
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>
<div className="flex-grow mt-16 flex flex-col items-center text-center relative">
<div className="text-5xl mb-2 font-pangolin text-black">
FFCS-inator
</div>
<div className="text-2xl mb-8 font-pangolin text-black">
By CodeChef-VIT
</div>
<div className="relative w-fit h-fit mb-4">
{/*Shadow*/}
<span
className="absolute left-1.5 top-1.5 pointer-events-none font-poppins font-extrabold text-[96px] z-0 text-black"
style={{
WebkitTextStroke: "8px black",
}}
>
404
</span>
{/*Stroke*/}
<span
className="absolute left-0 top-0 pointer-events-none font-poppins font-extrabold text-[96px] z-10 text-transparent"
style={{
WebkitTextStroke: "8px black",
}}
>
404
</span>
{/*Fill*/}
<span className="relative pointer-events-none font-poppins font-extrabold text-[96px] z-20 text-[#90BDFF]">
404
</span>
</div>
<div className="text-xl mb-16 font-pangolin text-black">
OOPS! You have found this secret page!
<br />
We have nothing to show here...
</div>
<ZButton
type="regular"
text="Home"
color="purple"
image="/icons/home.svg"
onClick={() => router.push("/")}
/>
</div>
<div className="h-8" />
<Footer type="mobile" />
</div>
);
}