feat(SW-350): Update design for booking widget

This commit is contained in:
Pontus Dreij
2024-10-02 15:36:58 +02:00
parent a5400c1498
commit b9410327a4
6 changed files with 9 additions and 3 deletions

View File

@@ -13,5 +13,5 @@ export default async function BookingWidgetPage() {
return null
}
return <BookingWidget />
return <BookingWidget type="full" />
}

View File

@@ -2,6 +2,7 @@ import "@/app/globals.css"
import "@scandic-hotels/design-system/style.css"
import Script from "next/script"
import React from "react"
import { env } from "@/env/server"
import TrpcProvider from "@/lib/trpc/Provider"

View File

@@ -65,7 +65,7 @@ export default async function RootLayout({
<SkipToMainContent />
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
{header}
<BookingWidget />
<BookingWidget type="full" />
{children}
<Footer />
<TokenRefresher />

View File

@@ -75,6 +75,7 @@
}
.rooms,
.vouchers,
.when {
padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
border-radius: var(--Corner-radius-Small);

View File

@@ -27,7 +27,7 @@
}
}
@media screen and (min-width: 1367px) {
@media screen and (min-width: 767px) {
.section {
padding: var(--Spacing-x1) var(--Spacing-x5);
}

View File

@@ -79,6 +79,10 @@ p.caption {
color: var(--UI-Text-High-contrast);
}
.disabled {
color: var(--Base-Text-Disabled);
}
.center {
text-align: center;
}