Feat/lokalise rebuild * chore(lokalise): update translation ids * chore(lokalise): easier to switch between projects * chore(lokalise): update translation ids * . * . * . * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * chore(lokalise): new translations * merge * switch to errors for missing id's * merge * sync translations Approved-by: Linus Flood
26 lines
610 B
TypeScript
26 lines
610 B
TypeScript
"use client"
|
|
|
|
import { useIntl } from "react-intl"
|
|
|
|
import { AlertTypeEnum } from "@scandic-hotels/common/constants/alert"
|
|
import { Alert } from "@scandic-hotels/design-system/Alert"
|
|
|
|
import styles from "./FnFNotAllowedAlert.module.css"
|
|
|
|
export default function FnFNotAllowedAlert() {
|
|
const intl = useIntl()
|
|
|
|
return (
|
|
<div className={styles.fnfMain}>
|
|
<Alert
|
|
type={AlertTypeEnum.Warning}
|
|
text={intl.formatMessage({
|
|
id: "fnf.alert.text",
|
|
defaultMessage:
|
|
"The Friends & Family rate can only be booked via FUSE.",
|
|
})}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|