diff --git a/app/[lang]/(live)/(public)/hotelreservation/[step]/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/[step]/page.tsx index 3cbbcdafb..8718c8db7 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/[step]/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/[step]/page.tsx @@ -36,37 +36,35 @@ export default async function StepPage({ } return ( - <> -
- - - - - - - -
- - - - -
- +
+ + + + + + + +
+ + + + +
) } diff --git a/components/HotelReservation/Contact/index.tsx b/components/HotelReservation/Contact/index.tsx index bcdaeb756..2f4e8ccd5 100644 --- a/components/HotelReservation/Contact/index.tsx +++ b/components/HotelReservation/Contact/index.tsx @@ -33,7 +33,7 @@ export default function Contact({ hotel }: ContactProps) { {intl.formatMessage({ id: "Driving directions" })} - {intl.formatMessage({ id: "Google Maps" })} + Google Maps
  • diff --git a/components/HotelReservation/EnterDetails/SidePeek/enterDetailsSidePeek.module.css b/components/HotelReservation/EnterDetails/SidePeek/enterDetailsSidePeek.module.css index 5e619bd69..be80e5dbd 100644 --- a/components/HotelReservation/EnterDetails/SidePeek/enterDetailsSidePeek.module.css +++ b/components/HotelReservation/EnterDetails/SidePeek/enterDetailsSidePeek.module.css @@ -1,10 +1,4 @@ -.article { - display: flex; - flex-direction: column; - gap: var(--Spacing-x2); -} - -.section { +.spacing { display: flex; flex-direction: column; gap: var(--Spacing-x2); diff --git a/components/HotelReservation/EnterDetails/SidePeek/index.tsx b/components/HotelReservation/EnterDetails/SidePeek/index.tsx index 272683732..abbad2dec 100644 --- a/components/HotelReservation/EnterDetails/SidePeek/index.tsx +++ b/components/HotelReservation/EnterDetails/SidePeek/index.tsx @@ -28,10 +28,10 @@ export default function EnterDetailsSidePeek({ hotel }: SidePeekProps) { isOpen={activeSidePeek === SidePeekEnum.hotelDetails} handleClose={close} > -
    +
    -
    +
    {hotel.hotelContent.texts.descriptions.medium} {hotel.hotelContent.texts.facilityInformation} diff --git a/components/TempDesignSystem/SidePeek/index.tsx b/components/TempDesignSystem/SidePeek/index.tsx index ee59c0e28..c1a432eb8 100644 --- a/components/TempDesignSystem/SidePeek/index.tsx +++ b/components/TempDesignSystem/SidePeek/index.tsx @@ -10,7 +10,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { CloseLargeIcon } from "@/components/Icons" +import { CloseIcon } from "@/components/Icons" import { SidePeekContext } from "@/components/SidePeekProvider" import Button from "../Button" @@ -52,48 +52,43 @@ function SidePeek({ ) } - return (
    - - - - - + + +
    ) } diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index b5e839d9c..283b4a02d 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -116,7 +116,6 @@ "Get member benefits & offers": "Få medlemsfordele og tilbud", "Go back to edit": "Gå tilbage til redigering", "Go back to overview": "Gå tilbage til oversigten", - "Google Maps": "Google Maps", "Guest information": "Gæsteinformation", "Guests & Rooms": "Gæster & værelser", "Hi": "Hei", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index 5fecef276..8ae8402d9 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -116,7 +116,6 @@ "Get member benefits & offers": "Holen Sie sich Vorteile und Angebote für Mitglieder", "Go back to edit": "Zurück zum Bearbeiten", "Go back to overview": "Zurück zur Übersicht", - "Google Maps": "Google Maps", "Guest information": "Informationen für Gäste", "Guests & Rooms": "Gäste & Zimmer", "Hi": "Hallo", diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index 84a76922f..1832f9fbd 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -119,7 +119,6 @@ "Get member benefits & offers": "Get member benefits & offers", "Go back to edit": "Go back to edit", "Go back to overview": "Go back to overview", - "Google Maps": "Google Maps", "Guest information": "Guest information", "Guests & Rooms": "Guests & Rooms", "Hi": "Hi", diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index fd1c9e57d..6f12abb4b 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -116,7 +116,6 @@ "Get member benefits & offers": "Hanki jäsenetuja ja -tarjouksia", "Go back to edit": "Palaa muokkaamaan", "Go back to overview": "Palaa yleiskatsaukseen", - "Google Maps": "Google Maps", "Guest information": "Vieraan tiedot", "Guests & Rooms": "Vieraat & Huoneet", "Hi": "Hi", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index 20bbcc37d..5b64ac813 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -115,7 +115,6 @@ "Get member benefits & offers": "Få medlemsfordeler og tilbud", "Go back to edit": "Gå tilbake til redigering", "Go back to overview": "Gå tilbake til oversikten", - "Google Maps": "Google Maps", "Guest information": "Informasjon til gjester", "Guests & Rooms": "Gjester & rom", "Hi": "Hei", diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index 7be6d17f1..9812c2c8e 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -115,7 +115,6 @@ "Get member benefits & offers": "Ta del av medlemsförmåner och erbjudanden", "Go back to edit": "Gå tillbaka till redigeringen", "Go back to overview": "Gå tillbaka till översikten", - "Google Maps": "Google Maps", "Guest information": "Information till gästerna", "Guests & Rooms": "Gäster & rum", "Hi": "Hej", diff --git a/stores/enter-details.ts b/stores/enter-details.ts index d4803dcb3..360d2d5b7 100644 --- a/stores/enter-details.ts +++ b/stores/enter-details.ts @@ -23,7 +23,7 @@ interface EnterDetailsState { isValid: Record completeStep: (updatedData: Partial) => void navigate: (step: StepEnum, searchParams?: Record) => void - openSidePeek: (key: SidePeekEnum.hotelDetails | null) => void + openSidePeek: (key: SidePeekEnum | null) => void closeSidePeek: () => void } @@ -108,7 +108,7 @@ export function initEditDetailsState(currentStep: StepEnum) { window.history.pushState({}, "", step + "?" + query.toString()) }) ), - openSidePeek: (key: SidePeekEnum | null) => set({ activeSidePeek: key }), + openSidePeek: (key) => set({ activeSidePeek: key }), closeSidePeek: () => set({ activeSidePeek: null }), currentStep, activeSidePeek: null,