@@ -6,6 +6,7 @@ import usePrefersReducedMotion from '../../utils/isReducedMOtion';
66import {
77 BoxPlan ,
88 BoxPlanButton ,
9+ BoxPlanList ,
910 BoxPlanPrice ,
1011 Caption ,
1112 ComparePlansLink ,
@@ -15,7 +16,30 @@ import { formatCurrency } from './_utils';
1516/**
1617 * Main component
1718 */
18- export const Intro = ( { plans } ) => {
19+ export const Intro = ( {
20+ plans = {
21+ team_pro : {
22+ month : {
23+ currency : '$' ,
24+ unit_amount : 5 ,
25+ } ,
26+ year : {
27+ currency : '$' ,
28+ unit_amount : 5 ,
29+ } ,
30+ } ,
31+ pro : {
32+ month : {
33+ currency : '$' ,
34+ unit_amount : 5 ,
35+ } ,
36+ year : {
37+ currency : '$' ,
38+ unit_amount : 5 ,
39+ } ,
40+ } ,
41+ } ,
42+ } ) => {
1943 // plans: {
2044 // pro | team_pro {
2145 // month | year {
@@ -24,6 +48,7 @@ export const Intro = ({ plans }) => {
2448 // }
2549 // }
2650 // }
51+
2752 const shouldReduceMotion = usePrefersReducedMotion ( ) ;
2853
2954 const [ teamHover , setTeamHover ] = useState ( false ) ;
@@ -145,18 +170,16 @@ const Title = styled.h1`
145170
146171 letter-spacing: -0.025em;
147172 font-size: 40px;
148- line-height: 48px ;
173+ line-height: 1.1 ;
149174
150175 @media (min-width: 769px) {
151176 font-size: 48px;
152- line-height: 56px;
153177 }
154178
155179 @media (min-width: 1025px) {
156180 letter-spacing: -0.03em;
157181 font-weight: 500;
158182 font-size: 64px;
159- line-height: 1.45;
160183 }
161184` ;
162185
@@ -192,7 +215,7 @@ const Gradient = styled.div`
192215 css `
193216 background: radial-gradient(
194217 61.76% 61.76% at 50% 38.24%,
195- #ac9cff 0%,
218+ #edffa5 0%,
196219 #000000 60.35%
197220 );
198221 `
@@ -204,23 +227,9 @@ const Gradient = styled.div`
204227 personalSection &&
205228 css `
206229 background: radial-gradient(
207- 50% 50% at 50% 50%,
208- hsl(72deg 100% 82%) 0%,
209- hsl(72deg 69% 76%) 3%,
210- hsl(72deg 50% 71%) 6%,
211- hsl(72deg 38% 65%) 9%,
212- hsl(72deg 30% 59%) 12%,
213- hsl(72deg 23% 54%) 15%,
214- hsl(72deg 20% 48%) 19%,
215- hsl(72deg 19% 43%) 22%,
216- hsl(71deg 19% 38%) 26%,
217- hsl(71deg 18% 32%) 30%,
218- hsl(71deg 17% 27%) 34%,
219- hsl(71deg 16% 23%) 39%,
220- hsl(71deg 15% 18%) 44%,
221- hsl(70deg 13% 13%) 51%,
222- hsl(69deg 9% 9%) 59%,
223- hsl(0deg 0% 4%) 77%
230+ 61.76% 61.76% at 50% 38.24%,
231+ #ac9cff 0%,
232+ #000000 60.35%
224233 );
225234 `
226235 ) ;
@@ -305,7 +314,7 @@ const TeamFree = () => {
305314
306315 < BoxPlanPrice plan = "Free" price = "$0" caption = "forever" />
307316
308- < ul >
317+ < BoxPlanList >
309318 < li > 5 editors</ li >
310319 < li > 20 public sandboxes</ li >
311320 < li > 3 public repositories</ li >
@@ -319,7 +328,7 @@ const TeamFree = () => {
319328 < li > 4GB RAM</ li >
320329 < li > 2vCPUs</ li >
321330 < li > 4GB Disk</ li >
322- </ ul >
331+ </ BoxPlanList >
323332
324333 < BoxPlanButton href = "/s" > Start coding now</ BoxPlanButton >
325334 </ BoxPlan >
@@ -345,7 +354,7 @@ const TeamPro = ({ plan, ...props }) => {
345354 per month.` }
346355 />
347356
348- < ul >
357+ < BoxPlanList >
349358 < li > 20 editors</ li >
350359 < li > Unlimited sandboxes</ li >
351360 < li > Unlimited repositories</ li >
@@ -359,7 +368,7 @@ const TeamPro = ({ plan, ...props }) => {
359368 < li > 6GB RAM</ li >
360369 < li > 4vCPUs</ li >
361370 < li > 12GB Disk</ li >
362- </ ul >
371+ </ BoxPlanList >
363372
364373 < BoxPlanButton > Upgrade to Team Pro</ BoxPlanButton >
365374 </ BoxPlan >
@@ -369,7 +378,7 @@ const TeamPro = ({ plan, ...props }) => {
369378const OrgCustom = props => {
370379 return (
371380 < BoxPlan
372- href = "mailto:support@ codesandbox.io?subject=Organization plan "
381+ href = "https:// codesandbox.typeform.com/organization "
373382 target = "_blank"
374383 rel = "noopener noreferrer"
375384 orgCustom
@@ -384,19 +393,15 @@ const OrgCustom = props => {
384393 customPrice
385394 />
386395
387- < ul >
396+ < BoxPlanList >
388397 < li > All Team Pro features, plus:</ li >
389- < li > Unlimited editors</ li >
398+ < li > 20+ editors (no limit) </ li >
390399 < li > Bulk pricing for seats</ li >
391400 < li > Custom VM Specs</ li >
392401 < li > Custom support</ li >
393402 < li > Shared Slack channel</ li >
394403 < li > Customer success manager </ li >
395-
396- { /* Visually aligned */ }
397- < br />
398- < br />
399- </ ul >
404+ </ BoxPlanList >
400405
401406 < BoxPlanButton > Contact us</ BoxPlanButton >
402407 </ BoxPlan >
@@ -410,7 +415,7 @@ const PersonalFree = () => {
410415
411416 < BoxPlanPrice plan = "Free" price = "$0" caption = "forever" />
412417
413- < ul >
418+ < BoxPlanList >
414419 < li > Free for individuals</ li >
415420 < li > All platform features</ li >
416421 < li > Unlimited public sandboxes</ li >
@@ -424,7 +429,7 @@ const PersonalFree = () => {
424429 < li > 4GB RAM</ li >
425430 < li > 2vCPUs</ li >
426431 < li > 4GB Disk</ li >
427- </ ul >
432+ </ BoxPlanList >
428433
429434 < BoxPlanButton href = "/s" > Start coding now</ BoxPlanButton >
430435 </ BoxPlan >
@@ -446,7 +451,7 @@ const PersonalPro = ({ plan, ...props }) => {
446451 per month.` }
447452 />
448453
449- < ul >
454+ < BoxPlanList >
450455 < li > All Free features, plus:</ li >
451456 < li > Unlimited private sandboxes</ li >
452457 < li > Unlimited private repositories</ li >
@@ -455,11 +460,13 @@ const PersonalPro = ({ plan, ...props }) => {
455460 { /* Visually aligned */ }
456461 < br />
457462 < br />
463+ < br />
464+ < br />
458465
459466 < li > 6GB RAM</ li >
460467 < li > 4vCPUs</ li >
461468 < li > 12GB Disk</ li >
462- </ ul >
469+ </ BoxPlanList >
463470
464471 < BoxPlanButton > Upgrade to Personal Pro</ BoxPlanButton >
465472 </ BoxPlan >
0 commit comments