import React from "react";
import dynamic from "next/dynamic";
import Head from "next/head";
import Link from "next/link";
import Script from "next/script";
import { AiOutlineRight } from "react-icons/ai";
import {
HiCursorClick,
HiLightningBolt,
HiOutlineDownload,
HiOutlineSearchCircle,
} from "react-icons/hi";
import { IoHeart } from "react-icons/io5";
import { SiVisualstudiocode } from "react-icons/si";
import { vscDarkPlus } from "react-syntax-highlighter/dist/cjs/styles/prism";
import { CarbonAds } from "src/components/CarbonAds";
import { Footer } from "src/components/Footer";
import { Producthunt } from "src/components/Producthunt";
import { Sponsors } from "src/components/Sponsors";
import { SupportButton } from "src/components/SupportButton";
import { baseURL } from "src/constants/data";
import { TABS } from "src/constants/previewSection";
import { PricingCards } from "../PricingCards";
import * as Styles from "./styles";
const SyntaxHighlighter = dynamic(
() => import("react-syntax-highlighter/dist/esm/prism-async").then(c => c),
{
ssr: false,
}
);
const Navbar = () => (
EditorFeaturesSponsor
GitHub
Documentation
);
const HeroSection = () => (
JSON CRACK
Seamlessly visualize your JSON data{" "}
instantly into graphs.
GO TO EDITOR
SPONSOR US
GET IT ON VS CODE
);
const PreviewSection = () => {
const [currentTab, setCurrentTab] = React.useState(0);
const updateTab = (tabId: number) => {
const embed = document.getElementById("jcPreview") as HTMLIFrameElement;
embed.contentWindow?.postMessage({
json: TABS[tabId].json,
});
setCurrentTab(tabId);
};
return (
{TABS.map(tab => (
updateTab(tab.id)}
key={tab.id}
>
{tab.name}
))}
{TABS[currentTab].json}
);
};
const FeaturesSection = () => (
EASY-TO-USE
We believe that powerful software doesn't have to be difficult to use. That's why
we've designed our app to be as intuitive and easy-to-use as possible. You can quickly
and easily load your JSON data and start exploring and analyzing it right away!
SEARCH
Have a huge file of values, keys or arrays? Worry no more, type in the keyword you are
looking for into search input and it will take you to each node with matching result
highlighting the line to understand better!
DOWNLOAD
Download the graph to your local machine and use it wherever you want, to your blogs,
website or make it a poster and paste to the wall. Who wouldn't want to see a JSON
Crack graph onto their wall, eh?
LIVE
With Microsoft's Monaco Editor which is also used by VS Code, easily edit your JSON and
directly view through the graphs. Also there's a JSON validator above of it to make
sure there is no type error.
);
const GitHubSection = () => (
Looking to understand or explore some JSON? Just paste or upload to visualize it as a
graph with https://t.co/HlKSrhKryJ 😍
{" "}
Open Source Community
At JSON Crack, we believe in the power of open source software and the communities that
support it. That's why we're proud to be part of the open source community and to
contribute to the development and growth of open source tools and technologies.
As part of our commitment to the open source community, we've made our app
freely available to anyone who wants to use it, and we welcome contributions from anyone
who's interested in helping to improve it. Whether you're a developer, a data
scientist, or just someone who's passionate about open source, we'd love to have
you join our community and help us make JSON Crack the best it can be.
So why not join us and become part of the JSON Crack open source community today? We
can't wait to see what we can accomplish together!
STAR ON GITHUB
);
const EmbedSection = () => (
Embed Into Your Website
JSON Crack provides users with the necessary code to embed the app into a website easily
using an iframe. This code can be easily copied and pasted into the desired location on the
website, allowing users to quickly and easily integrate JSON Crack into existing workflows.
Once the app is embedded, users can use it to view and analyze JSON data directly on
the website. This can be useful for a variety of purposes, such as quickly checking the
structure of a JSON file or verifying the data contained within it. JSON Crack's
intuitive interface makes it easy to navigate and understand even complex JSON data, making
it a valuable tool for anyone working with JSON.
LEARN TO EMBED
);
const SupportSection = () => (
Support JSON Crack at
Product HuntAffiliate
);
const SponsorSection = () => (
Sponsors
Your supports make JSON Crack possible to continue and accessible for everyone!
Become A Sponsor!
);
const Home: React.FC = () => {
return (
JSON Crack - Crack your data into pieces
);
};
export default Home;