diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/get-booking/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/get-booking/page.tsx index 1ff30e14e..a82f4a081 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/get-booking/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/get-booking/page.tsx @@ -1,4 +1,5 @@ import FindMyBooking from "@/components/HotelReservation/FindMyBooking" +import { getIntl } from "@/i18n" import styles from "./page.module.css" @@ -11,3 +12,11 @@ export default function GetBookingPage() { ) } + +export async function generateMetadata() { + const intl = await getIntl() + + return { + title: intl.formatMessage({ id: "Find booking" }), + } +} diff --git a/apps/scandic-web/components/HotelReservation/FindMyBooking/index.tsx b/apps/scandic-web/components/HotelReservation/FindMyBooking/index.tsx index 5d35c8bb7..11b99e8a6 100644 --- a/apps/scandic-web/components/HotelReservation/FindMyBooking/index.tsx +++ b/apps/scandic-web/components/HotelReservation/FindMyBooking/index.tsx @@ -109,6 +109,7 @@ export default function FindMyBooking() { defaultMessage: "Email", })} name="email" + type="email" placeholder="anna@scandichotels.com" registerOptions={{ required: true }} />