import type { LinkItemType } from "fumadocs-ui/layouts/shared"; import { useTranslation } from "react-i18next"; import { LanguageSwitcher } from "@/components/language-switcher"; type NavLabelKey = "MemShellGenerator" | "ProbeShellGenerator" | "documents" | "about"; function NavLabel({ translationKey }: { translationKey: NavLabelKey }) { const { t } = useTranslation("common"); return t(translationKey); } export const siteConfig = { name: "MemShellParty", url: "https://party.memshell.news", github: "https://github.com/ReaJason/MemShellParty", latestRelease: "https://github.com/ReaJason/MemShellParty/releases/latest", author: "ReaJason", authorGithub: "https://github.com/ReaJason", authorIntro: "Java RASP Developer", blog: "https://reajason.eu.org", navLinks: [ { text: , url: "/memshell", }, { text: , url: "/probeshell", }, { text: , url: "/docs", external: true, }, { text: , url: "/about", }, { type: "custom", children: , secondary: true, }, ] as LinkItemType[], };