@@ -3,10 +3,10 @@ import {
33 ButtonComponentType ,
44 ButtonStyleType ,
55 ButtonVariantType ,
6+ ComponentSizeType ,
67 CONTACT_SALES_LINK ,
78 GenericModal ,
89 Icon ,
9- noop ,
1010} from '@devtron-labs/devtron-fe-common-lib'
1111
1212const ENTERPRISE_PLAN_OFFERINGS = [
@@ -18,7 +18,14 @@ const ENTERPRISE_PLAN_OFFERINGS = [
1818]
1919
2020const 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+ >
2229 < GenericModal . Body >
2330 < div
2431 className = "p-32 flexbox-col dc__gap-32"
@@ -38,16 +45,21 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
3845 onClick = { handleClose }
3946 ariaLabel = "close-upgrade-dialog"
4047 showAriaLabelInTippy = { false }
48+ size = { ComponentSizeType . medium }
4149 />
4250 </ div >
4351 < 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 >
4860 </ div >
4961 </ 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" >
5163 < div className = "flexbox-col dc__gap-16 p-20" >
5264 < span className = "fs-15 fw-6 lh-1-5 cn-9" > What’s included</ span >
5365 < div className = "flexbox-col dc__gap-8" >
@@ -59,7 +71,7 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
5971 ) ) }
6072 </ div >
6173 </ div >
62- < div className = "divider__primary --horizontal" />
74+ < div className = "divider__secondary --horizontal" />
6375 < div className = "p-20 flexbox-col dc__gap-20" >
6476 < div className = "flexbox-col dc__gap-4" >
6577 < span className = "fs-15 fw-6 lh-1-5 cn-9" > Unlock Devtron's Full Potential</ span >
0 commit comments