Files

20 lines
479 B
TypeScript

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<SupportedLanguage, InvitePageContent> = {
en,
es,
de,
pl,
};
export function getInvitePageContent(language: SupportedLanguage): InvitePageContent {
return content[language];
}