import { env } from "@/env/server"

import { setLang } from "@/i18n/serverContext"

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

import type { LangParams, PageArgs } from "@/types/params"

export default function HotelReservationPage({ params }: PageArgs<LangParams>) {
  setLang(params.lang)

  if (!env.SHOW_BOOKINGWIDGET_HOTELRESERVATION_PATH) {
    return null
  }

  return (
    <div className={styles.page}>
      New booking flow! Please report errors/issues in Slack.
    </div>
  )
}
