fix: edits
This commit is contained in:
parent
2a59a7e597
commit
e8cc034e92
@ -379,8 +379,10 @@ function PrivateOutlet(): JSX.Element {
|
||||
}
|
||||
|
||||
function PrivateSubscriptionOutlet(): JSX.Element {
|
||||
// const isProduction = import.meta.env.MODE === "production";
|
||||
const isProduction = false;
|
||||
const isProduction = import.meta.env.MODE === "production";
|
||||
console.log("####: isProduction", isProduction);
|
||||
|
||||
// const isProduction = false;
|
||||
const status = useSelector(selectors.selectStatus);
|
||||
return status === "subscribed" || !isProduction ? (
|
||||
<Outlet />
|
||||
|
||||
@ -32,6 +32,7 @@ function BirthdayPage(): JSX.Element {
|
||||
value={birthdate}
|
||||
onValid={handleValid}
|
||||
onInvalid={() => setIsDisabled(true)}
|
||||
inputClassName='date-picker-input'
|
||||
/>
|
||||
<MainButton onClick={handleNext} disabled={isDisabled}>
|
||||
{t('next')}
|
||||
|
||||
@ -97,3 +97,15 @@
|
||||
border: 2px solid #dee5f9;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 370px) {
|
||||
.date-picker__container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.date-picker-input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@ -59,7 +59,10 @@ function SpecialWelcomeOffer({ open, onClose }: ModalTopProps): JSX.Element {
|
||||
{Number(halfPrice) > 0 &&
|
||||
<>
|
||||
<span className={styles["red-price"]}>${selectedPrice}</span>{" "}
|
||||
–<span className={styles["price"]}>${halfPrice}</span>
|
||||
–<span className={styles["price"]}>
|
||||
{/* ${halfPrice} */}
|
||||
$1
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
{!Number(halfPrice) && <span className={styles["free-trial"]}>{t('au.free_trial_web.7_14')}</span>}
|
||||
@ -68,7 +71,8 @@ function SpecialWelcomeOffer({ open, onClose }: ModalTopProps): JSX.Element {
|
||||
className={styles["button-green"]}
|
||||
onClick={handleNext}
|
||||
>
|
||||
$ {halfPrice} – {t("au.try_for.button")}
|
||||
{/* $ {halfPrice} – */}
|
||||
{t("au.try_for.button")}
|
||||
</MainButton>
|
||||
<MainButton
|
||||
// disabled
|
||||
|
||||
Loading…
Reference in New Issue
Block a user