mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2025-04-18 10:53:48 +01:00
18 lines
449 B
TypeScript
18 lines
449 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/",
|
|
},
|
|
};
|