feat(SW-350): Update design for booking widget
This commit is contained in:
@@ -13,5 +13,5 @@ export default async function BookingWidgetPage() {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return <BookingWidget />
|
return <BookingWidget type="full" />
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import "@/app/globals.css"
|
|||||||
import "@scandic-hotels/design-system/style.css"
|
import "@scandic-hotels/design-system/style.css"
|
||||||
|
|
||||||
import Script from "next/script"
|
import Script from "next/script"
|
||||||
|
import React from "react"
|
||||||
|
|
||||||
import { env } from "@/env/server"
|
import { env } from "@/env/server"
|
||||||
import TrpcProvider from "@/lib/trpc/Provider"
|
import TrpcProvider from "@/lib/trpc/Provider"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export default async function RootLayout({
|
|||||||
<SkipToMainContent />
|
<SkipToMainContent />
|
||||||
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
|
<ServerIntlProvider intl={{ defaultLocale, locale, messages }}>
|
||||||
{header}
|
{header}
|
||||||
<BookingWidget />
|
<BookingWidget type="full" />
|
||||||
{children}
|
{children}
|
||||||
<Footer />
|
<Footer />
|
||||||
<TokenRefresher />
|
<TokenRefresher />
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rooms,
|
.rooms,
|
||||||
|
.vouchers,
|
||||||
.when {
|
.when {
|
||||||
padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
|
padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
|
||||||
border-radius: var(--Corner-radius-Small);
|
border-radius: var(--Corner-radius-Small);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 767px) {
|
||||||
.section {
|
.section {
|
||||||
padding: var(--Spacing-x1) var(--Spacing-x5);
|
padding: var(--Spacing-x1) var(--Spacing-x5);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,6 +79,10 @@ p.caption {
|
|||||||
color: var(--UI-Text-High-contrast);
|
color: var(--UI-Text-High-contrast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.disabled {
|
||||||
|
color: var(--Base-Text-Disabled);
|
||||||
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user