-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotFound.tsx
More file actions
42 lines (36 loc) · 1.35 KB
/
NotFound.tsx
File metadata and controls
42 lines (36 loc) · 1.35 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
import { useLocation } from "react-router-dom";
import { useEffect } from "react";
import { ArrowLeft } from "lucide-react";
import { TechBackground } from "@/components/TechShapes";
const NotFound = () => {
const location = useLocation();
useEffect(() => {
console.error(
"404 Error: User attempted to access non-existent route:",
location.pathname
);
}, [location.pathname]);
return (
<div className="min-h-screen relative overflow-hidden flex flex-col items-center justify-center px-4 py-12">
{/* Background elements */}
<TechBackground />
<div className="text-center z-10 animate-fade-in">
<div className="text-tech-red text-7xl font-bold mb-4 animate-pulse-subtle">404</div>
<h1 className="text-3xl font-display font-bold text-tech-white mb-6 tech-border pb-2">
Página não encontrada
</h1>
<p className="text-tech-white/70 text-lg mb-8 max-w-sm">
A página que você está procurando não existe ou foi removida.
</p>
<a
href="/"
className="inline-flex items-center justify-center px-6 py-3 tech-box text-tech-white hover:text-tech-red transition-colors"
>
<ArrowLeft className="w-4 h-4 mr-2" />
Voltar para a página inicial
</a>
</div>
</div>
);
};
export default NotFound;