mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
Merge pull request #629 from bigcapitalhq/details-subscription
fix: Add subscription plans offer text
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
.container {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 1.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconText {
|
||||||
|
display: inline-flex;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-right: 16px;
|
||||||
|
color: #00824d;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0; /* Remove the margin on the last item */
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
import styles from './SubscriptionPlansOfferChecks.module.scss';
|
||||||
|
|
||||||
|
export function SubscriptionPlansOfferChecks() {
|
||||||
|
return (
|
||||||
|
<div className={styles.container}>
|
||||||
|
<span className={styles.iconText}>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
height="18px"
|
||||||
|
width="18px"
|
||||||
|
viewBox="0 -960 960 960"
|
||||||
|
fill="rgb(0, 130, 77)"
|
||||||
|
className={styles.icon}
|
||||||
|
>
|
||||||
|
<path d="M378-225 133-470l66-66 179 180 382-382 66 65-448 448Z"></path>
|
||||||
|
</svg>
|
||||||
|
14-day free trial
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span className={styles.iconText}>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
height="18px"
|
||||||
|
width="18px"
|
||||||
|
viewBox="0 -960 960 960"
|
||||||
|
fill="rgb(0, 130, 77)"
|
||||||
|
className={styles.icon}
|
||||||
|
>
|
||||||
|
<path d="M378-225 133-470l66-66 179 180 382-382 66 65-448 448Z"></path>
|
||||||
|
</svg>
|
||||||
|
24/7 online support
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -24,7 +24,7 @@ function SubscriptionPlansPeriodSwitcherRoot({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Group position={'center'} spacing={10} style={{ marginBottom: '1.2rem' }}>
|
<Group position={'center'} spacing={10} style={{ marginBottom: '1.6rem' }}>
|
||||||
<Text>Pay Monthly</Text>
|
<Text>Pay Monthly</Text>
|
||||||
<Switch
|
<Switch
|
||||||
large
|
large
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { Callout } from '@blueprintjs/core';
|
import { Callout } from '@blueprintjs/core';
|
||||||
import { SubscriptionPlans } from './SubscriptionPlans';
|
import { SubscriptionPlans } from './SubscriptionPlans';
|
||||||
import { SubscriptionPlansPeriodSwitcher } from './SubscriptionPlansPeriodSwitcher';
|
import { SubscriptionPlansPeriodSwitcher } from './SubscriptionPlansPeriodSwitcher';
|
||||||
|
import { SubscriptionPlansOfferChecks } from './SubscriptionPlansOfferChecks';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Billing plans.
|
* Billing plans.
|
||||||
@@ -14,6 +15,7 @@ export function SubscriptionPlansSection() {
|
|||||||
include applicable taxes.
|
include applicable taxes.
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
|
<SubscriptionPlansOfferChecks />
|
||||||
<SubscriptionPlansPeriodSwitcher />
|
<SubscriptionPlansPeriodSwitcher />
|
||||||
<SubscriptionPlans />
|
<SubscriptionPlans />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__left-section {
|
&__left-section {
|
||||||
|
|||||||
Reference in New Issue
Block a user