From a6ea20283dc5cd483324b7e6e1a96cbd227c82bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D0=B0=D1=82=D0=B0?= =?UTF-8?q?=D0=B5=D0=B2?= Date: Tue, 13 Feb 2024 22:23:12 +0000 Subject: [PATCH] Preview/discount pages --- src/components/Modal/index.tsx | 4 +++- src/components/PaymentPage/results/index.tsx | 1 - .../StripePage/ApplePayButton/index.tsx | 18 +++++++++++------- .../components/PayPalButton/styles.module.css | 14 ++++++++++++++ .../components/PaymentModal/index.tsx | 12 ++++++------ src/components/pages/TrialPayment/index.tsx | 2 +- .../pages/TrialPayment/styles.module.css | 4 ++++ .../PaymentDiscountTable/index.tsx | 2 +- .../pages/TrialPaymentWithDiscount/index.tsx | 2 +- 9 files changed, 41 insertions(+), 18 deletions(-) diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index 1eff20c..3cd2014 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -5,6 +5,7 @@ interface ModalProps { children: ReactNode; open?: boolean; isCloseButtonVisible?: boolean; + containerClassName?: string; onClose?: () => void; } @@ -12,6 +13,7 @@ function Modal({ open, children, isCloseButtonVisible = true, + containerClassName = "", onClose, }: ModalProps): JSX.Element { const handleClose = (event: React.MouseEvent) => { @@ -33,7 +35,7 @@ function Modal({ if (!open) return <>; return (
-
+
{isCloseButtonVisible && (
-30% - -65% + -50%
diff --git a/src/components/pages/TrialPaymentWithDiscount/index.tsx b/src/components/pages/TrialPaymentWithDiscount/index.tsx index 972cdd9..4122374 100644 --- a/src/components/pages/TrialPaymentWithDiscount/index.tsx +++ b/src/components/pages/TrialPaymentWithDiscount/index.tsx @@ -36,7 +36,7 @@ function TrialPaymentWithDiscount() {

By continuing you agree that if you don't cancel prior to the end of the 3-days trial, you will automatically be charged $9 for the introductory - period of 30 days thereafter the standard rate of $9 every 30 days until + period of 14 days thereafter the standard rate of $9 every 14 days until you cancel in settings. Learn more about cancellation and refund policy in Subscription terms.