"use client" import { useIntl } from "react-intl" import Caption from "@/components/TempDesignSystem/Text/Caption" import Footnote from "@/components/TempDesignSystem/Text/Footnote" import styles from "./signupPromo.module.css" import { SignupPromoProps } from "@/types/components/hotelReservation/signupPromo" export default function SignupPromoDesktop({ memberPrice, badgeContent, }: SignupPromoProps) { const intl = useIntl() if (!memberPrice) { return null } const { amount, currency } = memberPrice const price = intl.formatNumber(amount, { currency, style: "currency" }) return memberPrice ? (