32 lines
820 B
TypeScript
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>
|
|
)
|
|
}
|