fix: remove redundant DialogTrigger from SidePeek

This commit is contained in:
Arvid Norlin
2024-10-15 15:04:42 +02:00
parent 103dcc7f1e
commit b1beb7931a
12 changed files with 71 additions and 90 deletions

View File

@@ -33,7 +33,7 @@ export default function Contact({ hotel }: ContactProps) {
{intl.formatMessage({ id: "Driving directions" })}
</span>
<Link href="#" color="peach80">
{intl.formatMessage({ id: "Google Maps" })}
Google Maps
</Link>
</li>
<li>

View File

@@ -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);

View File

@@ -28,10 +28,10 @@ export default function EnterDetailsSidePeek({ hotel }: SidePeekProps) {
isOpen={activeSidePeek === SidePeekEnum.hotelDetails}
handleClose={close}
>
<article className={styles.article}>
<article className={styles.spacing}>
<Contact hotel={hotel} />
<Divider />
<section className={styles.section}>
<section className={styles.spacing}>
<Body>{hotel.hotelContent.texts.descriptions.medium}</Body>
<Body>{hotel.hotelContent.texts.facilityInformation}</Body>