Skip to content

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

update paths [ci skip]

AykutSarac1414fff6908b
diff --git a/README.md b/README.md
index d3db4c6b..e75046cb 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@
</p>
<p align="center">
- <img width="800" src="./public/jsoncrack-screenshot.webp" alt="preview 1" />
+ <img width="800" src="./public/assets/jsoncrack-screenshot.webp" alt="preview 1" />
</p>
# JSON Crack (jsoncrack.com)
diff --git a/public/192.png b/public/assets/192.png
similarity index 100%
rename from public/192.png
rename to public/assets/192.png
diff --git a/public/404.svg b/public/assets/404.svg
similarity index 100%
rename from public/404.svg
rename to public/assets/404.svg
diff --git a/public/512.png b/public/assets/512.png
similarity index 100%
rename from public/512.png
rename to public/assets/512.png
diff --git a/public/jsoncrack-screenshot.webp b/public/assets/jsoncrack-screenshot.webp
similarity index 100%
rename from public/jsoncrack-screenshot.webp
rename to public/assets/jsoncrack-screenshot.webp
diff --git a/public/jsoncrack.png b/public/assets/jsoncrack.png
similarity index 100%
rename from public/jsoncrack.png
rename to public/assets/jsoncrack.png
diff --git a/public/jsonvisio-screenshot.webp b/public/jsonvisio-screenshot.webp
deleted file mode 100644
index 98e287e3..00000000
Binary files a/public/jsonvisio-screenshot.webp and /dev/null differ
diff --git a/public/manifest.json b/public/manifest.json
index 212cf076..dc8541b2 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -10,13 +10,13 @@
"start_url": "/editor",
"icons": [
{
- "src": "/192.png",
+ "src": "/assets/192.png",
"sizes": "192x192",
"type": "image/png"
},
{
- "src": "/512.png",
+ "src": "/assets/512.png",
"sizes": "512x512",
"type": "image/png"
}
diff --git a/src/components/Graph/ErrorView.tsx b/src/components/Graph/ErrorView.tsx
index b19d5cde..84ddcf1e 100644
--- a/src/components/Graph/ErrorView.tsx
+++ b/src/components/Graph/ErrorView.tsx
@@ -27,7 +27,7 @@ const StyledInfo = styled.p`
export const ErrorView = () => (
<StyledErrorView>
<img
- src="assets/undraw_qa_engineers_dg-5-p.svg"
+ src="/assets/undraw_qa_engineers_dg-5-p.svg"
width="200"
height="200"
alt="oops"
diff --git a/src/containers/Home/index.tsx b/src/containers/Home/index.tsx
index 4dc250a6..fb2c9cd0 100644
--- a/src/containers/Home/index.tsx
+++ b/src/containers/Home/index.tsx
@@ -68,7 +68,7 @@ const PreviewSection = () => (
<Styles.StyledImage
width="1200"
height="863"
- src="/jsoncrack-screenshot.webp"
+ src="/assets/jsoncrack-screenshot.webp"
alt="preview"
/>
</Styles.StyledImageWrapper>
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx
index 7f715f05..9ef38438 100644
--- a/src/pages/_document.tsx
+++ b/src/pages/_document.tsx
@@ -9,7 +9,7 @@ class MyDocument extends Document {
<SeoTags
description="Simple visualization tool for your JSON data. No forced structure, paste your JSON and view it instantly."
title="JSON Crack - Crack your data into pieces"
- image="https://jsoncrack.com/jsoncrack.png"
+ image="https://jsoncrack.com/assets/jsoncrack.png"
/>
<meta name="theme-color" content="#36393E" />
<link rel="manifest" href="/manifest.json" />
diff --git a/src/pages/_error.tsx b/src/pages/_error.tsx
index 4862e359..8d64f25b 100644
--- a/src/pages/_error.tsx
+++ b/src/pages/_error.tsx
@@ -35,7 +35,7 @@ const NotFound: React.FC = () => {
return (
<StyledNotFound>
<StyledImageWrapper>
- <img src="/404.svg" alt="not found" width={300} height={400} />
+ <img src="/assets/404.svg" alt="not found" width={300} height={400} />
</StyledImageWrapper>
<StyledMessage>WIZARDS BEHIND CURTAINS?</StyledMessage>
<StyledSubMessage>