feat: i18n for website

This commit is contained in:
Simon
2025-10-22 22:35:25 +08:00
parent fedeb57f48
commit cd84269427
34 changed files with 1753 additions and 407 deletions

View File

@@ -1,4 +1,8 @@
import { useTranslation } from 'react-i18next'
export default function BetaNotice() {
const { t } = useTranslation('common')
return (
<div className="bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-800 rounded-lg p-4 mb-8">
<div className="flex items-start">
@@ -7,11 +11,9 @@ export default function BetaNotice() {
</div>
<div className="ml-3">
<h3 className="text-sm font-medium text-orange-800 dark:text-orange-200 mb-1">
Beta
{t('beta_notice.title')}
</h3>
<p className="text-sm text-orange-700 dark:text-orange-300">
</p>
<p className="text-sm text-orange-700 dark:text-orange-300">{t('beta_notice.content')}</p>
</div>
</div>
</div>