✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
rename embed page to docs
AykutSarac35382609a4d9
diff --git a/src/containers/Home/index.tsx b/src/containers/Home/index.tsxindex 2ec64c92..15716c7e 100644--- a/src/containers/Home/index.tsx+++ b/src/containers/Home/index.tsx@@ -36,7 +36,7 @@ const Navbar = () => (>GitHub</Styles.StyledNavLink>- <Link href="embed" passHref>+ <Link href="docs" passHref><Styles.StyledNavLink>Embed API</Styles.StyledNavLink></Link></Styles.StyledNavbar>@@ -205,7 +205,7 @@ const EmbedSection = () => (intuitive interface makes it easy to navigate and understand even complex JSON data, makingit a valuable tool for anyone working with JSON.</Styles.StyledMinorTitle>- <Styles.StyledButton href="https://jsoncrack.com/embed" status="SECONDARY" link>+ <Styles.StyledButton href="https://jsoncrack.com/docs" status="SECONDARY" link>LEARN TO EMBED</Styles.StyledButton></Styles.StyledSectionArea>diff --git a/src/containers/Modals/ShareModal/index.tsx b/src/containers/Modals/ShareModal/index.tsxindex fcbbf3a4..a651a0e2 100644--- a/src/containers/Modals/ShareModal/index.tsx+++ b/src/containers/Modals/ShareModal/index.tsx@@ -40,7 +40,7 @@ export const ShareModal: React.FC<ModalProps> = ({ visible, setVisible }) => {};const onEmbedClick = () => {- push("/embed");+ push("/docs");setVisible(false);}diff --git a/src/pages/embed.tsx b/src/pages/docs.tsxsimilarity index 99%rename from src/pages/embed.tsxrename to src/pages/docs.tsxindex 40ab1338..5bb7866c 100644--- a/src/pages/embed.tsx+++ b/src/pages/docs.tsx@@ -52,7 +52,7 @@ const StyledHighlight = styled.span<{ link?: boolean; alert?: boolean }>`margin: ${({ alert }) => alert && "8px 0"};`;-const Embed = () => {+const Docs = () => {return (<StyledPage><Head>@@ -172,4 +172,4 @@ const Embed = () => {);};-export default Embed;+export default Docs;