feat(SW-190): added hero to static content pages

This commit is contained in:
Erik Tiekstra
2024-08-14 09:29:00 +02:00
parent f1ca9a0704
commit 8220a39a8f
23 changed files with 351 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
import { notFound } from "next/navigation"
import ContentPage from "@/components/ContentType/ContentPage"
import ContentPage from "@/components/ContentType/ContentPage/ContentPage"
import HotelPage from "@/components/ContentType/HotelPage/HotelPage"
import LoyaltyPage from "@/components/ContentType/LoyaltyPage/LoyaltyPage"
import { setLang } from "@/i18n/serverContext"
@@ -19,7 +19,7 @@ export default async function ContentTypePage({
switch (params.contentType) {
case "content-page":
return <ContentPage />
return <ContentPage lang={params.lang} />
case "loyalty-page":
return <LoyaltyPage />
case "hotel-page":