✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
chore: update wordings
AykutSarac17c839d59c25
diff --git a/src/constants/faq.json b/src/constants/faq.jsonnew file mode 100644index 00000000..448c430b--- /dev/null+++ b/src/constants/faq.json@@ -0,0 +1,46 @@+[+ {+ "title": "What is JSON Crack and what does it do?",+ "content": "JSON Crack is a versatile online tool designed to visualize and analyze various data formats, including JSON, YAML, CSV, XML and more. It transforms complex data into intuitive graphs and tree views, making it ideal for developers, data analysts, and anyone working with structured data."+ },+ {+ "title": "Is my data secure?",+ "content": "Absolutely! JSON Crack prioritizes your data privacy. When you paste or import your data into the editor, it's processed only on your browser to create the visualization without going into our servers. Your data remains completely private and is never stored anywhere unless you choose to upload it manually."+ },+ {+ "title": "Can I convert JSON to other formats using JSON Crack?",+ "content": "Yes, JSON Crack offers robust data conversion capabilities. You can easily convert JSON to YAML, XML to JSON, CSV to JSON and other popular formats."+ },+ {+ "title": "Can I edit JSON data directly in graphs?",+ "content": "Yes, as part of the premium plan, you can edit JSON data directly in the editor. This feature allows you to make changes to your data and visualize the results in real-time."+ },+ {+ "title": "Is JSON Crack free?",+ "content": "JSON Crack offers a free forever plan with open-source access. For advanced features and increased usage limits, you can upgrade to a premium plan."+ },+ {+ "title": "What kind of data formats are supported?",+ "content": "A wide range of data formats are supported including JSON, YAML, XML, CSV, and TOML."+ },+ {+ "title": "Can I customize the graph colors?",+ "content": "Yes, you can customize the colors of the graph to match your brand or personal preferences as part of the premium plan."+ },+ {+ "title": "What size of data can I visualize?",+ "content": "You can visualize data up to 300 KB in size with the free plan and up to 4 MB with premium plan. It might vary depending on the complexity of the data and your hardware."+ },+ {+ "title": "Can I export the generated graphs?",+ "content": "Yes, you can export the generated graphs as PNG, JPEG, or SVG files."+ },+ {+ "title": "I purchased a premium plan, how do I access it?",+ "content": "After purchasing a premium plan, you should sign up with the email you used during the purchase or log in with the same email. The premium features will be automatically unlocked for you."+ },+ {+ "title": "How to use VS Code extension?",+ "content": "You can use the VS Code extension to visualize JSON data directly in your editor. Install the extension from the VS Code marketplace and follow the instructions at extension's page."+ }+]diff --git a/src/containers/Landing/FAQ.tsx b/src/containers/Landing/FAQ.tsxindex 5e395dac..a3c9f92e 100644--- a/src/containers/Landing/FAQ.tsx+++ b/src/containers/Landing/FAQ.tsx@@ -1,51 +1,6 @@import React from "react";import { Container, Title, Accordion } from "@mantine/core";--const Questions = [- {- title: "What is JSON Crack and what does it do?",- content:- "JSON Crack is an online data visualization app capable of visualizing data formats such as JSON, YAML, XML, CSV and more, into interactive graphs. It helps you to understand, analyze and debug your data easily. JSON Crack is designed for developers, data analysts, and anyone who works with structured data formats. It's also helpful for creating documentation and presentations for your teams/customers.",- },- {- title: "What kind of data formats does are supported?",- content: "A wide range of data formats are supported including JSON, YAML, XML, CSV, and TOML.",- },- {- title: "Is my data secure with JSON Crack?",- content:- "Absolutely! JSON Crack prioritizes your data privacy. When you paste your data into the editor, it's processed only on your device to create the visualization. Your data remains completely private and is never stored anywhere unless you choose to upload it manually.",- },- {- title: "Can I customize the graph colors?",- content:- "Yes, you can customize the colors of the graph to match your brand or personal preferences as part of the premium plan.",- },- {- title: "What size of data can I visualize?",- content:- "You can visualize data up to 300 KB in size with the free plan and up to 4 MB with premium plan. It might vary depending on the complexity of the data and your hardware.",- },- {- title: "Can I export the generated graphs?",- content: "Yes, you can export the generated graphs as PNG, JPEG, or SVG files.",- },- {- title: "What is the difference between free and premium plans?",- content:- "The premium plan completely revamps the free editor, turning it into a much more powerful and efficient tool. It’s faster, more compact, and comes with a lot of extra features. Plus, you get higher data size limits and more customization options to suit your needs.",- },- {- title: "I purchased a premium plan, how do I access it?",- content:- "After purchasing a premium plan, you should sign up with the email you used during the purchase or log in with the same email. The premium features will be automatically unlocked for you.",- },- {- title: "How to use VS Code extension?",- content:- "You can use the VS Code extension to visualize JSON data directly in your editor. Install the extension from the VS Code marketplace and follow the instructions at extension's page.",- },-];+import Questions from "src/constants/faq.json";export const FAQ = () => {return (diff --git a/src/containers/Landing/Features.tsx b/src/containers/Landing/Features.tsxindex 5f09ad86..4cd8309a 100644--- a/src/containers/Landing/Features.tsx+++ b/src/containers/Landing/Features.tsx@@ -1,7 +1,20 @@import React from "react";-import { Container, Grid, Flex, rem, Title, Text, Paper } from "@mantine/core";-import { FaBolt, FaHeart, FaMagic, FaPalette, FaShapes } from "react-icons/fa";-import { FaShieldHalved } from "react-icons/fa6";+import {+ Container,+ Grid,+ Flex,+ rem,+ Title,+ Text,+ Paper,+ Center,+ Badge,+ ThemeIcon,+} from "@mantine/core";+import { FaBolt, FaMagic, FaToolbox } from "react-icons/fa";+import { GrSearchAdvanced } from "react-icons/gr";+import { MdOutlineGeneratingTokens } from "react-icons/md";+import { TbTransformFilled } from "react-icons/tb";export const Features = () => {return (@@ -19,6 +32,11 @@ export const Features = () => {my={150}mt={120}>+ <Center>+ <Badge variant="light" color="orange">+ Features+ </Badge>+ </Center><Titlec="black"order={2}@@ -50,125 +68,159 @@ export const Features = () => {mb={50}>All in one tool for JSON, YAML, CSV, XML, and TOML. Formatter, validator, visualizer, and- editor. Make smarter decisions faster.+ editor.</Text>- <Grid px={{ base: 0, xs: "xl", md: 0 }} mt={100} mx="auto" gutter={30}>+ <Grid+ px={{ base: 0, xs: "xs", sm: "xl", md: 0 }}+ mt={100}+ mx="auto"+ gutter={{+ base: 20,+ sm: 30,+ }}+ ><Grid.Col span={{ base: 12, xs: 6, md: 4 }}><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaBolt color="orange" size={24} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Real-time Visualization- </Text>+ <ThemeIcon color="yellow" variant="light" size="lg" radius="md">+ <FaBolt size={20} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Visualize Your JSON Data+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- Transform into graphs as you type. Update your data from the graphs directly.+ Transform complex JSON data into intuitive graphs and trees with JSON Crack's+ powerful visualizer. Easily understand data relationships, identify patterns, and+ debug issues. Our JSON graph and tree views provide unparalleled clarity for your JSON+ data.</Text></Paper></Grid.Col><Grid.Col span={{ base: 12, xs: 6, md: 4 }}><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaHeart color="#ff5555" size={26} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Simple- </Text>+ <ThemeIcon color="orange" variant="light" size="lg" radius="md">+ <TbTransformFilled size={20} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Convert and Transform+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- Designed for everyone. Clean, focused, and easy to use. No learning curve.+ Seamlessly convert JSON to YAML, CSV, and other formats. Transform your data with our+ flexible tools, including JSON path, JSON query (jq), and JSON schema. Edit data+ directly within the graph or tree view for ultimate control.</Text></Paper></Grid.Col><Grid.Col span={{ base: 12, xs: 6, md: 4 }} visibleFrom="xs"><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaMagic color="#8c0075" size={24} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Generate- </Text>+ <ThemeIcon color="green" variant="light" size="lg" radius="md">+ <FaMagic size={20} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Validate, Format, and Beautify+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- Generate JSON Schema and mock data, TypeScript interfaces, Golang structs, and more- from your data with a single click.+ Ensure data accuracy with our robust JSON validator. Format and beautify your JSON+ code for improved readability. Our JSON formatter and beautifier make your code+ cleaner and easier to maintain.</Text></Paper></Grid.Col><Grid.Col span={{ base: 12, xs: 6, md: 4 }}><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaPalette color="#4890fd" size={24} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Customizable- </Text>+ <ThemeIcon color="grape" variant="light" size="lg" radius="md">+ <MdOutlineGeneratingTokens size={24} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Generate Code and Schemas+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- Besides the default light and dark themes, customize the editor's theme to your- liking, matching your brand or personal preference.+ Generate code snippets, including TypeScript, Golang, and more, directly from your+ JSON data. Create JSON Schemas to define and validate your data structures.</Text></Paper></Grid.Col><Grid.Col span={{ base: 12, xs: 6, md: 4 }}><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaShieldHalved color="black" size={24} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Privacy First- </Text>+ <ThemeIcon color="indigo" variant="light" size="lg" radius="md">+ <FaToolbox size={24} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Advanced JSON Tools+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- JSON Crack does not store your data unless you upload it manually. Your data remains- completely private.+ Explore additional features like JWT decoding, data comparison, AI-powered filtering,+ and custom themes. Download your visualized data as an image for sharing or+ documentation.</Text></Paper></Grid.Col><Grid.Col span={{ base: 12, xs: 6, md: 4 }} visibleFrom="xs"><Paper h="100%" p="lg" radius="md" bg="gray.0" withBorder><Flex align="center" gap={8} mb={16}>- <FaShapes color="#00a571" size={24} />- <Text c="gray.9" fz={{ base: 16, md: 18, lg: 24, xl: 26 }} fw={500}>- Advanced Features- </Text>+ <ThemeIcon color="lime" variant="light" size="lg" radius="md">+ <GrSearchAdvanced size={24} />+ </ThemeIcon>+ <Title order={3} c="gray.9" fz={{ base: 16, md: 16, lg: 22, xl: 24 }} fw={500}>+ Edit, Search, and Analyze+ </Title></Flex><Textc="gray.7"fz={{- base: 14,- xs: 16,+ base: 12,+ xs: 14,}}+ lh={1.7}>- Unlock advanced features like JSON Path, AI data filter, Compare Data, Search on- graph, Download as Image and many more!+ Edit your JSON data directly within the graph or tree view. Search through your data+ effortlessly using our advanced search functionality. Gain deeper insights with our+ powerful JSON parser and editor.</Text></Paper></Grid.Col>diff --git a/src/containers/Landing/HeroPreview.tsx b/src/containers/Landing/HeroPreview.tsxindex 3d28a6f8..64759580 100644--- a/src/containers/Landing/HeroPreview.tsx+++ b/src/containers/Landing/HeroPreview.tsx@@ -1,5 +1,5 @@import React from "react";-import { AspectRatio, Flex, Paper, SegmentedControl, Stack } from "@mantine/core";+import { AspectRatio, Flex, Paper, SegmentedControl, Stack, Text } from "@mantine/core";import styled from "styled-components";const StyledPreviewWrapper = styled.div`@@ -75,40 +75,44 @@ export const HeroPreview = () => {}}/></Stack>-- <Paper- p={0}- w="100%"- maw={1440}- h="fit-content"- radius="lg"- shadow="xl"- bg="transparent"- style={{- overflow: "hidden",- border: "1px solid #c1c1c1",- outline: "1px solid #c1c1c1",- outlineOffset: "4px",- }}- >- <AspectRatio ratio={1440 / 760} maw={1440} w="100%" h="100%">- <video- autoPlay- muted- loop- preload="auto"- playsInline- poster={`./assets/preview/${selectedFeature}.webp`}- key={selectedFeature}- style={{ display: "block" }}- >- <source- src={`https://app.jsoncrack.com/assets/videos/p${selectedFeature}.mp4`}- type="video/mp4"- />- </video>- </AspectRatio>- </Paper>+ <Stack w="100%">+ <Paper+ p={0}+ w="100%"+ maw={1440}+ h="fit-content"+ radius="lg"+ shadow="xl"+ bg="transparent"+ style={{+ overflow: "hidden",+ border: "1px solid #c1c1c1",+ outline: "1px solid #c1c1c1",+ outlineOffset: "4px",+ }}+ >+ <AspectRatio ratio={1440 / 760} maw={1440} w="100%" h="100%">+ <video+ autoPlay+ muted+ loop+ preload="auto"+ playsInline+ poster={`./assets/preview/${selectedFeature}.webp`}+ key={selectedFeature}+ style={{ display: "block" }}+ >+ <source+ src={`https://app.jsoncrack.com/assets/videos/p${selectedFeature}.mp4`}+ type="video/mp4"+ />+ </video>+ </AspectRatio>+ </Paper>+ <Text c="gray.6" fz="sm" ta="center">+ Previews are from the Premium version of the app+ </Text>+ </Stack></Flex></StyledPreviewWrapper>);diff --git a/src/containers/Landing/PremiumVsFree.tsx b/src/containers/Landing/PremiumVsFree.tsxindex d7c87b0d..099590f0 100644--- a/src/containers/Landing/PremiumVsFree.tsx+++ b/src/containers/Landing/PremiumVsFree.tsx@@ -78,7 +78,7 @@ export const PremiumVsFree = () => {component="a"href="/#preview">- See in action!+ See preview!</Button></Box>