Skip to content

Commit 3b26355

Browse files
committed
Update PricingAddons component styles and refine Academy addon description
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 51aed36 commit 3b26355

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

src/components/PricingAddons/index_fixed.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const PricingAddons = ({ isYearly = false }) => {
8888
sx={{
8989
maxWidth: 800,
9090
mx: "auto",
91+
marginTop: "6rem",
9192
border: "1px solid",
9293
borderColor: "primary.main",
9394
borderRadius: 3,
@@ -199,7 +200,9 @@ export const PricingAddons = ({ isYearly = false }) => {
199200
{/* Academy Quantity Slider */}
200201
<Box sx={{ mt: 3 }}>
201202
<Typography variant="h6" fontWeight="600" sx={{ fontSize: "1.1rem", mb: 2 }}>
202-
<Box component="span" sx={{ fontWeight: "normal" }}>QUANTITY: </Box>
203+
<Box component="span" sx={{ fontWeight: "normal" }}>
204+
QUANTITY:
205+
</Box>
203206
{academyPlans[quantityIndex].learners} {selectedAddon?.unitLabel}
204207
</Typography>
205208
<Slider
@@ -216,7 +219,7 @@ export const PricingAddons = ({ isYearly = false }) => {
216219
}}
217220
max={academyPlans.length - 1}
218221
step={null}
219-
sx={{ mb: 4 }}
222+
sx={{ mb: 4, width: "80%" }}
220223
marks={academyPlans.map((option, index) => ({
221224
value: index,
222225
label: (
@@ -245,7 +248,7 @@ export const PricingAddons = ({ isYearly = false }) => {
245248
)}
246249

247250
{/* SELECTED ADD-ON DETAILS - Other Plans */}
248-
{selectedAddon?.id !== "academy" && (
251+
{selectedAddon?.id !== "academy" && selectedAddon && (
249252
<>
250253
<Box sx={{ mt: 3 }}>
251254
<Typography variant="h6" fontWeight="600" sx={{ fontSize: "1.1rem", mb: 2 }}>

src/components/PricingAddons/pricingData.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export const getAddOns = (theme) => [
2222
{
2323
id: "academy",
2424
name: "Academy",
25-
description: "A comprehensive learning management system for creators and instructors on how to build, manage, and extend educational content like learning paths, challenges, and certifications.",
25+
description: "A comprehensive learning management system for creators and learners.",
2626
icon: <AcademyIcon
27-
primaryFill={theme?.palette?.primary?.light || "#00B39F"}
27+
primaryFill={theme?.palette?.background?.inverse || "#00B39F"}
2828
secondaryFill={theme?.palette?.background?.inverse || "#FFFFFF"}
2929
/>,
3030
unitLabel: "learners",
3131
maxUnits: 5000,
32-
features: ["Learning Paths", "Challenges", "Certifications", "Instructor Console"],
32+
// features: ["Learning Paths", "Challenges", "Certifications", "Instructor Console"],
3333
subAddOns: [
3434
{
3535
id: "academy-theory",
@@ -69,7 +69,7 @@ export const getAddOns = (theme) => [
6969
description: "This premium offering delivers a secure, high-performance WebRTC solution, purpose-built for real-time, multiplayer collaboration across distributed teams. Powered by Conflict-Free Replicated Data Types (CRDT), this feature ensures seamless, low-latency synchronization of cloud native designs, configurations, and operational workflows, even in complex multi-cluster Kubernetes and public Cloud environments.",
7070
monthlyPrice: 1.50,
7171
yearlyPrice: 15.30, // ~15% discount for yearly
72-
icon: <Group sx={{ color: theme?.palette?.background?.secondary || "#00B39F" }} />,
72+
icon: <Group sx={{ color: theme?.palette?.background?.inverse || "#00B39F" }} />,
7373
unitLabel: "collaborators",
7474
maxUnits: 200,
7575
features: ["Enhanced Security", "Guaranteed SLAs", "Conflict-Free Synchronization", "Real-Time Collaboration"],

0 commit comments

Comments
 (0)