Skip to content

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

feat: update meta description

AykutSaracdaa8d4c11e17
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx
index cf007f19..53a4aa40 100644
--- a/src/pages/_document.tsx
+++ b/src/pages/_document.tsx
@@ -9,8 +9,6 @@ import Document, {
import { ServerStyleSheet } from "styled-components";
const metatags = Object.freeze({
- description:
- "JSON Crack Editor is a tool for visualizing into graphs, analyzing, editing, formatting, querying, transforming and validating JSON, CSV, YAML, XML, and more.",
title: "JSON Crack | More Than A JSON Editor",
image: "https://jsoncrack.com/assets/jsoncrack.png",
});
@@ -50,17 +48,14 @@ class MyDocument extends Document {
<link rel="manifest" href="/manifest.json" />
<link rel="icon" href="/favicon.ico" />
- <meta name="description" content={metatags.description} key="description" />
<meta property="og:url" content="https://jsoncrack.com" key="ogurl" />
<meta property="og:type" content="website" key="ogtype" />
<meta property="og:title" content={metatags.title} key="ogtitle" />
- <meta property="og:description" content={metatags.description} key="ogdescription" />
<meta property="og:image" content={metatags.image} key="ogimage" />
<meta name="twitter:card" content="summary_large_image" key="twcard" />
<meta property="twitter:domain" content="https://jsoncrack.com" key="twdomain" />
<meta property="twitter:url" content="https://jsoncrack.com" key="twurl" />
<meta name="twitter:title" content={metatags.title} key="twtitle" />
- <meta name="twitter:description" content={metatags.description} key="twdescription" />
<meta name="twitter:image" content={metatags.image} key="twimage" />
</Head>
<body>
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 97b1779d..dff815ef 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -159,11 +159,17 @@ const StyledCarouselWrapper = styled.section`
}
`;
+const metaDescription =
+ "JSON Crack Editor is a tool for visualizing into graphs, analyzing, editing, formatting, querying, transforming and validating JSON, CSV, YAML, XML, and more.";
+
export const HomePage = () => {
return (
<Layout>
<Head>
<title>JSON Crack | Best JSON Visualizer, Formatter and Viewer for everyone</title>
+ <meta name="description" content={metaDescription} key="description" />
+ <meta property="og:description" content={metaDescription} key="ogdescription" />
+ <meta name="twitter:description" content={metaDescription} key="twdescription" />
</Head>
<StyledHeroSection id="hero-section">
<StyledHeroSectionBody>