feat(SW-68): remove fragment
This commit is contained in:
@@ -29,33 +29,31 @@ export default async function SelectHotelPage({
|
|||||||
const tempSearchTerm = "Stockholm"
|
const tempSearchTerm = "Stockholm"
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<main className={styles.main}>
|
||||||
<main className={styles.main}>
|
<section>
|
||||||
<section>
|
<StaticMap
|
||||||
<StaticMap
|
city={tempSearchTerm}
|
||||||
city={tempSearchTerm}
|
width={340}
|
||||||
width={340}
|
height={180}
|
||||||
height={180}
|
zoomLevel={11}
|
||||||
zoomLevel={11}
|
mapType="roadmap"
|
||||||
mapType="roadmap"
|
/>
|
||||||
/>
|
<Link
|
||||||
<Link
|
className={styles.link}
|
||||||
className={styles.link}
|
color="burgundy"
|
||||||
color="burgundy"
|
variant="underscored"
|
||||||
variant="underscored"
|
href="#"
|
||||||
href="#"
|
>
|
||||||
>
|
{formatMessage({ id: "Show map" })}
|
||||||
{formatMessage({ id: "Show map" })}
|
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
||||||
<ChevronRightIcon color="burgundy" className={styles.icon} />
|
</Link>
|
||||||
</Link>
|
<HotelFilter filters={hotelFilters} />
|
||||||
<HotelFilter filters={hotelFilters} />
|
</section>
|
||||||
</section>
|
<section className={styles.hotelCards}>
|
||||||
<section className={styles.hotelCards}>
|
{hotels.map((hotel) => (
|
||||||
{hotels.map((hotel) => (
|
<HotelCard key={hotel.name} hotel={hotel} />
|
||||||
<HotelCard key={hotel.name} hotel={hotel} />
|
))}
|
||||||
))}
|
</section>
|
||||||
</section>
|
</main>
|
||||||
</main>
|
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user