@@ -3,10 +3,10 @@ import {
3
3
ButtonComponentType ,
4
4
ButtonStyleType ,
5
5
ButtonVariantType ,
6
+ ComponentSizeType ,
6
7
CONTACT_SALES_LINK ,
7
8
GenericModal ,
8
9
Icon ,
9
- noop ,
10
10
} from '@devtron-labs/devtron-fe-common-lib'
11
11
12
12
const ENTERPRISE_PLAN_OFFERINGS = [
@@ -18,7 +18,14 @@ const ENTERPRISE_PLAN_OFFERINGS = [
18
18
]
19
19
20
20
const UpgradeToEnterpriseDialog = ( { open, handleClose } : { open : boolean ; handleClose : ( ) => void } ) => (
21
- < GenericModal name = "upgrade-to-enterprise" open = { open } width = { 450 } onClose = { noop } >
21
+ < GenericModal
22
+ name = "upgrade-to-enterprise"
23
+ open = { open }
24
+ width = { 450 }
25
+ borderRadius = { 16 }
26
+ onClose = { handleClose }
27
+ onEscape = { handleClose }
28
+ >
22
29
< GenericModal . Body >
23
30
< div
24
31
className = "p-32 flexbox-col dc__gap-32"
@@ -38,16 +45,21 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
38
45
onClick = { handleClose }
39
46
ariaLabel = "close-upgrade-dialog"
40
47
showAriaLabelInTippy = { false }
48
+ size = { ComponentSizeType . medium }
41
49
/>
42
50
</ div >
43
51
< div className = "flexbox-col dc__gap-8" >
44
- < h1 className = "fs-24 lh-1-5 fw-7 cn-9 m-0" > Upgrade to Enterprise Plan</ h1 >
45
- < span className = "fs-16 fw-4 lh-1-5 cn-9" >
46
- Your freemium plan allows only 1 cluster. Unlock more to scale without limits.
47
- </ span >
52
+ < h1 className = "fs-24 lh-1-5 fw-7 cn-9 m-0 font-merriweather" > Upgrade to Enterprise Plan</ h1 >
53
+ < div className = "flexbox-col dc__gap-20 fs-16 fw-4 cn-9 lh-1-5" >
54
+ < span >
55
+ Freemium plan allows managing the Devtron host cluster along with one additional
56
+ cluster.
57
+ </ span >
58
+ < span > Switch to Enterprise plan to scale without limits.</ span >
59
+ </ div >
48
60
</ div >
49
61
</ div >
50
- < div className = "flexbox-col border__primary-translucent br-12 shadow__card--10" >
62
+ < div className = "flexbox-col border__primary-translucent bg__primary br-12 shadow__card--10" >
51
63
< div className = "flexbox-col dc__gap-16 p-20" >
52
64
< span className = "fs-15 fw-6 lh-1-5 cn-9" > What’s included</ span >
53
65
< div className = "flexbox-col dc__gap-8" >
@@ -59,7 +71,7 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
59
71
) ) }
60
72
</ div >
61
73
</ div >
62
- < div className = "divider__primary --horizontal" />
74
+ < div className = "divider__secondary --horizontal" />
63
75
< div className = "p-20 flexbox-col dc__gap-20" >
64
76
< div className = "flexbox-col dc__gap-4" >
65
77
< span className = "fs-15 fw-6 lh-1-5 cn-9" > Unlock Devtron's Full Potential</ span >
0 commit comments