chore: add menu data to version control

This commit is contained in:
unix
2020-04-10 09:29:21 +08:00
parent abe91508fc
commit 90fe7f9da6
3 changed files with 335 additions and 0 deletions

14
lib/data/index.ts Normal file
View File

@@ -0,0 +1,14 @@
import enUS from './metadata-en-us.json'
import zhCN from './metadata-zh-cn.json'
import { Sides } from 'lib/components/sidebar/side-item'
export interface MultilLocaleMetaInformation {
[key: string]: Sides[]
}
const Metadatas: MultilLocaleMetaInformation = {
'en-us': enUS,
'zh-cn': zhCN,
}
export default Metadatas