feat: css and syntax changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.main {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(min-content, max-content));
|
||||
padding: 32px 32px 0px 32px;
|
||||
grid-template-columns: repeat(3, auto);
|
||||
padding: var(--Spacing-x4) var(--Spacing-x4) 0 var(--Spacing-x4);
|
||||
height: 100dvh;
|
||||
background-color: var(--Scandic-Brand-Warm-White);
|
||||
}
|
||||
|
||||
@@ -16,13 +16,13 @@ export default async function SelectHotelPage({
|
||||
})
|
||||
const hotels = [attributes]
|
||||
|
||||
const hotelFitlers = await serverClient().hotel.getFilters({
|
||||
const hotelFilters = await serverClient().hotel.getFilters({
|
||||
hotelId: "d98c7ab1-ebaa-4102-b351-758daf1ddf55",
|
||||
})
|
||||
|
||||
return (
|
||||
<main className={styles.main}>
|
||||
<HotelFilter filter={hotelFitlers} />
|
||||
<HotelFilter filter={hotelFilters} />
|
||||
<section className={styles.section}>
|
||||
{hotels.map((hotel) => (
|
||||
<HotelCard key={hotel.name} hotel={hotel} />
|
||||
|
||||
Reference in New Issue
Block a user