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: add Chrome extension link to Toolbar and Navbar

AykutSarac69003f8dd507
diff --git a/apps/www/src/features/editor/Toolbar/index.tsx b/apps/www/src/features/editor/Toolbar/index.tsx
index f328f8bc..edc9d84a 100644
--- a/apps/www/src/features/editor/Toolbar/index.tsx
+++ b/apps/www/src/features/editor/Toolbar/index.tsx
@@ -3,6 +3,7 @@ import { Flex, Group } from "@mantine/core";
import styled from "styled-components";
import toast from "react-hot-toast";
import { AiOutlineFullscreen } from "react-icons/ai";
+import { FaChrome } from "react-icons/fa";
import { FaGithub } from "react-icons/fa6";
import { TbExternalLink } from "react-icons/tb";
import { JSONCrackLogo } from "../../../layout/JSONCrackBrandLogo";
@@ -84,6 +85,15 @@ export const Toolbar = () => {
</StyledToDiagramLink>
)}
<ThemeToggle />
+ <Link
+ href="https://chromewebstore.google.com/detail/json-crack/hbaeglefdflnhodchjiaphmheaojikhh"
+ rel="noopener"
+ target="_blank"
+ >
+ <StyledToolElement title="Get Chrome Extension">
+ <FaChrome size="20" />
+ </StyledToolElement>
+ </Link>
<Link href="https://github.com/AykutSarac/jsoncrack.com" rel="noopener" target="_blank">
<StyledToolElement title="GitHub">
<FaGithub size="20" />
diff --git a/apps/www/src/layout/PageLayout/Navbar.tsx b/apps/www/src/layout/PageLayout/Navbar.tsx
index e0309e8c..02916c01 100644
--- a/apps/www/src/layout/PageLayout/Navbar.tsx
+++ b/apps/www/src/layout/PageLayout/Navbar.tsx
@@ -2,6 +2,8 @@ import React from "react";
import Link from "next/link";
import { Button } from "@mantine/core";
import styled from "styled-components";
+import { FaChrome } from "react-icons/fa";
+import { VscVscode } from "react-icons/vsc";
import { JSONCrackLogo } from "../JSONCrackBrandLogo";
const StyledNavbarWrapper = styled.div`
@@ -67,9 +69,23 @@ export const Navbar = () => {
size="md"
radius="md"
rel="noopener"
+ leftSection={<VscVscode size={16} />}
>
VS Code
</Button>
+ <Button
+ component="a"
+ href="https://chromewebstore.google.com/detail/json-crack/hbaeglefdflnhodchjiaphmheaojikhh"
+ target="_blank"
+ variant="subtle"
+ color="black"
+ size="md"
+ radius="md"
+ rel="noopener"
+ leftSection={<FaChrome size={16} />}
+ >
+ Chrome
+ </Button>
<Button
component={Link}
prefetch={false}