This commit is contained in:
2025-12-08 01:03:07 +08:00
commit 5c77d25b6d
334 changed files with 71475 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
import I18nKey from "@i18n/i18nKey";
import { i18n } from "@i18n/translation";
import { LinkPreset, type NavBarLink } from "@/types/config";
export const LinkPresets: { [key in LinkPreset]: NavBarLink } = {
[LinkPreset.Home]: {
name: i18n(I18nKey.home),
url: "/",
icon: "material-symbols:home",
},
[LinkPreset.About]: {
name: i18n(I18nKey.about),
url: "/about/",
icon: "material-symbols:person",
},
[LinkPreset.Archive]: {
name: i18n(I18nKey.archive),
url: "/archive/",
icon: "material-symbols:archive",
},
[LinkPreset.Friends]: {
name: i18n(I18nKey.friends),
url: "/friends/",
icon: "material-symbols:group",
},
[LinkPreset.Anime]: {
name: i18n(I18nKey.anime),
url: "/anime/",
icon: "material-symbols:movie",
},
[LinkPreset.Diary]: {
name: i18n(I18nKey.diary),
url: "/diary/",
icon: "material-symbols:book",
},
[LinkPreset.Gallery]: {
name: i18n(I18nKey.gallery),
url: "/gallery/",
icon: "material-symbols:photo-library",
},
[LinkPreset.Projects]: {
name: i18n(I18nKey.projects),
url: "/projects/",
icon: "material-symbols:work",
},
[LinkPreset.Skills]: {
name: i18n(I18nKey.skills),
url: "/skills/",
icon: "material-symbols:psychology",
},
[LinkPreset.Timeline]: {
name: i18n(I18nKey.timeline),
url: "/timeline/",
icon: "material-symbols:timeline",
},
};