fix(SW-1608): Hotel listing synced with design

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-05-26 11:49:51 +00:00
parent a790a52067
commit a8e52c6c8a
4 changed files with 70 additions and 63 deletions

View File

@@ -1,10 +1,13 @@
import { Typography } from "@scandic-hotels/design-system/Typography"
import { getHotelsByCSFilter } from "@/lib/trpc/memoizedRequests"
import SectionContainer from "@/components/Section/Container"
import Title from "@/components/TempDesignSystem/Text/Title"
import HotelListingItem from "./HotelListingItem"
import styles from "./hotelListing.module.css"
import type { HotelListingProps } from "@/types/components/blocks/hotelListing"
export default async function HotelListing({
@@ -24,9 +27,9 @@ export default async function HotelListing({
return (
<SectionContainer>
<Title level="h4" as="h3" textTransform="capitalize">
{heading}
</Title>
<Typography variant="Title/sm">
<h3 className={styles.heading}>{heading}</h3>
</Typography>
{hotels.map(({ url, hotel, additionalData }) => (
<HotelListingItem
key={hotel.name}