Skip to content

Commit

Permalink
Change SaSS to SaaS (#357)
Browse files Browse the repository at this point in the history
* fix: ensure hubspot form function is passed

Ensures that the `showHubSpotForm` function is passed to the appropriate components.

* change to saas
  • Loading branch information
Schalk Neethling authored Jan 30, 2024
1 parent db3a2be commit 38bfda0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 41 deletions.
8 changes: 4 additions & 4 deletions src/components/Pricing/pricingPlans.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ export const hubspotFormIds = {
entrpriseSSODirectorySync: '435f5b51-f9ea-4f96-aac3-0c6e6d8a07b4',
auditLogs: {
premium: '3c3888d4-3f37-470a-8c7d-d7641f32fd4c',
sass: '7852e20a-1f97-42fc-b7ee-a1d71b331811',
saas: '7852e20a-1f97-42fc-b7ee-a1d71b331811',
enterprise: '57862df6-4456-4e0e-b9d0-aece2b23656f',
},
privacyVault: {
premium: '577e36d6-a5d6-4326-a179-d69c9d9ad520',
sass: '58302448-78e7-4250-8b12-8d84b4113c72',
saas: '58302448-78e7-4250-8b12-8d84b4113c72',
enterprise: '24968c9d-ba22-492a-9aab-6f4350174d27',
},
};
Expand Down Expand Up @@ -112,7 +112,7 @@ export const pricingPlans = [
tiers: {
'self-hosted': 'Free forever',
'self-hosted-premium': `contactUs:${hubspotFormIds.auditLogs.premium}`,
saas: `contactUs:${hubspotFormIds.auditLogs.sass}`,
saas: `contactUs:${hubspotFormIds.auditLogs.saas}`,
enterprise: `contactUs:${hubspotFormIds.auditLogs.enterprise}`,
},
},
Expand All @@ -121,7 +121,7 @@ export const pricingPlans = [
tiers: {
'self-hosted': 'Free forever',
'self-hosted-premium': `contactUs:${hubspotFormIds.privacyVault.premium}`,
saas: `contactUs:${hubspotFormIds.privacyVault.sass}`,
saas: `contactUs:${hubspotFormIds.privacyVault.saas}`,
enterprise: `contactUs:${hubspotFormIds.privacyVault.enterprise}`,
},
},
Expand Down
41 changes: 4 additions & 37 deletions src/components/PricingCardsSaaS/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,7 @@ const PricingCardsSaaS = ({ showHubSpotForm }) => {
>
contact us today
</button>
. Do you need an on-premise solution? We also offer Enterprise
Single Sign-On as a premium self-hosted solution. If you would
like to know more, please{' '}
<button
type="button"
className="ghost contact-us-inline"
onClick={() =>
showHubSpotForm(
true,
hubspotFormIds.entrpriseSSODirectorySync
)
}
>
contact us
</button>{' '}
and we will be happy to help.
.
</p>
<TableTieredPricing />
<p className="pricing-product-card-details-cta">
Expand Down Expand Up @@ -92,22 +77,7 @@ const PricingCardsSaaS = ({ showHubSpotForm }) => {
>
contact us today
</button>
. Do you need an on-premise solution? We also offer Directory
Sync as a premium self-hosted solution. If you would like to
know more, please{' '}
<button
type="button"
className="ghost contact-us-inline"
onClick={() =>
showHubSpotForm(
true,
hubspotFormIds.entrpriseSSODirectorySync
)
}
>
contact us
</button>{' '}
and we will be happy to help.
.
</p>
<TableTieredPricing />
<p className="pricing-product-card-details-cta">
Expand Down Expand Up @@ -146,7 +116,7 @@ const PricingCardsSaaS = ({ showHubSpotForm }) => {
type="button"
className="ghost contact-us-inline"
onClick={() =>
showHubSpotForm(true, hubspotFormIds.auditLogs.enterprise)
showHubSpotForm(true, hubspotFormIds.auditLogs.saas)
}
>
contact us today
Expand Down Expand Up @@ -176,10 +146,7 @@ const PricingCardsSaaS = ({ showHubSpotForm }) => {
type="button"
className="ghost contact-us-inline"
onClick={() =>
showHubSpotForm(
true,
hubspotFormIds.privacyVault.enterprise
)
showHubSpotForm(true, hubspotFormIds.privacyVault.saas)
}
>
contact us today
Expand Down

0 comments on commit 38bfda0

Please sign in to comment.