Skip to content

Commit 3cef1d0

Browse files
nickgratoNick Grato
and
Nick Grato
authored
Disable sub buttons (#441)
* updating * stash --------- Co-authored-by: Nick Grato <[email protected]>
1 parent 02954c7 commit 3cef1d0

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

client/components/modules/plans/plan-cards/BasePlanCard.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,13 @@ const BasePlanCard = ({
168168
<div
169169
className={`${styles.footer} ${footerClassProp} flex-justify-center`}
170170
>
171-
{getCTA()}
171+
{/* {getCTA()} */}
172+
<Button
173+
label="subscribe"
174+
category="primary_solid"
175+
disabled={true}
176+
text="subscribe"
177+
/>
172178
</div>
173179
</div>
174180
</div>

marketing/components/shared/Subscribe/BasePlanCard/BasePlanCard.tsx

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
22
import styles from './BasePlanCard.module.scss';
33
import { ValueProp } from '../plan.const';
44
import InfoBlock from '../InfoBlock/InfoBlock';
5-
import { Icon } from '@mozilla/lilypad-ui';
5+
import { Icon, Button } from '@mozilla/lilypad-ui';
66
import { FeaturesT } from '../plan.const';
77

88
type PricePropsT = {
@@ -127,7 +127,15 @@ export const BasePlanCard = ({
127127
{/* FOOTER */}
128128
<footer className={`${styles.footer_wrapper}`}>
129129
{additionalContent}
130-
<div className={styles.footer}>{confirmButton}</div>
130+
<div className={styles.footer}>
131+
{/* {confirmButton} */}
132+
<Button
133+
label="subscribe"
134+
category="primary_solid"
135+
disabled={true}
136+
text="subscribe"
137+
/>
138+
</div>
131139
</footer>
132140
</div>
133141
);

0 commit comments

Comments
 (0)