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: remove unused files

AykutSarac8dab86b054fa
diff --git a/README.md b/README.md
index e43a989c..4805514a 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@
## About the Project
-<img width="100%" alt="booking-screen" src="./public/assets/compare/free.webp">
+<img width="100%" alt="booking-screen" src="./public/assets/editor.webp">
## Visualize JSON into interactive graphs
diff --git a/next-sitemap.config.js b/next-sitemap.config.js
new file mode 100644
index 00000000..a5d70367
--- /dev/null
+++ b/next-sitemap.config.js
@@ -0,0 +1,6 @@
+/** @type {import('next-sitemap').IConfig} */
+module.exports = {
+ siteUrl: "https://jsoncrack.com",
+ exclude: ["/widget"],
+ autoLastmod: false,
+};
diff --git a/package.json b/package.json
index ee6a6da4..710a32af 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
+ "postbuild": "next-sitemap --config next-sitemap.config.js",
"start": "next start",
"lint": "tsc --project tsconfig.json && eslint src && prettier --check src",
"lint:fix": "eslint --fix src & prettier --write src",
@@ -44,6 +45,7 @@
"lodash.debounce": "^4.0.8",
"next": "14.2.10",
"next-seo": "^6.5.0",
+ "next-sitemap": "^4.2.3",
"nextjs-google-analytics": "^2.3.7",
"react": "^18.3.1",
"react-compare-slider": "^3.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 876e85a7..a523ebb2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -83,6 +83,9 @@ importers:
next-seo:
specifier: ^6.5.0
+ next-sitemap:
+ specifier: ^4.2.3
nextjs-google-analytics:
specifier: ^2.3.7
@@ -254,6 +257,9 @@ packages:
resolution: {integrity: sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==}
engines: {node: '>=6.9.0'}
+ '@corex/[email protected]':
+ resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==}
+
'@cspotcode/[email protected]':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
@@ -420,6 +426,9 @@ packages:
resolution: {integrity: sha512-BtBbI8VUnB7s4m9ut6CkeJ8Hyx+aq+86mbH+uAld7ZGG0/eH4+5hcPnkHKsQM/yj74iClazS0fninI8yZbIZWA==}
+ resolution: {integrity: sha512-uVuRqoj28Ys/AI/5gVEgRAISd0KWI0HRjOO1CTpNgmX3ZsHb5mdn14Y59yk0IxizXdo7ZjsI2S7qbWnO+GNBcA==}
+
resolution: {integrity: sha512-dZIu93Bf5LUtluBXIv4woQw2cZVZ2DJTjax5/5DOs3lzEOeKLy7GxRSr4caK9/SCPdaW6bCgpye6+n4Dh9oJPw==}
@@ -1997,6 +2006,13 @@ packages:
react: '>=16.0.0'
react-dom: '>=16.0.0'
+ resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==}
+ engines: {node: '>=14.18'}
+ hasBin: true
+ peerDependencies:
+ next: '*'
+
resolution: {integrity: sha512-sDDExXnh33cY3RkS9JuFEKaS4HmlWmDKP1VJioucCG6z5KuA008DPsDZOzi8UfqEk3Ii+2NCQSJrfbEWtZZfww==}
engines: {node: '>=18.17.0'}
@@ -2892,6 +2908,8 @@ snapshots:
'@babel/helper-validator-identifier': 7.24.7
to-fast-properties: 2.0.0
+ '@corex/[email protected]': {}
+
'@cspotcode/[email protected]':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
@@ -3077,6 +3095,8 @@ snapshots:
- bufferutil
- utf-8-validate
+ '@next/[email protected]': {}
+
'@next/[email protected]': {}
@@ -4847,6 +4867,14 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
+ dependencies:
+ '@corex/deepmerge': 4.0.43
+ '@next/env': 13.5.7
+ fast-glob: 3.3.2
+ minimist: 1.2.8
+
dependencies:
'@next/env': 14.2.10
diff --git a/public/assets/compare/free.webp b/public/assets/compare/free.webp
deleted file mode 100644
index e05a5c51..00000000
Binary files a/public/assets/compare/free.webp and /dev/null differ
diff --git a/public/assets/compare/pro.webp b/public/assets/compare/pro.webp
deleted file mode 100644
index aaa544d7..00000000
Binary files a/public/assets/compare/pro.webp and /dev/null differ
diff --git a/public/assets/preview/free.webp b/public/assets/editor.webp
similarity index 100%
rename from public/assets/preview/free.webp
rename to public/assets/editor.webp
diff --git a/public/assets/features/compare.webp b/public/assets/features/compare.webp
deleted file mode 100644
index 00f36c15..00000000
Binary files a/public/assets/features/compare.webp and /dev/null differ
diff --git a/public/assets/features/edit.webp b/public/assets/features/edit.webp
deleted file mode 100644
index c8aa9914..00000000
Binary files a/public/assets/features/edit.webp and /dev/null differ
diff --git a/public/assets/features/search.webp b/public/assets/features/search.webp
deleted file mode 100644
index 8e842900..00000000
Binary files a/public/assets/features/search.webp and /dev/null differ
diff --git a/public/assets/mesh.webp b/public/assets/mesh.webp
deleted file mode 100644
index 9807ec5d..00000000
Binary files a/public/assets/mesh.webp and /dev/null differ
diff --git a/public/assets/og/affiliates.png b/public/assets/og/affiliates.png
deleted file mode 100644
index 785c551d..00000000
Binary files a/public/assets/og/affiliates.png and /dev/null differ
diff --git a/public/assets/premium-divider.svg b/public/assets/premium-divider.svg
deleted file mode 100644
index a1f2d258..00000000
--- a/public/assets/premium-divider.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="#fff"><path d="M0 0v100c166.7 0 166.7-66 333.3-66S500 77 666.7 77 833.3 28 1000 28V0H0Z" opacity=".5"></path><path d="M0 0v100c166.7 0 166.7-66 333.3-66S500 70 666.7 70 833.3 16 1000 16V0H0Z" opacity=".5"></path><path d="M0 0v100c166.7 0 166.7-66 333.3-66S500 63 666.7 63 833.3 4 1000 4V0H0Z"></path></svg>
\ No newline at end of file
diff --git a/public/assets/preview/1.png b/public/assets/preview/1.png
deleted file mode 100644
index 3b54da87..00000000
Binary files a/public/assets/preview/1.png and /dev/null differ
diff --git a/public/assets/preview/1.webp b/public/assets/preview/1.webp
deleted file mode 100644
index fbe2d8d4..00000000
Binary files a/public/assets/preview/1.webp and /dev/null differ
diff --git a/public/assets/preview/2.png b/public/assets/preview/2.png
deleted file mode 100644
index 3a2d20b0..00000000
Binary files a/public/assets/preview/2.png and /dev/null differ
diff --git a/public/assets/preview/2.webp b/public/assets/preview/2.webp
deleted file mode 100644
index 2e299263..00000000
Binary files a/public/assets/preview/2.webp and /dev/null differ
diff --git a/public/assets/preview/3.png b/public/assets/preview/3.png
deleted file mode 100644
index c1906dc4..00000000
Binary files a/public/assets/preview/3.png and /dev/null differ
diff --git a/public/assets/preview/3.webp b/public/assets/preview/3.webp
deleted file mode 100644
index 40de0f6f..00000000
Binary files a/public/assets/preview/3.webp and /dev/null differ
diff --git a/public/assets/preview/4.png b/public/assets/preview/4.png
deleted file mode 100644
index 64fb391f..00000000
Binary files a/public/assets/preview/4.png and /dev/null differ
diff --git a/public/assets/preview/4.webp b/public/assets/preview/4.webp
deleted file mode 100644
index 3d949fd6..00000000
Binary files a/public/assets/preview/4.webp and /dev/null differ
diff --git a/public/assets/preview/5.png b/public/assets/preview/5.png
deleted file mode 100644
index a1f7385f..00000000
Binary files a/public/assets/preview/5.png and /dev/null differ
diff --git a/public/assets/preview/5.webp b/public/assets/preview/5.webp
deleted file mode 100644
index 6b151e5d..00000000
Binary files a/public/assets/preview/5.webp and /dev/null differ
diff --git a/public/assets/preview/6.png b/public/assets/preview/6.png
deleted file mode 100644
index 39dfdfa6..00000000
Binary files a/public/assets/preview/6.png and /dev/null differ
diff --git a/public/assets/preview/6.webp b/public/assets/preview/6.webp
deleted file mode 100644
index 80e53847..00000000
Binary files a/public/assets/preview/6.webp and /dev/null differ
diff --git a/public/assets/preview/7.png b/public/assets/preview/7.png
deleted file mode 100644
index 47d84019..00000000
Binary files a/public/assets/preview/7.png and /dev/null differ
diff --git a/public/assets/preview/7.webp b/public/assets/preview/7.webp
deleted file mode 100644
index 70ea5590..00000000
Binary files a/public/assets/preview/7.webp and /dev/null differ
diff --git a/public/assets/preview/8.png b/public/assets/preview/8.png
deleted file mode 100644
index 56b87c32..00000000
Binary files a/public/assets/preview/8.png and /dev/null differ
diff --git a/public/assets/preview/8.webp b/public/assets/preview/8.webp
deleted file mode 100644
index b33d2374..00000000
Binary files a/public/assets/preview/8.webp and /dev/null differ
diff --git a/public/assets/steps-divider-round.svg b/public/assets/steps-divider-round.svg
deleted file mode 100644
index d9413137..00000000
--- a/public/assets/steps-divider-round.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="#fff"><path d="M0 0v99.7C62 69 122.4 48.7 205 66c83.8 17.6 160.5 20.4 240-12 54-22 110-26 173-10a392.2 392.2 0 0 0 222-5c55-17 110.3-36.9 160-27.2V0H0Z" opacity=".5"></path><path d="M0 0v74.7C62 44 122.4 28.7 205 46c83.8 17.6 160.5 25.4 240-7 54-22 110-21 173-5 76.5 19.4 146.5 23.3 222 0 55-17 110.3-31.9 160-22.2V0H0Z"></path></svg>
\ No newline at end of file
diff --git a/public/assets/todiagram_img.png b/public/assets/todiagram_img.png
deleted file mode 100644
index ef16e4ff..00000000
Binary files a/public/assets/todiagram_img.png and /dev/null differ
diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml
new file mode 100644
index 00000000..cafff9d6
--- /dev/null
+++ b/public/sitemap-0.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
+<url><loc>https://jsoncrack.com</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/csv-to-json</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/csv-to-xml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/csv-to-yaml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/json-to-csv</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/json-to-xml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/json-to-yaml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/xml-to-csv</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/xml-to-json</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/xml-to-yaml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/yaml-to-csv</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/yaml-to-json</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/converter/yaml-to-xml</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/docs</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/editor</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/legal/privacy</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/legal/terms</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/tools/json-schema</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/csv-to-go</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/csv-to-kotlin</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/csv-to-rust-serde</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/csv-to-typescript</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/json-to-go</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/json-to-kotlin</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/json-to-rust-serde</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/json-to-typescript</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/xml-to-go</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/xml-to-kotlin</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/xml-to-rust-serde</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/xml-to-typescript</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/yaml-to-go</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/yaml-to-kotlin</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/yaml-to-rust-serde</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+<url><loc>https://jsoncrack.com/type/yaml-to-typescript</loc><changefreq>daily</changefreq><priority>0.7</priority></url>
+</urlset>
\ No newline at end of file
diff --git a/public/sitemap.txt b/public/sitemap.txt
deleted file mode 100644
index 2e6bb1f0..00000000
--- a/public/sitemap.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-https://jsoncrack.com
-https://jsoncrack.com/editor
-https://jsoncrack.com/docs
-https://jsoncrack.com/widget
-https://jsoncrack.com/legal/terms
-https://jsoncrack.com/legal/privacy
diff --git a/public/sitemap.xml b/public/sitemap.xml
new file mode 100644
index 00000000..a88b389d
--- /dev/null
+++ b/public/sitemap.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+<sitemap><loc>https://jsoncrack.com/sitemap-0.xml</loc></sitemap>
+</sitemapindex>
\ No newline at end of file
diff --git a/src/containers/Landing/HeroPreview.tsx b/src/containers/Landing/HeroPreview.tsx
index c1bedfce..f5cdf01f 100644
--- a/src/containers/Landing/HeroPreview.tsx
+++ b/src/containers/Landing/HeroPreview.tsx
@@ -5,7 +5,7 @@ export const HeroPreview = () => {
return (
<Container component="section" id="preview" fluid py="20" mx="lg">
<Image
- src="./assets/preview/free.webp"
+ src="./assets/editor.webp"
loading="eager"
maw={1036}
mx="auto"