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

Banner update #436

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ContactCard = ({ email, subject, classProp = '' }: ContactCardPropsT) => {
return (
<div className={`${styles.wrapper} ${classProp}`}>
<div className={styles.content}>
<h2>Enterprise</h2>
<h2>Business</h2>
<p>Need dedicated infrastructure, custom clients, or something else?</p>
<Button
label="contact us"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type BusinessPlanCardPropsT = {

const BusinessPlanCard = ({ billingPeriod }: BusinessPlanCardPropsT) => {
const { regionCode } = useSelector(selectRegion);
const { planPrice, planUrl, taxDescription, currencySymbol } =
const { planPrice, planUrl, taxDescription, currencySymbol, currencyAbbrev } =
getPricePageData(regionCode, PlansE.BUSINESS, billingPeriod);

/**
Expand All @@ -32,6 +32,7 @@ const BusinessPlanCard = ({ billingPeriod }: BusinessPlanCardPropsT) => {
price={
<Price
price={`${currencySymbol}${planPrice}`}
currencyAbbrev={currencyAbbrev}
billingPeriod={`per ${
billingPeriod === BillingPeriodE.YEARLY ? 'year' : 'month'
}`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type PersonalPlanCardPropsT = {

const PersonalPlanCard = ({ billingPeriod }: PersonalPlanCardPropsT) => {
const { regionCode } = useSelector(selectRegion);
const { planPrice, planUrl, taxDescription, currencySymbol } =
const { planPrice, planUrl, taxDescription, currencySymbol, currencyAbbrev } =
getPricePageData(regionCode, PlansE.PERSONAL, billingPeriod);

/**
Expand All @@ -34,6 +34,7 @@ const PersonalPlanCard = ({ billingPeriod }: PersonalPlanCardPropsT) => {
billingPeriod={`per ${
billingPeriod === BillingPeriodE.YEARLY ? 'year' : 'month'
}`}
currencyAbbrev={currencyAbbrev}
/>
}
infoCopyList={PERSONAL_COPY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ProfessionalPlanCard = ({
billingPeriod,
}: ProfessionalPlanCardPropsT) => {
const { regionCode } = useSelector(selectRegion);
const { planPrice, planUrl, taxDescription, currencySymbol } =
const { planPrice, planUrl, taxDescription, currencySymbol, currencyAbbrev } =
getPricePageData(regionCode, PlansE.PROFESSIONAL, billingPeriod);

/**
Expand All @@ -34,6 +34,7 @@ const ProfessionalPlanCard = ({
price={
<Price
price={`${currencySymbol}${planPrice}`}
currencyAbbrev={currencyAbbrev}
billingPeriod={`per ${
billingPeriod === BillingPeriodE.YEARLY ? 'year' : 'month'
}`}
Expand Down
Loading
Loading