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