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 landing

AykutSarac811d1b11e6a9
diff --git a/public/sitemap.txt b/public/sitemap.txt
index 60d3d75a..4c9e9fa2 100644
--- a/public/sitemap.txt
+++ b/public/sitemap.txt
@@ -6,4 +6,3 @@ https://jsoncrack.com/docs
https://jsoncrack.com/widget
https://jsoncrack.com/legal/terms
https://jsoncrack.com/legal/privacy
-https://jsoncrack.com/premium
diff --git a/src/containers/Landing/HeroSection.tsx b/src/containers/Landing/HeroSection.tsx
index 37db9aeb..d0013e62 100644
--- a/src/containers/Landing/HeroSection.tsx
+++ b/src/containers/Landing/HeroSection.tsx
@@ -1,9 +1,9 @@
import React from "react";
import { Plus_Jakarta_Sans } from "next/font/google";
import Link from "next/link";
-import { Stack, Flex, Text, Button } from "@mantine/core";
+import { Stack, Flex, Text, Button, Badge } from "@mantine/core";
import styled from "styled-components";
-import { FaChevronRight } from "react-icons/fa6";
+import { FaChevronRight, FaFire } from "react-icons/fa6";
const plusJakartaSans = Plus_Jakarta_Sans({
subsets: ["latin-ext"],
@@ -104,6 +104,18 @@ export const HeroSection = () => {
<StyledHeroSection>
<StyledHeroSectionBody>
<Stack flex="1" miw={250} mx="auto" align="center">
+ <Link href="https://todiagram.com?ref=jsoncrack.com">
+ <Badge
+ fw={600}
+ size="lg"
+ variant="outline"
+ color="red.5"
+ leftSection={<FaFire />}
+ tt="unset"
+ >
+ NEW: Now faster & more powerful — ToDiagram.com
+ </Badge>
+ </Link>
<StyledHeroTitle>Visualize JSON into interactive graphs</StyledHeroTitle>
<StyledHeroText>
The best JSON viewer tool to <strong>visualize</strong>, <strong>format</strong> and{" "}
@@ -122,17 +134,6 @@ export const HeroSection = () => {
>
Go to Editor
</Button>
- <Button
- component={Link}
- variant="default"
- prefetch={false}
- href="/premium"
- size="md"
- radius="md"
- fw="500"
- >
- Explore Premium
- </Button>
</Flex>
<Flex gap="lg" wrap="wrap" justify="center" visibleFrom="xs">
<Button
@@ -146,17 +147,6 @@ export const HeroSection = () => {
>
Go to Editor
</Button>
- <Button
- component={Link}
- variant="default"
- prefetch={false}
- href="/premium"
- size="lg"
- radius="md"
- fw="500"
- >
- Explore Premium
- </Button>
</Flex>
<Text ta="center" size="xs" c="dimmed">
Supports JSON, CSV, XML, YAML, TOML
diff --git a/src/containers/Landing/PremiumVsFree.tsx b/src/containers/Landing/PremiumVsFree.tsx
index e9d2fd52..fedbf838 100644
--- a/src/containers/Landing/PremiumVsFree.tsx
+++ b/src/containers/Landing/PremiumVsFree.tsx
@@ -48,7 +48,7 @@ export const PremiumVsFree = () => {
</Text>
<Button
component={Link}
- href="/premium"
+ href="/#pricing"
prefetch={false}
display="block"
w="fit-content"
@@ -66,7 +66,7 @@ export const PremiumVsFree = () => {
</Box>
<StyledImageWrapper>
- <Link href="/premium#features" prefetch={false}>
+ <Link href="/#pricing" prefetch={false}>
<Image
loading="lazy"
src="./assets/preview/1.webp"
diff --git a/src/containers/Modals/UpgradeModal/index.tsx b/src/containers/Modals/UpgradeModal/index.tsx
index 9efbb1a4..ab2a2f87 100644
--- a/src/containers/Modals/UpgradeModal/index.tsx
+++ b/src/containers/Modals/UpgradeModal/index.tsx
@@ -88,7 +88,7 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {
<List.Item>Customizable graph colors</List.Item>
<List.Item>Tabs for multiple documents</List.Item>
<List.Item>
- <Anchor c="inherit" td="underline" href="/premium#preview" target="_blank">
+ <Anchor c="inherit" td="underline" href="/#pricing" target="_blank">
..see all features
</Anchor>
</List.Item>
diff --git a/src/layout/Footer.tsx b/src/layout/Footer.tsx
index f2d82852..fb2cce56 100644
--- a/src/layout/Footer.tsx
+++ b/src/layout/Footer.tsx
@@ -29,9 +29,6 @@ export const Footer = () => {
>
VS Code
</Anchor>
- <Anchor component={Link} prefetch={false} fz="sm" c="gray.5" href="/premium">
- Premium
- </Anchor>
<Anchor
href="https://github.com/AykutSarac/jsoncrack.com"
fz="sm"
diff --git a/src/layout/Navbar.tsx b/src/layout/Navbar.tsx
index dabea8f6..23b1af83 100644
--- a/src/layout/Navbar.tsx
+++ b/src/layout/Navbar.tsx
@@ -64,7 +64,7 @@ export const Navbar = () => {
prefetch={false}
href="/#pricing"
variant="subtle"
- color="dark"
+ color="black"
size="md"
radius="md"
>
@@ -75,7 +75,7 @@ export const Navbar = () => {
href="https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode"
target="_blank"
variant="subtle"
- color="dark"
+ color="black"
size="md"
radius="md"
>
@@ -86,7 +86,7 @@ export const Navbar = () => {
href="https://github.com/AykutSarac/jsoncrack.com"
target="_blank"
variant="subtle"
- color="dark"
+ color="black"
size="md"
radius="md"
>
@@ -96,7 +96,7 @@ export const Navbar = () => {
<Right>
<Button
variant="subtle"
- color="dark"
+ color="black"
component="a"
href="https://app.jsoncrack.com/sign-in"
visibleFrom="sm"
diff --git a/src/pages/premium.tsx b/src/pages/premium.tsx
deleted file mode 100644
index ae7ac55b..00000000
--- a/src/pages/premium.tsx
+++ /dev/null
@@ -1,395 +0,0 @@
-import React from "react";
-import Head from "next/head";
-import {
- Container,
- Box,
- Title,
- Button,
- Image,
- Text,
- SimpleGrid,
- Paper,
- ThemeIcon,
- Flex,
- Badge,
- Group,
- Radio,
- Stack,
-} from "@mantine/core";
-import styled from "styled-components";
-import { AiOutlineInfoCircle } from "react-icons/ai";
-import { GrMultiple } from "react-icons/gr";
-import { IoSparkles } from "react-icons/io5";
-import {
- MdChevronRight,
- MdCompare,
- MdOutlinePhotoSizeSelectSmall,
- MdOutlineTimer,
- MdPalette,
- MdRocketLaunch,
- MdSpeed,
-} from "react-icons/md";
-import { RiRobot2Line } from "react-icons/ri";
-import { PremiumPreview } from "src/containers/Landing/PremiumPreview";
-import Layout from "src/layout/Layout";
-import { gaEvent } from "src/lib/utils/gaEvent";
-import { PRICING, purchaseLinks } from "./pricing";
-
-const StyledRadioCard = styled(Radio.Card)`
- border-width: 2px;
- border-color: #efefef;
- min-width: 450px;
- transition: 0.2s;
- background: white;
-
- &[data-checked] {
- border-color: #120f43;
- }
-
- &:hover:not([data-checked]) {
- border-color: #b9b9b9;
- background: #f9f9f9;
- }
-
- @media only screen and (max-width: 600px) {
- min-width: unset;
- max-width: 100%;
- }
-`;
-
-const StyledFeatureCard = styled(Paper)<any>`
- background: rgba(255, 170, 234, 0.1);
- border-radius: 16px;
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
- backdrop-filter: blur(5px);
- -webkit-backdrop-filter: blur(5px);
- border: 1px solid rgba(255, 255, 255, 0.11);
- transition: 0.2s;
-
- &:hover {
- background: rgba(255, 170, 234, 0.15);
- }
-`;
-
-interface FeatureItem {
- title: string;
- description: string;
- icon: React.ReactNode;
- color: string;
-}
-
-const features: FeatureItem[] = [
- {
- title: "Larger Data",
- description: "From 300 KB to 4 MB upgraded data size.",
- icon: (
- <Text fz="sm" fw="500">
- 4 MB
- </Text>
- ),
- color: "blue.3",
- },
- {
- title: "Compact Design",
- description:
- "50% less graph size. Get rid of the redundant data and nodes, focus on what's important.",
- icon: <MdOutlinePhotoSizeSelectSmall size={30} />,
- color: "violet.1",
- },
- {
- title: "Faster",
- description:
- "Load data faster. Navigate faster. Search faster. Everything is faster than ever.",
- icon: <MdSpeed size={30} />,
- color: "green.3",
- },
- {
- title: "Compare",
- description: "Compare two data, highlight the differences directly on the graphs.",
- icon: <MdCompare size={30} />,
- color: "red.3",
- },
- {
- title: "Customize",
- description: "Customize the graph's colors to align with your brand or personal preferences.",
- icon: <MdPalette size={30} />,
- color: "yellow.2",
- },
- {
- title: "Edit Directly",
- description:
- "Modify your data directly on the graph. No more switching between the editor and the graph.",
- icon: <IoSparkles size={22} />,
- color: "violet.3",
- },
- {
- title: "Tabs",
- description:
- "Open multiple tabs, navigate between them easily. Save up to 200 documents to the cloud.",
- icon: <GrMultiple size={22} />,
- color: "grape.2",
- },
- {
- title: "AI-Powered",
- description: "Ask it to translate your fields, filter out by age or name includes, and more.",
- icon: <RiRobot2Line size={22} />,
- color: "gray.1",
- },
-];
-
-const Premium = () => {
- const [plan, setPlan] = React.useState("annual");
-
- const getUpgradeLink = () => {
- const link = new URL(purchaseLinks[plan]);
-
- gaEvent("Premium Page", "click select", plan);
- return link.toString();
- };
-
- return (
- <>
- <Head>
- <title>Premium - JSON Crack</title>
- <link rel="canonical" href="https://jsoncrack.com/premium" />
- <meta
- name="description"
- content="Rebuilt from the ground up — now faster, more powerful, and more visually stunning."
- />
- <meta
- property="og:description"
- content="Rebuilt from the ground up — now faster, more powerful, and more visually stunning."
- />
- <meta
- name="twitter:description"
- content="Rebuilt from the ground up — now faster, more powerful, and more visually stunning."
- />
- </Head>
- <Layout>
- <Container
- pos="relative"
- pt={60}
- pb={180}
- fluid
- style={{
- backgroundColor: "#1a0027",
- backgroundImage: "url(./assets/mesh.webp)",
- backgroundAttachment: "fixed",
- backgroundSize: "cover",
- }}
- >
- <Flex px="xl" justify="center" gap={60}>
- <Box maw={600}>
- <Title
- order={1}
- c="gray.1"
- fz={{
- base: 38,
- xs: 40,
- }}
- >
- Premium
- </Title>
- <Text
- c="gray.2"
- mt={32}
- fz={{
- base: 14,
- xs: 18,
- }}
- >
- Redesigned for a smoother, faster, and more powerful experience. New features save
- time and effort.
- </Text>
- <Button
- component="a"
- href="#pricing"
- mt="lg"
- color="gray.2"
- radius="md"
- size="lg"
- rightSection={<MdChevronRight size={30} />}
- >
- Upgrade now
- </Button>
- <Image
- pos="absolute"
- bottom={-1}
- left={0}
- src="./assets/premium-divider.svg"
- width="100%"
- alt="divider"
- style={{
- transform: "scaleY(-1) scaleX(-1)",
- }}
- />
- </Box>
- <Image
- src="./assets/logo.svg"
- alt="hero"
- w="300"
- h="200"
- opacity={0.01}
- visibleFrom="sm"
- />
- </Flex>
- </Container>
- <PremiumPreview />
- <Container
- component="section"
- id="features"
- fluid
- style={{
- backgroundColor: "#1a0027",
- backgroundImage: "url(./assets/mesh.webp)",
- backgroundAttachment: "fixed",
- backgroundSize: "cover",
- }}
- my={120}
- py={40}
- >
- <Container size="xl">
- <Title
- fz={{
- base: 28,
- xs: 36,
- }}
- order={2}
- c="gray.4"
- >
- Built for everyone.
- </Title>
- <Text c="gray.6" fz="xl" mb={40}>
- Zero technical knowledge required.
- </Text>
- <SimpleGrid
- cols={{
- base: 1,
- xs: 2,
- md: 4,
- }}
- spacing="xl"
- >
- {features.map((feature, index) => (
- <StyledFeatureCard p="lg" radius="md" key={index}>
- <Flex gap="sm" align="center" justify="center" direction="column">
- <ThemeIcon radius="xl" size="xl" variant="light" color={feature.color}>
- {feature.icon}
- </ThemeIcon>
- <Title ta="center" c="gray.4" order={3}>
- {feature.title}
- </Title>
- <Text c="gray.5">{feature.description}</Text>
- </Flex>
- </StyledFeatureCard>
- ))}
- </SimpleGrid>
- </Container>
- </Container>
- <Container pt="xl" component="section" id="pricing" size="xl">
- <Title
- maw={800}
- fw={500}
- mx="auto"
- ta="center"
- c="#120F43"
- fz={{
- base: 28,
- xs: 40,
- }}
- order={2}
- >
- Unlock the benefits now.
- </Title>
- <Radio.Group maw={600} mx="auto" mt="xl" value={plan} onChange={setPlan}>
- <Stack>
- <StyledRadioCard value="monthly" radius="lg" px="xl" py="md">
- <Group align="center" justify="space-between">
- <Flex align="center" gap="xs">
- <Text fz="xl" c="gray.7" fw={600}>
- Monthly
- </Text>
- </Flex>
- <Flex fw={500} align="baseline" fz="sm" c="gray.5">
- <Text fw={600} fz="xl" c="gray.7">
- ${PRICING.MONTHLY}
- </Text>
- <Text fw={500} fz="sm" c="gray.5" ml="2">
- / month
- </Text>
- </Flex>
- </Group>
- </StyledRadioCard>
- <StyledRadioCard value="annual" radius="lg" px="xl" py="md">
- <Group align="center" justify="space-between">
- <Flex align="center" gap="xs">
- <Text fz="xl" c="gray.7" fw={600}>
- Yearly
- </Text>
- </Flex>
- <Flex fw={500} align="baseline" fz="sm" c="gray.5">
- <Text fw={600} fz="xl" c="gray.7">
- ${PRICING.ANNUAL * 12}
- </Text>
- <Text fw={500} fz="sm" c="gray.5" ml="2">
- / year
- </Text>
- </Flex>
- </Group>
- </StyledRadioCard>
- {PRICING.LTD && (
- <StyledRadioCard value="ltd" radius="lg" px="xl" py="md">
- <Group align="center" justify="space-between">
- <Flex align="center" gap="xs">
- <Text fz="xl" c="gray.7" fw={600}>
- Lifetime
- </Text>
- <Badge
- variant="light"
- size="sm"
- radius="lg"
- color="red"
- leftSection={<MdOutlineTimer size="12" />}
- >
- Limited
- </Badge>
- </Flex>
- <Flex fw={500} align="baseline" fz="sm" c="gray.5">
- <Text fw={600} fz="xl" c="gray.7">
- ${PRICING.LTD}
- </Text>
- <Text fw={500} fz="sm" c="gray.5" ml="2">
- / lifetime
- </Text>
- </Flex>
- </Group>
- </StyledRadioCard>
- )}
- </Stack>
- <Button
- component="a"
- href={getUpgradeLink()}
- target="_blank"
- color="#2a0f43"
- fullWidth
- mt="xl"
- size="xl"
- radius="md"
- leftSection={<MdRocketLaunch />}
- >
- Upgrade
- </Button>
- </Radio.Group>
- <Flex mt="sm" c="dimmed" justify="center" align="center" gap={4}>
- <AiOutlineInfoCircle />
- <Text size="xs">
- Payment email must be matching with the account registered to the JSON Crack.
- </Text>
- </Flex>
- </Container>
- </Layout>
- </>
- );
-};
-
-export default Premium;
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index 4ea8a768..c7dea1a9 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -1,6 +1,5 @@
import React from "react";
import Head from "next/head";
-import Link from "next/link";
import {
Flex,
Stack,
@@ -174,9 +173,6 @@ export const PricingCards = () => {
<Text fz="xs" c="gray.6">
billed {isMonthly ? "monthly" : "yearly"}
</Text>
- <Anchor component={Link} href="/premium" ml="sm" fz="xs" td="underline" c="gray.5">
- see all features
- </Anchor>
</Flex>
</Stack>
</Flex>