Skip to content

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

chore: add markup

AykutSaracb2f1ac1913cf
diff --git a/src/constants/jsonld.ts b/src/constants/jsonld.ts
new file mode 100644
index 00000000..16e9000a
--- /dev/null
+++ b/src/constants/jsonld.ts
@@ -0,0 +1,22 @@
+export function generateJsonld() {
+ return {
+ __html: `{
+ "@context": "https://schema.org",
+ "@type": "WebApplication",
+ "name": "JSON Crack",
+ "applicationCategory": "DeveloperApplication",
+ "logo": "https://jsoncrack.com/assets/192.jpg",
+ "screenshot": "https://jsoncrack.com/assets/preview/1.png",
+ "description": "JSON Crack is a powerful JSON visualization tool that offers a wide range of features including formatting, validation, conversion, and more.",
+ "url": "https://jsoncrack.com",
+ "browserRequirements": "Requires JavaScript. Requires HTML5.",
+ "operatingSystem": "All",
+ "sameAs": [
+ "https://www.x.com/jsoncrack",
+ "https://www.linkedin.com/company/jsoncrack",
+ "https://github.com/AykutSarac/jsoncrack.com"
+ ]
+ }
+ `,
+ };
+}
diff --git a/src/containers/Landing/PremiumVsFree.tsx b/src/containers/Landing/PremiumVsFree.tsx
index 099590f0..a1ada454 100644
--- a/src/containers/Landing/PremiumVsFree.tsx
+++ b/src/containers/Landing/PremiumVsFree.tsx
@@ -97,12 +97,7 @@ export const PremiumVsFree = () => {
itemTwo={
<>
<Overlay color="#000" backgroundOpacity={0.1} />
- <Image
- loading="lazy"
- fetchPriority="low"
- src="./assets/preview/free.webp"
- alt="Free"
- />
+ <Image loading="lazy" src="./assets/preview/free.webp" alt="Free" />
</>
}
handle={
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 0091f40f..a39880ed 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,6 +1,7 @@
import React from "react";
import type { GetStaticProps, InferGetStaticPropsType } from "next";
import Head from "next/head";
+import { generateJsonld } from "src/constants/jsonld";
import { metaDescription } from "src/constants/landing";
import { FAQ } from "src/containers/Landing/FAQ";
import { Features } from "src/containers/Landing/Features";
@@ -20,6 +21,11 @@ export const HomePage = ({ stars }: InferGetStaticPropsType<typeof getStaticProp
<meta property="og:description" content={metaDescription} key="ogdescription" />
<meta name="twitter:description" content={metaDescription} key="twdescription" />
<link rel="canonical" href="https://jsoncrack.com" />
+ <script
+ type="application/ld+json"
+ dangerouslySetInnerHTML={generateJsonld()}
+ key="product-jsonld"
+ />
</Head>
<HeroSection />
<LovedBy stars={stars} />