feat: initial draft and components creation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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];
|
||||
}
|
||||
Reference in New Issue
Block a user