import type { SupportedLanguage } from "@/lib/i18n/config"; import { de } from "./de"; import { en } from "./en"; import { es } from "./es"; import { pl } from "./pl"; import type { InvitePageContent } from "./types"; export type { InvitePageContent } from "./types"; const content: Record = { en, es, de, pl, }; export function getInvitePageContent(language: SupportedLanguage): InvitePageContent { return content[language]; }