erp-platform/ui/src/views/NotFound.tsx

29 lines
863 B
TypeScript
Raw Normal View History

2025-07-28 12:48:30 +00:00
import React from 'react'
import { useNavigate } from 'react-router-dom'
2025-06-28 21:34:28 +00:00
const NotFoundPage = () => {
2025-07-28 12:48:30 +00:00
const navigate = useNavigate()
2025-06-28 21:34:28 +00:00
return (
2025-07-28 12:48:30 +00:00
<div>
<div className="flex items-center justify-center font-inter">
<div className="text-[8rem] sm:text-[10rem] md:text-[12rem] font-bold bg-gradient-to-br from-primary to-secondary bg-clip-text animate-pulse">
2025-06-28 21:34:28 +00:00
404
</div>
2025-07-28 12:48:30 +00:00
</div>
<p className="flex items-center justify-center text-xl mb-6 text-gray-600">Aradığınız sayfa bulunamadı.</p>
<div className="flex items-center justify-center font-inter">
<button
onClick={() => navigate('/')}
className="px-6 py-3 bg-primary rounded-xl shadow hover:bg-secondary transition"
>
Ana Sayfa'ya Dön
</button>
</div>
2025-06-28 21:34:28 +00:00
</div>
)
}
export default NotFoundPage