Skip to content

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

landing update

AykutSarac378e120c6507
diff --git a/default.conf b/default.conf
index 87387483..4f310f84 100644
--- a/default.conf
+++ b/default.conf
@@ -10,17 +10,11 @@ server {
location /widget {
try_files $uri /widget.html;
}
-
location /docs {
try_files $uri /docs.html;
}
-
- location /pricing {
- try_files $uri /pricing.html;
- }
-
location /forgot-password {
try_files $uri /forgot-password.html;
}
diff --git a/public/sitemap.txt b/public/sitemap.txt
index 379388b9..b136b4f1 100644
--- a/public/sitemap.txt
+++ b/public/sitemap.txt
@@ -1,5 +1,4 @@
https://jsoncrack.com
-https://jsoncrack.com/pricing
https://jsoncrack.com/sign-in
https://jsoncrack.com/sign-up
https://jsoncrack.com/oauth
diff --git a/src/containers/Landing/PremiumVsFree.tsx b/src/containers/Landing/PremiumVsFree.tsx
index fedbf838..7c461947 100644
--- a/src/containers/Landing/PremiumVsFree.tsx
+++ b/src/containers/Landing/PremiumVsFree.tsx
@@ -1,19 +1,27 @@
import React from "react";
-import Link from "next/link";
-import { Title, Image, Container, Flex, Box, Button, Text } from "@mantine/core";
+import { Title, Image, Flex, Box, Button, Text, Paper, Center } from "@mantine/core";
import styled from "styled-components";
import { FaArrowRightLong } from "react-icons/fa6";
const StyledImageWrapper = styled.div`
- flex: 1.8;
- width: 100%;
- filter: drop-shadow(0px 0px 30px rgba(236, 236, 236, 0.2));
+ margin: 0 -30px -30px;
+ padding-left: 30px;
+ padding-top: 30px;
`;
export const PremiumVsFree = () => {
return (
- <Container p={30} bg="#202842" id="premium" fluid component="section" my={120}>
- <Container size="lg">
+ <Center mx="lg" my={120}>
+ <Paper
+ p={30}
+ w="fit-content"
+ bg="#202842"
+ id="premium"
+ component="section"
+ style={{
+ borderRadius: 20,
+ }}
+ >
<Flex
gap="lg"
align="center"
@@ -35,54 +43,43 @@ export const PremiumVsFree = () => {
fw={600}
mb={20}
>
- Premium
+ Upgrade
<Box pos="absolute" mt="-6px" maw="150px" w="100%">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1418 125" fill="#ffbb55">
<path d="M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z"></path>
</svg>
</Box>
</Title>
- <Text c="gray.5" fz="lg" mb="xl">
- Upgrade for larger uploads, refined editor, faster experience, advanced tools and
- more.
+ <Text c="gray.4" fz="lg" mb="xl" maw={400}>
+ Larger uploads, faster experience, better diagrams and advanced tools.
</Text>
<Button
- component={Link}
- href="/#pricing"
- prefetch={false}
+ component="a"
+ href="https://todiagram.com"
display="block"
w="fit-content"
miw={200}
- variant="white"
- color="gray"
+ color="#fe5e49"
size="lg"
mt="xl"
rightSection={<FaArrowRightLong />}
radius="xl"
fz="md"
>
- Explore More
+ See more
</Button>
</Box>
<StyledImageWrapper>
- <Link href="/#pricing" prefetch={false}>
- <Image
- loading="lazy"
- src="./assets/preview/1.webp"
- alt="Pro"
- style={{
- borderRadius: 10,
- overflow: "hidden",
- border: "1px solid #c1c1c1",
- outline: "1px solid #c1c1c1",
- outlineOffset: "6px",
- }}
- />
- </Link>
+ <Image
+ mah="400"
+ loading="lazy"
+ src="https://todiagram.com/images/landing/editor.webp"
+ alt="ToDiagram Editor"
+ />
</StyledImageWrapper>
</Flex>
- </Container>
- </Container>
+ </Paper>
+ </Center>
);
};
diff --git a/src/layout/ExternalMode.tsx b/src/layout/ExternalMode.tsx
index 9cadcb35..c4620b63 100644
--- a/src/layout/ExternalMode.tsx
+++ b/src/layout/ExternalMode.tsx
@@ -81,7 +81,7 @@ const ExternalMode = () => {
<Button
onClick={closeModal}
component="a"
- href="https://jsoncrack.com/pricing"
+ href="https://jsoncrack.com"
target="_blank"
variant="outline"
color="red"
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index dadd8d2a..1da2ea96 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -6,7 +6,6 @@ import { Features } from "src/containers/Landing/Features";
import { HeroPreview } from "src/containers/Landing/HeroPreview";
import { HeroSection } from "src/containers/Landing/HeroSection";
import { PremiumVsFree } from "src/containers/Landing/PremiumVsFree";
-import { Pricing } from "src/containers/Landing/Pricing";
import Layout from "src/layout/Layout";
export const HomePage = () => {
@@ -26,7 +25,6 @@ export const HomePage = () => {
<HeroPreview />
<Features />
<PremiumVsFree />
- <Pricing />
<FAQ />
</Layout>
);
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
deleted file mode 100644
index f671725d..00000000
--- a/src/pages/pricing.tsx
+++ /dev/null
@@ -1,293 +0,0 @@
-import React from "react";
-import {
- Flex,
- Stack,
- Button,
- List,
- Text,
- Paper,
- SegmentedControl,
- Center,
- Anchor,
- type PaperProps,
- Box,
-} from "@mantine/core";
-import styled from "styled-components";
-import { NextSeo } from "next-seo";
-import { AiOutlineInfoCircle } from "react-icons/ai";
-import { FaArrowRightLong, FaCircleCheck } from "react-icons/fa6";
-import { SEO } from "src/constants/seo";
-import Layout from "src/layout/Layout";
-
-export const PRICING = {
- MONTHLY: 7,
- ANNUAL: 6,
- LTD: null,
- getAnnualSave: () => Math.round(((PRICING.MONTHLY - PRICING.ANNUAL) / PRICING.MONTHLY) * 100),
-};
-
-export const purchaseLinks = {
- monthly:
- "https://jsoncrack.lemonsqueezy.com/checkout/buy/ce30521f-c7cc-44f3-9435-995d3260ba22?enabled=67805",
- annual:
- "https://jsoncrack.lemonsqueezy.com/checkout/buy/577928ea-fb09-4076-9307-3e5931b35ad0?enabled=82417",
- ltd: "https://jsoncrack.lemonsqueezy.com/buy/b4d2515e-1ed2-4f32-a6ad-615f208a89eb?enabled=384328",
-};
-
-const StyledPaper = styled(Paper)<PaperProps & any & { $highlight?: boolean }>`
- padding: 1.5rem;
- width: 350px;
- flex: 350px;
- border-radius: 8px;
- background: ${({ $highlight }) => ($highlight ? "#202842" : "#ffffff")};
- box-shadow:
- 0px 0px 1px rgba(3, 7, 18, 0.09),
- 0px 0px 6px rgba(3, 7, 18, 0.07),
- 0px 0px 13px rgba(3, 7, 18, 0.05),
- 0px 0px 22px rgba(3, 7, 18, 0.04),
- 0px 0px 35px rgba(3, 7, 18, 0.02);
-`;
-
-export const PricingCards = () => {
- const [isMonthly, setIsMonthly] = React.useState(true);
-
- return (
- <Stack gap="0" align="center" w="fit-content" mx="auto">
- <Center my="lg">
- <SegmentedControl
- bg="gray.2"
- color="white"
- value={isMonthly ? "Monthly" : "Annual"}
- onChange={v => setIsMonthly(v === "Monthly")}
- size="md"
- w={280}
- radius="xl"
- data={[
- {
- label: "Monthly Billing",
- value: "Monthly",
- },
- {
- label: "Yearly Billing",
- value: "Annual",
- },
- ]}
- styles={{
- label: {
- color: "#202842",
- },
- }}
- />
- </Center>
- <Flex gap="lg" wrap="wrap" justify="space-between" maw="100%" mx="auto">
- <StyledPaper>
- <Flex justify="space-between">
- <Stack gap="0">
- <Text fw={600} size="md" c="#202842">
- Free
- </Text>
- <Flex gap="xs" align="baseline">
- <Text fz={36} fw={600} c="#202842">
- $0
- </Text>
- <Text fz="md" fw={500} c="gray.6">
- / month
- </Text>
- </Flex>
- <Text h="19" fz="xs" c="gray.6">
- free forever
- </Text>
- </Stack>
- </Flex>
- <Button
- component="a"
- href="/editor"
- target="_blank"
- variant="outline"
- size="md"
- radius="xl"
- color="#202842"
- fullWidth
- my="lg"
- >
- Start free
- </Button>
- <Flex direction="column" justify="space-between">
- <List
- spacing="sm"
- size="sm"
- c="black"
- center
- icon={<FaCircleCheck size="18" color="#202842" />}
- >
- <List.Item>
- <Text component="span" c="#4669dc" fw={500} inherit>
- 25{" "}
- </Text>
- Documents Storage
- </List.Item>
- <List.Item>
- <Text component="span" c="#4669dc" fw={500} inherit>
- 300 KB{" "}
- </Text>
- Data Support
- </List.Item>
- <List.Item>
- <Anchor
- href="https://github.com/AykutSarac/jsoncrack.com"
- target="_blank"
- rel="noreferrer"
- c="#4669dc"
- fw={500}
- fz="sm"
- style={{
- textDecoration: "underline",
- textDecorationStyle: "dashed",
- textUnderlineOffset: "2px",
- }}
- >
- Open Source
- </Anchor>
- </List.Item>
- </List>
- </Flex>
- </StyledPaper>
- <StyledPaper $highlight>
- <Flex justify="space-between">
- <Stack gap="0" w="100%">
- <Flex align="center">
- <Text fw={600} size="md" c="gray.1">
- Premium
- </Text>
- </Flex>
-
- <Flex gap="xs" align="baseline">
- <Text fz={36} fw={600} c="white">
- ${isMonthly ? PRICING.MONTHLY : PRICING.ANNUAL}
- </Text>
- <Text fz="md" fw={500} c="gray.6">
- / month
- </Text>
- </Flex>
- <Flex h="19" justify="space-between">
- <Text fz="xs" c="gray.6">
- billed {isMonthly ? "monthly" : "yearly"}
- </Text>
- </Flex>
- </Stack>
- </Flex>
- <Button
- component="a"
- variant="white"
- fw={600}
- color="#202842"
- href={isMonthly ? purchaseLinks.monthly : purchaseLinks.annual}
- target="_blank"
- size="md"
- radius="xl"
- fullWidth
- my="lg"
- >
- Upgrade
- </Button>
- <Flex direction="column" justify="space-between">
- <List
- spacing="sm"
- size="sm"
- c="gray.2"
- center
- icon={<FaCircleCheck size="18" color="#ffffff" />}
- >
- <List.Item>Edit Data from Visualizations</List.Item>
- <List.Item>Multi-Document Tabs</List.Item>
- <List.Item>Compare Data & Highlight Changes</List.Item>
- <List.Item>Customizable Themes</List.Item>
- <List.Item>AI-Powered Data Filtering</List.Item>
- <List.Item>
- <Text component="span" c="lime.4" fw={500} inherit>
- 4 MB{" "}
- </Text>
- Data Support
- </List.Item>
- <List.Item>
- <Text component="span" c="lime.4" fw={500} inherit>
- 200{" "}
- </Text>
- Documents Storage
- </List.Item>
- <List.Item>
- <Text component="span" c="lime.4" fw={500} inherit>
- 5x
- </Text>{" "}
- Faster Loading
- </List.Item>
- <List.Item>
- <Text component="span" c="lime.4" fw={500} inherit>
- 50%{" "}
- </Text>
- Smaller Graphs
- </List.Item>
- </List>
- </Flex>
- </StyledPaper>
- </Flex>
- {PRICING.LTD && (
- <Box w="100%">
- <StyledPaper withBorder p="xs" w="100%">
- <Flex wrap="wrap" gap="xs" align="end" justify="space-between">
- <Stack gap="5">
- <Text c="dark" fz="md" fw={500}>
- Buy once,
- <Text ml={4} component="span" inherit c="brightBlue.5">
- use forever
- </Text>
- !
- </Text>
- <Text c="gray.8" fz="sm" maw={400}>
- Lifetime access. One-time payment. Free updates.
- </Text>
- </Stack>
- <Button
- component="a"
- href={purchaseLinks.ltd}
- target="_blank"
- fz="sm"
- size="md"
- variant="light"
- radius="md"
- color="brightBlue"
- rightSection={<FaArrowRightLong />}
- >
- Get Lifetime Access for ${PRICING.LTD}
- </Button>
- </Flex>
- </StyledPaper>
- </Box>
- )}
- <Flex mt="sm" c="dimmed" justify="center" align="center" gap={4}>
- <AiOutlineInfoCircle />
- <Text size="sm">
- Payment email must be matching with the account registered to the JSON Crack.
- </Text>
- </Flex>
- </Stack>
- );
-};
-
-const Pricing = () => {
- return (
- <>
- <NextSeo
- {...SEO}
- title="Pricing - JSON Crack"
- description="Upgrade to JSON Crack Premium for more features and better performance."
- canonical="https://jsoncrack.com/pricing"
- />
- <Layout>
- <PricingCards />
- </Layout>
- </>
- );
-};
-
-export default Pricing;