Skip to content

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

wording update

AykutSarac5c6fbdf5b89d
diff --git a/src/containers/Landing/HeroPreview.tsx b/src/containers/Landing/HeroPreview.tsx
index b6cfe8e8..83beb9a2 100644
--- a/src/containers/Landing/HeroPreview.tsx
+++ b/src/containers/Landing/HeroPreview.tsx
@@ -50,7 +50,7 @@ export const HeroPreview = () => {
onChange={setSelectedFeature}
orientation="vertical"
withItemsBorders={false}
- color="teal"
+ color="green"
bg="transparent"
size="lg"
styles={{
diff --git a/src/containers/Landing/HeroSection.tsx b/src/containers/Landing/HeroSection.tsx
index e27ed114..ee53a6de 100644
--- a/src/containers/Landing/HeroSection.tsx
+++ b/src/containers/Landing/HeroSection.tsx
@@ -2,7 +2,6 @@ import React from "react";
import { Stack, Flex, Badge, Button } from "@mantine/core";
import styled from "styled-components";
import { MdChevronRight } from "react-icons/md";
-import { gaEvent } from "src/lib/utils/gaEvent";
const StyledHeroSection = styled.main`
position: relative;
@@ -125,30 +124,18 @@ export const HeroSection = () => {
TOML
</Badge>
</Flex>
- <Flex justify="center" gap="sm" mt="lg" wrap="wrap">
- <Button
- component="a"
- color="brightBlue"
- href="/#pricing"
- size="lg"
- radius="md"
- fw={600}
- rightSection={<MdChevronRight size={30} />}
- >
- Get Started
- </Button>
- <Button
- onClick={() => gaEvent("Hero Section", "click upgrade premium")}
- component="a"
- variant="default"
- href="/#premium"
- size="lg"
- radius="md"
- fw={600}
- >
- Premium vs Free
- </Button>
- </Flex>
+ <Button
+ component="a"
+ color="brightBlue"
+ href="/#pricing"
+ size="xl"
+ radius="md"
+ fw={600}
+ rightSection={<MdChevronRight size={30} />}
+ mt="lg"
+ >
+ Get Started
+ </Button>
</Stack>
</StyledHeroSectionBody>
</StyledHeroSection>
diff --git a/src/containers/Landing/Outro.tsx b/src/containers/Landing/Outro.tsx
deleted file mode 100644
index 0379b287..00000000
--- a/src/containers/Landing/Outro.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import React from "react";
-import Link from "next/link";
-import { Stack, Title, Button } from "@mantine/core";
-import { IoArrowForward } from "react-icons/io5";
-
-export const Outro = () => {
- return (
- <Stack align="center" mt={150}>
- <Title
- fz={{
- sm: 32,
- md: 36,
- }}
- c="gray.9"
- lts={-1}
- order={3}
- ta="center"
- >
- Designed for everyone
- <br />
- Save time understanding your data.
- </Title>
-
- <Button
- color="brightBlue"
- component={Link}
- prefetch={false}
- href="/#pricing"
- radius="lg"
- size="xl"
- rightSection={<IoArrowForward />}
- >
- Get Started
- </Button>
- </Stack>
- );
-};
diff --git a/src/layout/Navbar.tsx b/src/layout/Navbar.tsx
index ded04731..2ddfbd12 100644
--- a/src/layout/Navbar.tsx
+++ b/src/layout/Navbar.tsx
@@ -2,7 +2,6 @@ import React from "react";
import Link from "next/link";
import { Button } from "@mantine/core";
import styled from "styled-components";
-import { IoArrowForward } from "react-icons/io5";
import { JSONCrackLogo } from "./JsonCrackLogo";
const StyledNavbarWrapper = styled.div`
@@ -48,27 +47,27 @@ export const Navbar = () => {
<Left>
<JSONCrackLogo />
<Button
- ml="lg"
- component="a"
- href="https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode"
- target="_blank"
+ component={Link}
+ prefetch={false}
+ href="/#pricing"
variant="subtle"
color="black"
radius="md"
size="md"
+ ml="lg"
>
- VS Code
+ Pricing
</Button>
<Button
- component={Link}
- prefetch={false}
- href="/#pricing"
+ component="a"
+ href="https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode"
+ target="_blank"
variant="subtle"
color="black"
radius="md"
size="md"
>
- Pricing
+ VS Code
</Button>
<Button
component={Link}
@@ -98,26 +97,13 @@ export const Navbar = () => {
variant="default"
component="a"
href="https://app.jsoncrack.com/sign-in"
- radius="lg"
+ radius="md"
visibleFrom="sm"
size="md"
fw={600}
>
Sign in
</Button>
- <Button
- color="brightBlue"
- component={Link}
- prefetch={false}
- href="/#pricing"
- visibleFrom="sm"
- radius="lg"
- size="md"
- fw={600}
- rightSection={<IoArrowForward />}
- >
- Start for free
- </Button>
</Right>
</StyledNavbar>
</StyledNavbarWrapper>
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index a8cbe03b..0a0fd6fa 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -18,14 +18,13 @@ import styled from "styled-components";
import { AiOutlineInfoCircle } from "react-icons/ai";
import { IoIosCheckmarkCircle } from "react-icons/io";
import { IoCheckmarkCircle, IoCloseCircle } from "react-icons/io5";
-// import { PiChats } from "react-icons/pi";
import { VscArrowRight, VscLinkExternal } from "react-icons/vsc";
import Layout from "src/layout/Layout";
import { gaEvent } from "src/lib/utils/gaEvent";
export const PRICING = {
MONTHLY: 9,
- ANNUAL: 6,
+ ANNUAL: 5,
};
export const purchaseLinks = {
@@ -73,9 +72,26 @@ export const PricingCards = () => {
value={isMonthly ? "Monthly" : "Annual"}
onChange={v => setIsMonthly(v === "Monthly")}
size="md"
- data={["Monthly", "Annual"]}
+ miw={300}
+ data={[
+ {
+ label: "Monthly",
+ value: "Monthly",
+ },
+ {
+ label: (
+ <Flex align="center" gap="xs">
+ Annual{" "}
+ <Badge radius="sm" variant="light" color="green">
+ {Math.round(((PRICING.MONTHLY - PRICING.ANNUAL) / PRICING.MONTHLY) * 100)}% OFF
+ </Badge>
+ </Flex>
+ ),
+ value: "Annual",
+ },
+ ]}
w={200}
- radius="lg"
+ radius="md"
styles={{ label: { color: "black" } }}
mb="xl"
/>
@@ -233,7 +249,7 @@ export const PricingCards = () => {
</Flex>
<Flex gap="xs" align="baseline">
- <Text fz={38} fw={500} c="black">
+ <Text fz={38} fw={600} c="black">
${isMonthly ? PRICING.MONTHLY : PRICING.ANNUAL}
</Text>
<Text fz="md" c="gray.6">
@@ -371,7 +387,7 @@ export const PricingCards = () => {
<Text fw={500} size="xl" c="black">
Free
</Text>
- <Text fz={38} fw={500} c="black">
+ <Text fz={38} fw={600} c="black">
$0
</Text>
<Text fz="xs" c="gray.7">