Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable sub buttons #441

Merged
merged 2 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

.cards {
display: grid;
grid-template-columns: 288px 288px 288px 288px;
grid-template-columns: 288px 288px 288px;
grid-template-rows: auto auto;
column-gap: 18px;
gap: 18px;
Expand Down
Loading