feat: change GLA to be more clear to the user

This commit is contained in:
Simon Emanuelsson
2025-06-10 11:26:15 +02:00
committed by Michael Zetterberg
parent 002d5f9c68
commit 2f553bb945
8 changed files with 292 additions and 187 deletions

View File

@@ -1,5 +1,7 @@
import { useIntl } from "react-intl"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { bookingTermsAndConditions, privacyPolicy } from "@/constants/webHrefs"
import Checkbox from "@/components/TempDesignSystem/Form/Checkbox"
@@ -87,19 +89,13 @@ export default function TermsAndConditions({
)}
</Caption>
<Checkbox name="termsAndConditions">
<Caption>
{intl.formatMessage({
defaultMessage: "I accept the terms and conditions",
})}
</Caption>
</Checkbox>
<Checkbox name="smsConfirmation">
<Caption>
{intl.formatMessage({
defaultMessage:
"I would like to get my booking confirmation via sms",
})}
</Caption>
<Typography variant="Body/Paragraph/mdBold">
<span>
{intl.formatMessage({
defaultMessage: "I accept the terms and conditions",
})}
</span>
</Typography>
</Checkbox>
</>
)