11import React from "react" ;
22import Link from "next/link" ;
33import type { ModalProps } from "@mantine/core" ;
4- import { Text , Divider , List , Button , Modal , Flex , Box , AspectRatio } from "@mantine/core" ;
4+ import {
5+ Text ,
6+ Divider ,
7+ List ,
8+ Button ,
9+ Modal ,
10+ Flex ,
11+ Box ,
12+ AspectRatio ,
13+ ThemeIcon ,
14+ Image ,
15+ } from "@mantine/core" ;
516import { IoMdCheckmarkCircleOutline } from "react-icons/io" ;
617import { MdChevronRight } from "react-icons/md" ;
718
819export const UpgradeModal = ( { opened, onClose } : ModalProps ) => {
920 return (
1021 < Modal
1122 title = {
12- < Text fz = "h2" fw = { 600 } >
13- Try ToDiagram for free
14- </ Text >
23+ < Flex align = "center" gap = "8" >
24+ < ThemeIcon variant = "transparent" >
25+ < Image src = "https://todiagram.com/logo.svg" alt = "ToDiagram" width = { 24 } height = { 24 } />
26+ </ ThemeIcon >
27+ < Text fz = "h2" fw = { 600 } >
28+ Get more with ToDiagram
29+ </ Text >
30+ </ Flex >
1531 }
1632 size = "1000"
1733 opened = { opened }
@@ -22,21 +38,27 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
2238 < Flex align = "center" >
2339 < Box flex = "0.6" >
2440 < Text fz = "sm" mb = "sm" >
25- More productivity. More power. Try our most-requested features, free for 7 days.
41+ More productivity. More power. Our most-requested features are now available on a
42+ refined platform.
2643 </ Text >
2744 < Text fz = "sm" fw = { 500 } mb = "sm" >
28- Here's what you get with ToDiagram.
45+ Here's what you get with ToDiagram:
2946 </ Text >
3047 < List spacing = "6" fz = "sm" icon = { < IoMdCheckmarkCircleOutline size = "24" color = "#16a34a" /> } >
31- < List . Item > Larger data support up to 4 MB</ List . Item >
48+ < List . Item >
49+ Larger data support up to{ " " }
50+ < Text component = "span" inherit fw = { 600 } >
51+ 4 MB
52+ </ Text >
53+ </ List . Item >
3254 < List . Item > Edit data directly on visualizations</ List . Item >
3355 < List . Item > Compare data differences on graphs</ List . Item >
3456 < List . Item > AI-powered data filter</ List . Item >
3557 < List . Item > Customizable graph colors</ List . Item >
3658 < List . Item > Tabs for multiple documents</ List . Item >
37- < List . Item > ...and more</ List . Item >
59+ < List . Item > ...faster, and more</ List . Item >
3860 </ List >
39- < Link href = "https://todiagram.com/#pricing " target = "_blank" passHref >
61+ < Link href = "https://todiagram.com" target = "_blank" passHref >
4062 < Button
4163 color = "green"
4264 fullWidth
@@ -46,7 +68,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
4668 radius = "md"
4769 rightSection = { < MdChevronRight size = "24" /> }
4870 >
49- Start free trial
71+ Get Started
5072 </ Button >
5173 </ Link >
5274 </ Box >
0 commit comments