@@ -13,19 +15,19 @@ export default async function ConfirmationSummary() {
{intl.formatMessage({ id: "Summary" })}
- Type of room: Standard Room
+ {`Type of room: ${summary.roomType}`}
1648 SEK
- Type of bed: King Bed
+ {`Type of bed: ${summary.bedType}`}
0 SEK
- Breakfast: Breakfast Buffé
+ {`Breakfast: ${summary.breakfast}`}
198 SEK
- Flexibility: Free Rebooking
+ {`Flexibility: ${summary.flexibility}`}
200 SEK
diff --git a/components/HotelReservation/BookingConfirmation/ConfirmationSummary/confirmationSummary.module.css b/components/HotelReservation/BookingConfirmation/SummarySection/summarySection.module.css
similarity index 100%
rename from components/HotelReservation/BookingConfirmation/ConfirmationSummary/confirmationSummary.module.css
rename to components/HotelReservation/BookingConfirmation/SummarySection/summarySection.module.css
diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json
index 5900321bb..752aaffcb 100644
--- a/i18n/dictionaries/en.json
+++ b/i18n/dictionaries/en.json
@@ -152,6 +152,11 @@
"Check in": "Check in",
"Check out": "Check out",
"Summary": "Summary",
+ "Thank you": "Thank you",
+ "We look forward to your visit!": "We look forward to your visit!",
+ "We have sent a detailed confirmation of your booking to your email: ": "We have sent a detailed confirmation of your booking to your email: ",
+ "Download the Scandic app": "Download the Scandic app",
+ "View your booking": "View your booking",
"Where to": "Where to",
"When": "When",
"Rooms & Guests": "Rooms & Guests",
diff --git a/types/components/hotelReservation/bookingConfirmation/bookingConfirmation.ts b/types/components/hotelReservation/bookingConfirmation/bookingConfirmation.ts
new file mode 100644
index 000000000..8d81b458d
--- /dev/null
+++ b/types/components/hotelReservation/bookingConfirmation/bookingConfirmation.ts
@@ -0,0 +1,40 @@
+export type BookingConfirmation = {
+ email: string
+ hotel: {
+ name: string
+ address: string
+ location: string
+ phone: string
+ image: string
+ checkIn: string
+ checkOut: string
+ breakfast: {
+ start: string
+ end: string
+ }
+ }
+ stay: {
+ nights: number
+ start: string
+ end: string
+ }
+ summary: {
+ roomType: string
+ bedType: string
+ breakfast: string
+ flexibility: string
+ }
+}
+
+export type IntroSectionProps = {
+ email: BookingConfirmation["email"]
+}
+
+export type StaySectionProps = {
+ hotel: BookingConfirmation["hotel"]
+ stay: BookingConfirmation["stay"]
+}
+
+export type SummarySectionProps = {
+ summary: BookingConfirmation["summary"]
+}