mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
19 lines
445 B
TypeScript
19 lines
445 B
TypeScript
import { LinkPreset, type NavBarLink } from '@/types/config'
|
|
import I18nKey from '@i18n/i18nKey'
|
|
import { i18n } from '@i18n/translation'
|
|
|
|
export const LinkPresets: { [key in LinkPreset]: NavBarLink } = {
|
|
[LinkPreset.Home]: {
|
|
name: i18n(I18nKey.home),
|
|
url: '/',
|
|
},
|
|
[LinkPreset.About]: {
|
|
name: i18n(I18nKey.about),
|
|
url: '/about/',
|
|
},
|
|
[LinkPreset.Archive]: {
|
|
name: i18n(I18nKey.archive),
|
|
url: '/archive/',
|
|
},
|
|
}
|