feat(projects): 新增网址导航页面

This commit is contained in:
Soybean
2021-11-24 19:14:13 +08:00
parent 98a7d25cf8
commit 32aa5ee75a
11 changed files with 154 additions and 3 deletions

View File

@ -1,2 +1,3 @@
export * from './auth';
export * from './demo';
export * from './website';

View File

@ -0,0 +1,18 @@
/** 网址导航 */
export interface Website {
/** 网址名称 */
title: string;
/** 网址简称 */
abbr: string;
/** 网址图标(网络地址,形状为正方形) */
logo: string;
/** 描述 */
desc: string;
}
/** 网址导航 分类 */
export interface WebsiteCategory {
/** 分类名称 */
title: string;
children: WebsiteCategory[] | Website[];
}

View File

@ -55,4 +55,5 @@ export type RouteKey =
| 'exception_403'
| 'exception_404'
| 'exception_500'
| 'about';
| 'about'
| 'website';