feat(SW-243): implement mobile design
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--Spacing-x4);
|
||||
padding: var(--Spacing-x4) var(--Spacing-x4);
|
||||
background-color: var(--Scandic-Brand-Warm-White);
|
||||
min-height: 100dvh;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--Spacing-x3);
|
||||
width: 100%;
|
||||
max-width: 525px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--Spacing-x2);
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import ConfirmationCard from "@/components/HotelReservation/BookingConfirmation/ConfirmationCard"
|
||||
import ConfirmationSummary from "@/components/HotelReservation/BookingConfirmation/ConfirmationSummary"
|
||||
import ConfirmationTimes from "@/components/HotelReservation/BookingConfirmation/ConfirmationTimes"
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
|
||||
import styles from "./page.module.css"
|
||||
|
||||
export default function BookingConfirmationPage() {
|
||||
return (
|
||||
<main className={styles.main}>
|
||||
<section className={styles.section}>
|
||||
<div>
|
||||
<Title textAlign="center">Thank you</Title>
|
||||
<Title textAlign="center" as="h3">
|
||||
We look forward to your visit!
|
||||
</Title>
|
||||
</div>
|
||||
<Body color="burgundy" textAlign="center">
|
||||
We have sent a detailed confirmation of your booking to your email:
|
||||
lisa.andersson@gmail.com.
|
||||
</Body>
|
||||
<div className={styles.buttons}>
|
||||
<Button
|
||||
size="small"
|
||||
theme="base"
|
||||
intent="secondary"
|
||||
className={styles.button}
|
||||
>
|
||||
Download the Scandic app
|
||||
</Button>
|
||||
<Button
|
||||
size="small"
|
||||
theme="base"
|
||||
intent="secondary"
|
||||
className={styles.button}
|
||||
>
|
||||
View your booking
|
||||
</Button>
|
||||
</div>
|
||||
</section>
|
||||
<ConfirmationCard />
|
||||
<ConfirmationTimes />
|
||||
<ConfirmationSummary />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user