Skip to content

Commit 037f7ad

Browse files
committed
refactor: 为登录页的标题增加动画
1 parent 39eecf2 commit 037f7ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pages/(blank)/login/modules/Header.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import FlipText from '@/components/FilpText';
12
import SystemLogo from '@/components/SystemLogo';
23
import { LangSwitch } from '@/features/lang';
34
import { ThemeSchemaSwitch } from '@/features/themeSchema';
@@ -8,7 +9,12 @@ const Header = memo(() => {
89
return (
910
<header className="flex-y-center justify-between">
1011
<SystemLogo className="h-64px w-64px text-primary lt-sm:h-48px lt-sm:w-48px" />
11-
<h3 className="text-28px text-primary font-500 lt-sm:text-22px">{t('system.title')}</h3>
12+
13+
<FlipText
14+
className="text-28px text-primary font-500 lt-sm:text-22px"
15+
word={t('system.title')}
16+
/>
17+
1218
<div className="i-flex-col">
1319
<ThemeSchemaSwitch
1420
className="text-20px lt-sm:text-18px"

0 commit comments

Comments
 (0)