2025-05-28 05:55:11 +00:00
import React from 'react' ;
2025-08-16 19:47:24 +00:00
import { FaFrown } from 'react-icons/fa' ;
2025-08-11 06:34:44 +00:00
import { ROUTES_ENUM } from '@/routes/route.constant' ;
import { useLocalization } from '@/utils/hooks/useLocalization' ;
2025-05-28 05:55:11 +00:00
const NotFound : React.FC = ( ) = > {
2025-08-11 06:34:44 +00:00
const { translate } = useLocalization ( )
2025-05-28 13:47:54 +00:00
2025-05-28 05:55:11 +00:00
return (
< div className = "flex flex-col items-center justify-center min-h-screen bg-white text-gray-700 p-4" > { /* Arka plan ve metin rengi güncellendi, padding eklendi */ }
2025-08-16 19:47:24 +00:00
< FaFrown size = { 128 } className = "text-blue-600 mb-6" / > { /* İkon boyutu ve rengi güncellendi */ }
2025-05-28 05:55:11 +00:00
< h1 className = "text-7xl font-bold text-gray-900 mb-4" > 404 < / h1 > { /* Başlı k boyutu ve rengi güncellendi */ }
< p className = "text-xl text-gray-600 mb-8 text-center max-w-md" > { /* Metin rengi, margin ve max-width güncellendi */ }
2025-08-11 06:34:44 +00:00
{ translate ( '::Public.notFound.message' ) }
2025-05-28 05:55:11 +00:00
< / p >
2025-08-11 06:34:44 +00:00
< a href = { ROUTES_ENUM . public . home } className = "px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition duration-300 text-lg font-semibold" > { /* Buton stili güncellendi */ }
{ translate ( '::Public.notFound.button' ) }
2025-05-28 05:55:11 +00:00
< / a >
< / div >
) ;
} ;
export default NotFound ;