Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

update ui

AykutSarac69694a459f1a
diff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.ts
index 1522f0e1..7f12f956 100644
--- a/src/constants/globalStyle.ts
+++ b/src/constants/globalStyle.ts
@@ -5,7 +5,8 @@ const GlobalStyle = createGlobalStyle`
color: ${({ theme }) => theme.FULL_WHITE} !important;
font-weight: 400;
font-size: 16px;
- background: #F1F1F1 !important;
+ background: rgb(246,249,253) !important;
+ background: radial-gradient(circle, rgba(246,249,253,1) 33%, rgba(230,230,253,1) 100%) !important;
@media only screen and (max-width: 768px) {
background-position: right;
diff --git a/src/layout/Footer/FooterLinks.tsx b/src/layout/Footer/FooterLinks.tsx
index e025f2ca..2476597f 100644
--- a/src/layout/Footer/FooterLinks.tsx
+++ b/src/layout/Footer/FooterLinks.tsx
@@ -1,4 +1,4 @@
-import { createStyles, Text, Container, rem } from "@mantine/core";
+import { createStyles, Text, Container, rem, Anchor } from "@mantine/core";
import { JSONCrackLogo } from "../JsonCrackLogo";
const useStyles = createStyles(theme => ({
@@ -6,7 +6,7 @@ const useStyles = createStyles(theme => ({
marginTop: rem(120),
paddingTop: `calc(${theme.spacing.xl} * 2)`,
paddingBottom: `calc(${theme.spacing.xl} * 2)`,
- backgroundColor: theme.colorScheme === "dark" ? theme.colors.dark[6] : theme.colors.gray[0],
+ backgroundColor: theme.colorScheme === "dark" ? theme.colors.dark[6] : "white",
borderTop: `${rem(1)} solid ${
theme.colorScheme === "dark" ? theme.colors.dark[5] : theme.colors.gray[2]
}`,
@@ -137,9 +137,9 @@ export function FooterLinks({ data }: FooterLinksProps) {
<Text color="gray" size="sm">
© jsoncrack.com
</Text>
- <Text color="gray" size="sm">
- </Text>
+ <Anchor href="mailto:[email protected]" color="gray" size="sm">
+ </Anchor>
</Container>
</footer>
);
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index cfb9b6d9..d1cfdacf 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -3,19 +3,18 @@ import Head from "next/head";
import {
Flex,
Stack,
- Title,
Button,
List,
ThemeIcon,
Divider,
- Badge,
Text,
Container,
Center,
Paper,
+ Badge,
} from "@mantine/core";
import { AiOutlineInfoCircle } from "react-icons/ai";
-import { BsCheck } from "react-icons/bs";
+import { BsCheck, BsX } from "react-icons/bs";
import { paymentURL } from "src/constants/data";
import Layout from "src/layout/Layout";
@@ -29,17 +28,23 @@ const Pricing = () => {
<Center>
<Stack>
<Flex gap="lg">
- <Paper p="lg" withBorder>
- <Stack spacing="xs">
- <Title color="dark" order={3}>
- Free plan
- <Text size="sm" color="dimmed">
- (Free)
+ <Paper p="xl" radius="lg" shadow="lg" withBorder>
+ <Flex w={275} justify="space-between">
+ <Stack spacing="0">
+ <Text fz="xl" fw="bold">
+ Free
</Text>
- </Title>
+ <Text fz="xs" fw="bold" color="gray.6">
+ Free - forever.
+ </Text>
+ </Stack>
+ </Flex>
+ <Divider my="sm" />
+ <Flex direction="column" justify="space-between" h={250}>
<List
spacing="xs"
size="sm"
+ mt="lg"
center
icon={
<ThemeIcon color="dark.6" size={20} radius="xl">
@@ -47,91 +52,162 @@ const Pricing = () => {
</ThemeIcon>
}
>
- <List.Item>Store/Share up to 15 files</List.Item>
- <List.Item>Visualize standard size data</List.Item>
+ <List.Item>Limited capability</List.Item>
+ <List.Item>Save & share up to 15 files</List.Item>
+ <List.Item>Visualize all data formats</List.Item>
+ <List.Item
+ icon={
+ <ThemeIcon color="gray.5" size={20} radius="xl">
+ <BsX size="1rem" />
+ </ThemeIcon>
+ }
+ >
+ <Text color="gray.6">JSON Schema</Text>
+ </List.Item>
+ <List.Item
+ icon={
+ <ThemeIcon color="gray.5" size={20} radius="xl">
+ <BsX size="1rem" />
+ </ThemeIcon>
+ }
+ >
+ <Text color="gray.6">Edit data through graph</Text>
+ </List.Item>
</List>
- </Stack>
+ <Button size="md" radius="md" color="orange" variant="outline">
+ Current
+ </Button>
+ </Flex>
</Paper>
- <Divider color="gray" orientation="vertical" />
- <Paper p="lg" withBorder>
- <Stack spacing="xs">
- <Title color="dark" order={3}>
- JSON Crack Plus
- <Text size="sm" color="dimmed">
- USD 5$/mo
+ <Paper p="xl" radius="lg" shadow="lg" bg="#301e55" withBorder>
+ <Flex w={275} justify="space-between">
+ <Stack spacing="0">
+ <Text c="white" fz="xl" fw="bold">
+ Premium
</Text>
- </Title>
- <Button
- component="a"
- href={paymentURL()}
- variant="filled"
- color="teal"
- size="md"
- target="_blank"
- >
- Upgrade plan
- </Button>
+ <Badge size="xs" mt="auto" color="violet" opacity={0.4}>
+ Annual Save 30%
+ </Badge>
+ </Stack>
+ <Paper py={5} px="sm" bg="#442f71">
+ <Stack spacing="0" align="center" justify="center">
+ <Text fz="lg" c="white" fw="bolder">
+ $5.00
+ </Text>
+ <Text fz="xs" color="gray.4" fw="bold">
+ Per month
+ </Text>
+ </Stack>
+ </Paper>
+ </Flex>
+ <Divider my="sm" />
+ <Flex direction="column" justify="space-between" h={250}>
<List
spacing="xs"
size="sm"
+ mt="lg"
center
icon={
- <ThemeIcon color="teal" size={20} radius="xl">
- <BsCheck size="1rem" />
+ <ThemeIcon color="white" size={20} radius="xl">
+ <BsCheck size="1rem" color="black" />
</ThemeIcon>
}
>
- <List.Item>Edit directly on graph</List.Item>
- <List.Item>JSON Schema support</List.Item>
- <List.Item>Visualize data at full capability</List.Item>
- <List.Item>Save & share up to 200 files</List.Item>
+ <List.Item>
+ <Text c="white">Maximum capability</Text>
+ </List.Item>
+ <List.Item>
+ <Text c="white">Save & share up to 200 files</Text>
+ </List.Item>
+ <List.Item>
+ <Text c="white">Visualize all data formats</Text>
+ </List.Item>
+ <List.Item>
+ <Text c="white">JSON Schema</Text>
+ </List.Item>
+ <List.Item>
+ <Text c="white">Edit data through graph</Text>
+ </List.Item>
</List>
- </Stack>
- </Paper>
-
- <Divider color="gray" orientation="vertical" />
- <Paper p="lg" withBorder>
- <Stack spacing="xs">
- <Title color="dark" order={3}>
- JSON Crack Enterprise
- <Text size="sm" color="dimmed">
- USD 150$/mo
- </Text>
- </Title>
<Button
component="a"
href={paymentURL()}
- variant="filled"
- color="teal"
- size="md"
target="_blank"
+ size="md"
+ radius="md"
+ color="orange"
>
- Upgrade plan
+ Upgrade
</Button>
+ </Flex>
+ </Paper>
+
+ <Paper p="xl" radius="lg" shadow="lg" withBorder>
+ <Flex w={275} justify="space-between">
+ <Stack spacing="0">
+ <Text fz="xl" fw="bold">
+ Enterprise
+ </Text>
+ <Text fz="xs" fw="bold" color="gray.6">
+ For Teams & Organizations
+ </Text>
+ </Stack>
+ <Paper py={5} px="sm" bg="gray.0">
+ <Stack spacing="0" align="center" justify="center">
+ <Text fz="lg" fw="bolder">
+ $150
+ </Text>
+ <Text fz="xs" color="gray.6" fw="bold">
+ Per month
+ </Text>
+ </Stack>
+ </Paper>
+ </Flex>
+ <Divider my="sm" />
+ <Flex direction="column" justify="space-between" h={250}>
<List
spacing="xs"
size="sm"
+ mt="lg"
center
icon={
- <ThemeIcon color="teal" size={20} radius="xl">
+ <ThemeIcon color="dark.6" size={20} radius="xl">
<BsCheck size="1rem" />
</ThemeIcon>
}
>
- <List.Item w={200}>Enable premium to all accounts with work email</List.Item>
- <List.Item>Everything in previous tiers</List.Item>
+ <List.Item>Everything from previous plans</List.Item>
+ <List.Item
+ icon={
+ <ThemeIcon color="orange" size={20} radius="xl">
+ <BsCheck size="1rem" />
+ </ThemeIcon>
+ }
+ >
+ Unlimited premium accounts for work email
+ </List.Item>
<List.Item
icon={
- <ThemeIcon color="dark.5" size={20} radius="xl">
+ <ThemeIcon color="orange" size={20} radius="xl">
<BsCheck size="1rem" />
</ThemeIcon>
}
>
- API Access <Badge>Soon</Badge>
+ Shared cloud in app
</List.Item>
</List>
- </Stack>
+ <Button
+ component="a"
+ href={paymentURL()}
+ target="_blank"
+ size="md"
+ radius="md"
+ color="orange"
+ >
+ Upgrade
+ </Button>
+ </Flex>
</Paper>
</Flex>
<Text align="center" size="sm" color="dimmed">