✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
chore: minor styling updates
AykutSarac00cf58c4144c
diff --git a/src/containers/Landing/HeroSection.tsx b/src/containers/Landing/HeroSection.tsxindex 38238606..5688b78c 100644--- a/src/containers/Landing/HeroSection.tsx+++ b/src/containers/Landing/HeroSection.tsx@@ -2,6 +2,7 @@ import React from "react";import { Manrope } from "next/font/google";import { Stack, Flex, Badge, Button, Text } from "@mantine/core";import styled from "styled-components";+import { IoSparkles } from "react-icons/io5";import { MdChevronRight } from "react-icons/md";const manrope = Manrope({@@ -117,6 +118,17 @@ export const HeroSection = () => {<StyledHeroSection id="hero-section"><StyledHeroSectionBody><Stack flex="1" miw={250} mx="auto" align="center">+ <Badge+ size="lg"+ fw={500}+ lts={0.5}+ variant="light"+ color="red"+ leftSection={<IoSparkles />}+ tt="none"+ >+ Start in 30 seconds — no registration, no payment.+ </Badge><StyledHeroTitle>Visualize JSON into interactive graphs</StyledHeroTitle><StyledHeroText>The best JSON viewer tool to <strong>visualize</strong>, <strong>format</strong> and{" "}diff --git a/src/containers/Modals/UpgradeModal/index.tsx b/src/containers/Modals/UpgradeModal/index.tsxindex 2398eada..aa850bfd 100644--- a/src/containers/Modals/UpgradeModal/index.tsx+++ b/src/containers/Modals/UpgradeModal/index.tsx@@ -15,6 +15,7 @@ import {} from "@mantine/core";import styled from "styled-components";import { IoMdCheckmarkCircleOutline } from "react-icons/io";+import { MdOutlineTimer } from "react-icons/md";import { gaEvent } from "src/lib/utils/gaEvent";import { PRICING, purchaseLinks } from "src/pages/pricing";import useUser from "src/store/useUser";@@ -26,21 +27,21 @@ const StyledRadioCard = styled(Radio.Card)`transition: 0.2s;&[data-checked] {- border-color: #ff7300;+ border-color: #2d2d2d;}&[data-checked]:hover {- background: #fffdfb;+ background: #f3f3f3;}&:hover {- border-color: #ffab6a;+ border-color: #7f7f7f;}`;export const UpgradeModal = ({ opened, onClose }: ModalProps) => {const user = useUser(state => state.user);- const [plan, setPlan] = React.useState("monthly");+ const [plan, setPlan] = React.useState("ltd");const handleUpgrade = () => {const link = new URL(purchaseLinks[plan]);@@ -102,15 +103,12 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {</Stack><Radio.Group value={plan} onChange={setPlan}><Stack>- <StyledRadioCard value="monthly" radius="lg" px="xl" py="md">+ <StyledRadioCard value="montfhly" 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>- <Badge size="sm" radius="lg" color="yellow.4">- 2 days free- </Badge></Flex><Flex fw={500} align="baseline" fz="sm" c="gray.5"><Text fw={600} fz="xl" c="gray.7">@@ -126,12 +124,6 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {<Text fz="xl" c="gray.7" fw={600}>Yearly</Text>- <Badge size="sm" radius="lg" color="yellow.4">- 2 days free- </Badge>- <Badge size="sm" radius="lg" color="yellow.4">- Save {PRICING.getAnnualSave()}%- </Badge></Flex><Flex fw={500} align="baseline" fz="sm" c="gray.5"><Text fw={600} fz="xl" c="gray.7">@@ -147,6 +139,15 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {<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">@@ -157,8 +158,8 @@ export const UpgradeModal = ({ opened, onClose }: ModalProps) => {</Group></StyledRadioCard></Stack>- <Button color="orange" fullWidth mt="xl" size="xl" radius="md" onClick={handleUpgrade}>- {plan !== "ltd" ? "Start 2-Days Free Trial" : "Upgrade"}+ <Button color="dark" fullWidth mt="xl" size="xl" radius="md" onClick={handleUpgrade}>+ Upgrade</Button></Radio.Group></Flex>diff --git a/src/modules/GraphView/NotSupported.tsx b/src/modules/GraphView/NotSupported.tsxindex 97f0d403..d0186130 100644--- a/src/modules/GraphView/NotSupported.tsx+++ b/src/modules/GraphView/NotSupported.tsx@@ -181,7 +181,7 @@ export const NotSupported = () => {radius="md"rightSection={<MdChevronRight size="24" />}>- Start Free Trial+ Upgrade Premium</Button></StyledContent>diff --git a/src/modules/GraphView/index.tsx b/src/modules/GraphView/index.tsxindex bd0e9f1c..fa0caffe 100644--- a/src/modules/GraphView/index.tsx+++ b/src/modules/GraphView/index.tsx@@ -211,7 +211,7 @@ export const GraphView = ({ isWidget = false }: GraphProps) => {onClose={() => setDialogClosed(true)}><Text size="sm" fw={500}>- Try JSON Crack Premium for free! Start 2-days free trial to explore more features.+ Need way more power over your data? Explore Premium Editor.</Text><Group justify="right" mt="sm"><Button variant="default" onClick={() => setDialogClosed(true)}>diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsxindex e371f370..2fd018f8 100644--- a/src/pages/pricing.tsx+++ b/src/pages/pricing.tsx@@ -125,7 +125,7 @@ export const PricingCards = () => {my="md"rightSection={<VscArrowRight />}>- Start 2-Days Free Trial+ Get Started</Button><Text mt="xs" fz="xs" c="dimmed">Remake version with advanced features, better performance and smooth user interface.