-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnot-found.tsx
59 lines (55 loc) · 2.71 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
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
/* eslint-disable tailwindcss/migration-from-tailwind-2 */
import { ChevronLeft } from "lucide-react";
import { Footer } from "@/components/Footer/Footer";
import { Header } from "@/components/Header/Header";
import { Mountain } from "@/components/Icons/Mountain";
import { Link } from "@/components/Link";
import { Particles } from "@/components/Particles";
import { getMetaData, getViewports } from "@/lib/metadata";
export const generateMetadata = () => getMetaData({});
export const generateViewport = getViewports;
export default function Home() {
return (
<>
<main className="text-white">
<div className="relative h-screen">
<div className="pointer-events-none absolute inset-0">
<div className="flex h-screen w-full items-center justify-center">
<div className="absolute">
<div className="relative -z-30 mx-auto w-[400px] max-w-[90%] animate-gradient-svg from-mountain-primary to-mountain-secondary blur-[1px] md:w-[746px] md:blur-sm lg:w-[900px] xl:w-[1200px]">
<Mountain />
</div>
<div className="absolute top-0 -z-20 mx-auto size-full max-w-[100%] bg-gradient-radial to-black to-95% md:w-[746px] lg:w-[900px] xl:w-[1200px]"></div>
<div
className="absolute top-0 -z-10 mx-auto size-full max-w-[100%] md:w-[746px] lg:w-[900px] xl:w-[1200px]"
id="home"
></div>
<Particles id="home" />
<div className="absolute top-0 z-[-1] mx-auto size-full max-w-[100%] bg-[#090907] opacity-70 blur-xl md:w-[746px] lg:w-[900px] lg:blur-2xl xl:w-[1200px]"></div>
</div>
</div>
</div>
<div className="z-[1]">
<Header />
<div className="mx-auto flex h-[calc(100vh_-_120px)] w-[400px] max-w-[90%] flex-auto flex-col justify-center gap-8 text-left text-white md:w-[746px] lg:shrink-0 lg:basis-1/3">
<div className="card-border-gradient flex flex-col items-center justify-center gap-6 rounded-xl bg-[#090907] bg-opacity-10 px-12 py-32 text-center backdrop-blur">
<h1 className="text-center font-inconsolata text-9xl font-bold text-gray-200">
404
</h1>
<p className="font-inconsolata text-2xl text-gray-400">
La página que estás buscando no existe.
</p>
<div className="w-full md:w-48">
<Link href="/" rel="noreferrer">
<ChevronLeft size={16} /> Volver al inicio
</Link>
</div>
</div>
</div>
</div>
</div>
</main>
<Footer />
</>
);
}