fix: update copy
This commit is contained in:
committed by
Michael Zetterberg
parent
2a333334ac
commit
19407d1b09
@@ -13,6 +13,7 @@ import type { SignupPromoProps } from "@/types/components/hotelReservation/signu
|
||||
export default function SignupPromoDesktop({
|
||||
memberPrice,
|
||||
badgeContent,
|
||||
isEnterDetailsPage = false,
|
||||
}: SignupPromoProps) {
|
||||
const intl = useIntl()
|
||||
if (!memberPrice) {
|
||||
@@ -28,20 +29,35 @@ export default function SignupPromoDesktop({
|
||||
>
|
||||
{badgeContent && <span className={styles.badge}>{badgeContent}</span>}
|
||||
<Footnote color="burgundy">
|
||||
{intl.formatMessage(
|
||||
{
|
||||
defaultMessage:
|
||||
"To get the member price <span>{price}</span>, log in or join when completing the booking.",
|
||||
},
|
||||
{
|
||||
span: (str) => (
|
||||
<Caption color="red" type="bold" asChild>
|
||||
<span>{str}</span>
|
||||
</Caption>
|
||||
),
|
||||
price,
|
||||
}
|
||||
)}
|
||||
{isEnterDetailsPage
|
||||
? intl.formatMessage(
|
||||
{
|
||||
defaultMessage:
|
||||
"To get the member room price <span>{price}</span>, log in or join when completing the booking.",
|
||||
},
|
||||
{
|
||||
span: (str) => (
|
||||
<Caption color="red" type="bold" asChild>
|
||||
<span>{str}</span>
|
||||
</Caption>
|
||||
),
|
||||
price,
|
||||
}
|
||||
)
|
||||
: intl.formatMessage(
|
||||
{
|
||||
defaultMessage:
|
||||
"To get the member price <span>{price}</span>, log in or join when completing the booking.",
|
||||
},
|
||||
{
|
||||
span: (str) => (
|
||||
<Caption color="red" type="bold" asChild>
|
||||
<span>{str}</span>
|
||||
</Caption>
|
||||
),
|
||||
price,
|
||||
}
|
||||
)}
|
||||
</Footnote>
|
||||
</div>
|
||||
) : null
|
||||
|
||||
Reference in New Issue
Block a user