feat(SW-467): add routing for details steps
This commit is contained in:
@@ -18,6 +18,46 @@ export const selectHotel = {
|
||||
de: `${hotelReservation.de}/select-hotel`,
|
||||
}
|
||||
|
||||
// TODO: Translate paths
|
||||
export const selectBed = {
|
||||
en: `${hotelReservation.en}/select-bed`,
|
||||
sv: `${hotelReservation.sv}/select-bed`,
|
||||
no: `${hotelReservation.no}/select-bed`,
|
||||
fi: `${hotelReservation.fi}/select-bed`,
|
||||
da: `${hotelReservation.da}/select-bed`,
|
||||
de: `${hotelReservation.de}/select-bed`,
|
||||
}
|
||||
|
||||
// TODO: Translate paths
|
||||
export const breakfast = {
|
||||
en: `${hotelReservation.en}/breakfast`,
|
||||
sv: `${hotelReservation.sv}/breakfast`,
|
||||
no: `${hotelReservation.no}/breakfast`,
|
||||
fi: `${hotelReservation.fi}/breakfast`,
|
||||
da: `${hotelReservation.da}/breakfast`,
|
||||
de: `${hotelReservation.de}/breakfast`,
|
||||
}
|
||||
|
||||
// TODO: Translate paths
|
||||
export const details = {
|
||||
en: `${hotelReservation.en}/details`,
|
||||
sv: `${hotelReservation.sv}/details`,
|
||||
no: `${hotelReservation.no}/details`,
|
||||
fi: `${hotelReservation.fi}/details`,
|
||||
da: `${hotelReservation.da}/details`,
|
||||
de: `${hotelReservation.de}/details`,
|
||||
}
|
||||
|
||||
// TODO: Translate paths
|
||||
export const payments = {
|
||||
en: `${hotelReservation.en}/payment`,
|
||||
sv: `${hotelReservation.sv}/payment`,
|
||||
no: `${hotelReservation.no}/payment`,
|
||||
fi: `${hotelReservation.fi}/payment`,
|
||||
da: `${hotelReservation.da}/payment`,
|
||||
de: `${hotelReservation.de}/payment`,
|
||||
}
|
||||
|
||||
// TODO: Translate paths
|
||||
export const selectHotelMap = {
|
||||
en: `${selectHotel.en}/map`,
|
||||
@@ -48,4 +88,11 @@ export const bookingConfirmation = {
|
||||
de: `${hotelReservation.de}/buchungsbesttigung`,
|
||||
}
|
||||
|
||||
export const bookingFlow = [...Object.values(hotelReservation)]
|
||||
export const bookingFlow = [
|
||||
...Object.values(selectHotel),
|
||||
...Object.values(selectBed),
|
||||
...Object.values(breakfast),
|
||||
...Object.values(details),
|
||||
...Object.values(payments),
|
||||
...Object.values(selectHotelMap),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user