Files
web/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/page.tsx
Joakim Jäderberg 7dee6d5083 Merged in chore/move-enter-details (pull request #2778)
Chore/move enter details

Approved-by: Anton Gunnarsson
2025-09-11 07:16:24 +00:00

32 lines
820 B
TypeScript

import { TrackingSDK } from "@scandic-hotels/tracking/TrackingSDK"
import {
TrackingChannelEnum,
type TrackingSDKPageData,
} from "@scandic-hotels/tracking/types"
import styles from "./page.module.css"
import type { LangParams, PageArgs } from "@/types/params"
export default async function HotelReservationPage(
props: PageArgs<LangParams>
) {
const params = await props.params
const pageTrackingData: TrackingSDKPageData = {
pageId: "hotelreservation",
domainLanguage: params.lang,
channel: TrackingChannelEnum["hotelreservation"],
pageName: "hotelreservation",
siteSections: "hotelreservation",
pageType: "hotelreservationstartpage",
siteVersion: "new-web",
}
return (
<div className={styles.page}>
<TrackingSDK pageData={pageTrackingData} />
</div>
)
}