@@ -10,28 +10,24 @@ import {
1010 ThemeIcon ,
1111 CloseButton ,
1212 FocusTrap ,
13- Image ,
14- Divider ,
1513} from "@mantine/core" ;
1614import { LuCrown , LuTrendingUp } from "react-icons/lu" ;
1715
1816export const UpgradeModal = ( { opened, onClose } : ModalProps ) => {
1917 return (
2018 < Modal
21- size = "800 "
19+ size = "430 "
2220 opened = { opened }
2321 onClose = { onClose }
2422 zIndex = { 1001 }
2523 centered
2624 radius = "lg"
2725 withCloseButton = { false }
2826 styles = { { body : { padding : 0 } } }
29- overlayProps = { { blur : 1 } }
27+ overlayProps = { { blur : 2 } }
3028 >
3129 < FocusTrap . InitialFocus />
3230 < Flex >
33- < Image src = "./assets/todiagram_img.webp" alt = "todiagram" w = "350" fit = "contain" px = "lg" />
34- < Divider orientation = "vertical" />
3531 < Stack gap = "24" px = "40" py = "20" >
3632 < Flex justify = "space-between" >
3733 < Title c = "bright" fw = "500" fz = "24" >
@@ -45,11 +41,10 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
4541 </ ThemeIcon >
4642 < Stack gap = "4" >
4743 < Title c = "gray" order = { 3 } fw = "500" fz = "16" >
48- Accurate & beautiful diagrams
44+ New diagram structure
4945 </ Title >
5046 < Text fz = "14" c = "dimmed" >
51- New diagram structure helps you to understand the data, modify from diagrams,
52- customize colors, preview images.
47+ 50% less size, faster & customizable !
5348 </ Text >
5449 </ Stack >
5550 </ Flex >
@@ -59,11 +54,10 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
5954 </ ThemeIcon >
6055 < Stack gap = "4" >
6156 < Title c = "gray" order = { 3 } fw = "500" fz = "16" >
62- Larger file support, faster performance
57+ Powerful
6358 </ Title >
6459 < Text fz = "14" c = "dimmed" >
65- Load up to 4MB without performance issues, open multiple documents, and save work
66- faster.
60+ Modify data, preview images, inspect nodes, and more!
6761 </ Text >
6862 </ Stack >
6963 </ Flex >
@@ -77,7 +71,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
7771 radius = "md"
7872 leftSection = { < LuCrown /> }
7973 >
80- Try premium for free
74+ Try premium for free, no registration
8175 </ Button >
8276 < Button size = "md" variant = "subtle" color = "gray" radius = "md" onClick = { onClose } >
8377 Maybe later
0 commit comments