-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnot-found.tsx
More file actions
36 lines (32 loc) · 1.34 KB
/
not-found.tsx
File metadata and controls
36 lines (32 loc) · 1.34 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
import Image from "next/image"
import Link from "next/link"
import { FiHome } from "react-icons/fi"
import notFoundBackground from "@/assets/shapes/not-found.svg"
import { Button } from "@/components/ui/button"
export default function NotFound() {
return (
<main className="relative isolate flex min-h-screen w-full items-center justify-center overflow-hidden">
<section className="relative flex h-full w-full items-center justify-center">
<div className="pointer-events-none absolute inset-0 flex items-center justify-center">
<Image src={notFoundBackground} alt="" aria-hidden priority className="h-auto w-full max-w-4xl select-none" />
</div>
<div className="relative z-10 flex flex-col items-center gap-12 text-center">
<h1 className="typo-display-extralarge inline-block bg-linear-to-b from-text-primary to-text-secondary bg-clip-text py-9 text-transparent">
404
</h1>
<p className="typo-headline-large text-text-primary">
Non trovo quello che cerchi.
<br />
Controlla l'URL o visita un'altra sezione del sito.
</p>
<Button asChild variant="primary" size="lg">
<Link href="/">
Home
<FiHome />
</Link>
</Button>
</div>
</section>
</main>
)
}