feat(SW-68): add semantic elements
This commit is contained in:
@@ -7,11 +7,7 @@
|
|||||||
background-color: var(--Scandic-Brand-Warm-White);
|
background-color: var(--Scandic-Brand-Warm-White);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.hotelSection {
|
||||||
padding-left: var(--Spacing-x0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: var(--Spacing-x4);
|
gap: var(--Spacing-x4);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default async function SelectHotelPage({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<main className={styles.main}>
|
<main className={styles.main}>
|
||||||
<nav className={styles.nav}>
|
<section>
|
||||||
<StaticMap
|
<StaticMap
|
||||||
city={tempSearchTerm}
|
city={tempSearchTerm}
|
||||||
width={340}
|
width={340}
|
||||||
@@ -49,8 +49,8 @@ export default async function SelectHotelPage({
|
|||||||
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
||||||
</Link>
|
</Link>
|
||||||
<HotelFilter filters={hotelFilters} />
|
<HotelFilter filters={hotelFilters} />
|
||||||
</nav>
|
</section>
|
||||||
<section className={styles.section}>
|
<section className={styles.hotelSection}>
|
||||||
{hotels.map((hotel) => (
|
{hotels.map((hotel) => (
|
||||||
<HotelCard key={hotel.name} hotel={hotel} />
|
<HotelCard key={hotel.name} hotel={hotel} />
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user