There is lot of hardcoding links in application (#3130)
* There is lot of hardcoding links in application * Apply suggestions from code review Co-authored-by: Joe Au-Yeung <[email protected]> Co-authored-by: gitstart <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
16 files changed
+60
-37
No files matched your search
@@ -7,6 +7,7 @@ import { FormattedNumber, IntlProvider } from "react-intl";
|
||||
|
||||
import dayjs from "@calcom/dayjs";
|
||||
import { sdkActionManager, useIsEmbed } from "@calcom/embed-core/embed-iframe";
|
||||
import { WEBSITE_URL } from "@calcom/lib/constants";
|
||||
import getStripe from "@calcom/stripe/client";
|
||||
import PaymentComponent from "@ee/components/stripe/Payment";
|
||||
import { PaymentPageProps } from "@ee/pages/payment/[uid]";
|
||||
@@ -141,7 +142,7 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
|
||||
</div>
|
||||
{!props.profile.hideBranding && (
|
||||
<div className="mt-4 border-t pt-4 text-center text-xs text-gray-400 dark:border-gray-900 dark:text-white">
|
||||
<a href="https://cal.com/signup">{t("create_booking_link_with_calcom")}</a>
|
||||
<a href={`${WEBSITE_URL}/signup`}>{t("create_booking_link_with_calcom")}</a>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user