Skip to content

Commit 369c9fa

Browse files
committed
Enhance PricingAddons component by bolding sub-addon labels and adjusting spacing for improved layout
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 1610f6c commit 369c9fa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly }) => {
411411
return targetSubAddon?.pricing?.map((option, index) => ({
412412
value: index,
413413
label: (
414-
<Box sx={{ textAlign: "center", fontSize: "1.25rem" }}>
415-
414+
<Box sx={{ textAlign: "center", fontSize: "1.25rem", fontWeight: "bold" }}>
416415
<Box>{option.learners === "2500+" ? "2,500+" : option.learners}</Box>
417416
<Box sx={{ color: "text.secondary", mb: 1.5, fontSize: ".9rem" }}>
418417
{option.currency}{isYearly ? option.yearlyPerUser : option.monthlyPerUser}<br />{targetSubAddon.unitLabelSingular}/{isYearly ? "year" : "month"}
@@ -422,7 +421,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly }) => {
422421
})) || [];
423422
})()}
424423
/>
425-
<Box sx={{ display: "flex", my: 5, justifyContent: "space-between" }}>
424+
<Box sx={{ display: "flex", my: 8, justifyContent: "space-between" }}>
426425
<Typography variant="body2" sx={{ fontStyle: "italic", color: "text.secondary", fontFamily: "\"Qanelas Soft\", \"Open Sans\", sans-serif" }}>
427426
Looking for a plan larger than 2,500 learners? Great! <a href="/company/contact">Let us know</a>.
428427
</Typography>

0 commit comments

Comments
 (0)