import TrackingSDK from "@/components/TrackingSDK"

import styles from "./page.module.css"

import {
  TrackingChannelEnum,
  type TrackingSDKPageData,
} from "@/types/components/tracking"
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>
  )
}
