feat(WEB-220): label translations

This commit is contained in:
Simon Emanuelsson
2024-05-22 10:27:16 +02:00
parent 125998efcf
commit de79c2dc80
80 changed files with 1104 additions and 460 deletions

View File

@@ -12,5 +12,5 @@ export default function ContentTypeLayout({
}: React.PropsWithChildren<
LayoutArgs<LangParams & ContentTypeParams & UIDParams>
>) {
return <div className={styles.layout}>{children}</div>
return <section className={styles.layout}>{children}</section>
}

View File

@@ -14,10 +14,10 @@ export default async function ContentTypePage({
params,
}: PageArgs<LangParams & ContentTypeParams & UIDParams, {}>) {
switch (params.contentType) {
case "loyalty-page":
return <LoyaltyPage />
case "content-page":
return <ContentPage />
case "loyalty-page":
return <LoyaltyPage />
default:
const type: never = params.contentType
console.error(`Unsupported content type given: ${type}`)