Skip to content

Commit cb333d3

Browse files
committed
update upgrade modal text
1 parent a57c46c commit cb333d3

File tree

3 files changed

+34
-12
lines changed

3 files changed

+34
-12
lines changed

src/containers/Modals/DownloadModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ export const DownloadModal = ({ opened, onClose }: ModalProps) => {
136136
onChange={e => setExtension(e as Extensions)}
137137
fullWidth
138138
data={[
139-
{ label: "SVG", value: Extensions.SVG },
140139
{ label: "PNG", value: Extensions.PNG },
141140
{ label: "JPEG", value: Extensions.JPEG },
141+
{ label: "SVG", value: Extensions.SVG },
142142
]}
143143
mb="lg"
144144
/>

src/containers/Modals/UpgradeModal/index.tsx

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
import React from "react";
22
import Link from "next/link";
33
import 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";
516
import { IoMdCheckmarkCircleOutline } from "react-icons/io";
617
import { MdChevronRight } from "react-icons/md";
718

819
export 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&apos;s what you get with ToDiagram.
45+
Here&apos;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>

src/containers/Toolbar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
103103
<Flex align="center" gap="6">
104104
<LuCrown size="16" />
105105
<Text c="bright" fw={600} fz="xs">
106-
Try Pro for 7 days
106+
Unlock advanced features
107107
</Text>
108108
</Flex>
109109
</StyledToolElement>

0 commit comments

Comments
 (0)