Skip to content

Commit

Permalink
Disable sub buttons (#441)
Browse files Browse the repository at this point in the history
* updating

* stash

---------

Co-authored-by: Nick Grato <[email protected]>
  • Loading branch information
nickgrato and Nick Grato authored Mar 1, 2024
1 parent 02954c7 commit 3cef1d0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 7 additions & 1 deletion client/components/modules/plans/plan-cards/BasePlanCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,13 @@ const BasePlanCard = ({
<div
className={`${styles.footer} ${footerClassProp} flex-justify-center`}
>
{getCTA()}
{/* {getCTA()} */}
<Button
label="subscribe"
category="primary_solid"
disabled={true}
text="subscribe"
/>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ReactNode } from 'react';
import styles from './BasePlanCard.module.scss';
import { ValueProp } from '../plan.const';
import InfoBlock from '../InfoBlock/InfoBlock';
import { Icon } from '@mozilla/lilypad-ui';
import { Icon, Button } from '@mozilla/lilypad-ui';
import { FeaturesT } from '../plan.const';

type PricePropsT = {
Expand Down Expand Up @@ -127,7 +127,15 @@ export const BasePlanCard = ({
{/* FOOTER */}
<footer className={`${styles.footer_wrapper}`}>
{additionalContent}
<div className={styles.footer}>{confirmButton}</div>
<div className={styles.footer}>
{/* {confirmButton} */}
<Button
label="subscribe"
category="primary_solid"
disabled={true}
text="subscribe"
/>
</div>
</footer>
</div>
);
Expand Down

0 comments on commit 3cef1d0

Please sign in to comment.