feat: i18n support

This commit is contained in:
JustSong
2025-02-02 13:32:52 +08:00
parent 9b81c88250
commit 174dea7763
3 changed files with 15 additions and 10 deletions

View File

@@ -68,11 +68,7 @@ const Home = () => {
</Card.Header>
<Card.Description style={{ lineHeight: '1.6' }}>
<p>{t('home.welcome.description')}</p>
{!userState.user && (
<p>
{t('home.welcome.login_notice')}
</p>
)}
{!userState.user && <p>{t('home.welcome.login_notice')}</p>}
</Card.Description>
</Card.Content>
</Card>