mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
update upgrade modal text
This commit is contained in:
parent
a57c46ca44
commit
cb333d3cd4
@ -136,9 +136,9 @@ export const DownloadModal = ({ opened, onClose }: ModalProps) => {
|
|||||||
onChange={e => setExtension(e as Extensions)}
|
onChange={e => setExtension(e as Extensions)}
|
||||||
fullWidth
|
fullWidth
|
||||||
data={[
|
data={[
|
||||||
{ label: "SVG", value: Extensions.SVG },
|
|
||||||
{ label: "PNG", value: Extensions.PNG },
|
{ label: "PNG", value: Extensions.PNG },
|
||||||
{ label: "JPEG", value: Extensions.JPEG },
|
{ label: "JPEG", value: Extensions.JPEG },
|
||||||
|
{ label: "SVG", value: Extensions.SVG },
|
||||||
]}
|
]}
|
||||||
mb="lg"
|
mb="lg"
|
||||||
/>
|
/>
|
||||||
|
@ -1,7 +1,18 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import type { ModalProps } from "@mantine/core";
|
import type { ModalProps } from "@mantine/core";
|
||||||
import { Text, Divider, List, Button, Modal, Flex, Box, AspectRatio } from "@mantine/core";
|
import {
|
||||||
|
Text,
|
||||||
|
Divider,
|
||||||
|
List,
|
||||||
|
Button,
|
||||||
|
Modal,
|
||||||
|
Flex,
|
||||||
|
Box,
|
||||||
|
AspectRatio,
|
||||||
|
ThemeIcon,
|
||||||
|
Image,
|
||||||
|
} from "@mantine/core";
|
||||||
import { IoMdCheckmarkCircleOutline } from "react-icons/io";
|
import { IoMdCheckmarkCircleOutline } from "react-icons/io";
|
||||||
import { MdChevronRight } from "react-icons/md";
|
import { MdChevronRight } from "react-icons/md";
|
||||||
|
|
||||||
@ -9,9 +20,14 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
|
|||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
title={
|
title={
|
||||||
<Text fz="h2" fw={600}>
|
<Flex align="center" gap="8">
|
||||||
Try ToDiagram for free
|
<ThemeIcon variant="transparent">
|
||||||
</Text>
|
<Image src="https://todiagram.com/logo.svg" alt="ToDiagram" width={24} height={24} />
|
||||||
|
</ThemeIcon>
|
||||||
|
<Text fz="h2" fw={600}>
|
||||||
|
Get more with ToDiagram
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
}
|
}
|
||||||
size="1000"
|
size="1000"
|
||||||
opened={opened}
|
opened={opened}
|
||||||
@ -22,21 +38,27 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
|
|||||||
<Flex align="center">
|
<Flex align="center">
|
||||||
<Box flex="0.6">
|
<Box flex="0.6">
|
||||||
<Text fz="sm" mb="sm">
|
<Text fz="sm" mb="sm">
|
||||||
More productivity. More power. Try our most-requested features, free for 7 days.
|
More productivity. More power. Our most-requested features are now available on a
|
||||||
|
refined platform.
|
||||||
</Text>
|
</Text>
|
||||||
<Text fz="sm" fw={500} mb="sm">
|
<Text fz="sm" fw={500} mb="sm">
|
||||||
Here's what you get with ToDiagram.
|
Here's what you get with ToDiagram:
|
||||||
</Text>
|
</Text>
|
||||||
<List spacing="6" fz="sm" icon={<IoMdCheckmarkCircleOutline size="24" color="#16a34a" />}>
|
<List spacing="6" fz="sm" icon={<IoMdCheckmarkCircleOutline size="24" color="#16a34a" />}>
|
||||||
<List.Item>Larger data support up to 4 MB</List.Item>
|
<List.Item>
|
||||||
|
Larger data support up to{" "}
|
||||||
|
<Text component="span" inherit fw={600}>
|
||||||
|
4 MB
|
||||||
|
</Text>
|
||||||
|
</List.Item>
|
||||||
<List.Item>Edit data directly on visualizations</List.Item>
|
<List.Item>Edit data directly on visualizations</List.Item>
|
||||||
<List.Item>Compare data differences on graphs</List.Item>
|
<List.Item>Compare data differences on graphs</List.Item>
|
||||||
<List.Item>AI-powered data filter</List.Item>
|
<List.Item>AI-powered data filter</List.Item>
|
||||||
<List.Item>Customizable graph colors</List.Item>
|
<List.Item>Customizable graph colors</List.Item>
|
||||||
<List.Item>Tabs for multiple documents</List.Item>
|
<List.Item>Tabs for multiple documents</List.Item>
|
||||||
<List.Item>...and more</List.Item>
|
<List.Item>...faster, and more</List.Item>
|
||||||
</List>
|
</List>
|
||||||
<Link href="https://todiagram.com/#pricing" target="_blank" passHref>
|
<Link href="https://todiagram.com" target="_blank" passHref>
|
||||||
<Button
|
<Button
|
||||||
color="green"
|
color="green"
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -46,7 +68,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
|
|||||||
radius="md"
|
radius="md"
|
||||||
rightSection={<MdChevronRight size="24" />}
|
rightSection={<MdChevronRight size="24" />}
|
||||||
>
|
>
|
||||||
Start free trial
|
Get Started
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -103,7 +103,7 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
|
|||||||
<Flex align="center" gap="6">
|
<Flex align="center" gap="6">
|
||||||
<LuCrown size="16" />
|
<LuCrown size="16" />
|
||||||
<Text c="bright" fw={600} fz="xs">
|
<Text c="bright" fw={600} fz="xs">
|
||||||
Try Pro for 7 days
|
Unlock advanced features
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
</StyledToolElement>
|
</StyledToolElement>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user