// src/pages/NotFound.jsx import React from 'react'; import { Link } from 'react-router-dom'; import SEO from '../components/SEO'; import { useTranslation } from '../js/i18n'; const NotFound = () => { const { t } = useTranslation(); // 使用 useTranslation 钩子 return ( <> 404 {t('notFound.title')} {t('notFound.description')} {t('recommendedTools')} {t('tools.jsonFormatter.title')} {t('tools.urlEncodeDecode.title')} {t('tools.imageBackgroundRemover.title')} {t('tools.textBehindImage.title')} {t('tools.openAITimeline.title')} {t('tools.modelPrice.title')} > ); }; export default NotFound;
{t('notFound.description')}