add plain-text support for user page

This commit is contained in:
Dawn_Ocean
2024-03-07 11:32:37 +08:00
parent a5aa10d6f4
commit 34c3753d2c
3 changed files with 53 additions and 8 deletions
+3
View File
@@ -1,14 +1,17 @@
import { PageFooterText, pageFooterZhCn } from './PageFooter';
import { MainPageText, mainPageZhCn } from './MainPage';
import { UserPageText, userPageZhCn } from './UserPage';
interface TextRecord {
pageFooter: PageFooterText;
mainPage: MainPageText;
userPage: UserPageText;
}
const textZhCn: TextRecord = {
pageFooter: pageFooterZhCn,
mainPage: mainPageZhCn,
userPage: userPageZhCn,
};
// type Lang = 'zh_CN' | 'en_US' | ...;