perf: multi language

This commit is contained in:
Junyan Qin
2025-05-15 10:40:36 +08:00
parent a9f4dc517a
commit 347da6142e
12 changed files with 80 additions and 24 deletions
@@ -1,4 +1,5 @@
import styles from './HomeSidebar.module.css';
import { I18nText } from '@/app/infra/entities/api';
export interface ISidebarChildVO {
id: string;
@@ -6,7 +7,7 @@ export interface ISidebarChildVO {
name: string;
route: string;
description: string;
helpLink: string;
helpLink: I18nText;
}
export class SidebarChildVO {
@@ -15,7 +16,7 @@ export class SidebarChildVO {
name: string;
route: string;
description: string;
helpLink: string;
helpLink: I18nText;
constructor(props: ISidebarChildVO) {
this.id = props.id;