Merged in fix/refactor-hotel-details (pull request #2513)

- Use new tokens
- Make button text bold in parking information (as in Figma)
- Make local call charges a reusable component
- Adds mountain facility icon
- Hide “Follow us” when the hotel doesn’t have any linked socials, to avoid empty heading


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-07-04 06:57:52 +00:00
parent 9e1cc66f95
commit 55622f582c
11 changed files with 123 additions and 126 deletions

View File

@@ -0,0 +1,23 @@
import { Typography } from "@scandic-hotels/design-system/Typography"
import { Country } from "@scandic-hotels/trpc/types/country"
import { getIntl } from "@/i18n"
interface LocalCallChargesProps {
country: string
}
export default async function LocalCallCharges({
country,
}: LocalCallChargesProps) {
const intl = await getIntl()
return country === Country.Finland ? (
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>
{intl.formatMessage({
defaultMessage: "Price 0,16 €/min + local call charges",
})}
</p>
</Typography>
) : null
}