Files
web/apps/scandic-web/components/LocalCallCharges/index.tsx
Matilda Landström 55622f582c 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
2025-07-04 06:57:52 +00:00

24 lines
612 B
TypeScript

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
}