✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix navbar
AykutSaracbf981d4d2762
diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsxindex 57e1a2fc..95c8ccfc 100644--- a/src/components/Navbar/index.tsx+++ b/src/components/Navbar/index.tsx@@ -10,6 +10,8 @@ const StyledNavbar = styled.div`padding: 16px 48px;@media only screen and (max-width: 768px) {+ justify-content: center;+a:first-of-type {display: none;}@@ -35,6 +37,12 @@ const StyledNavLink = styled(Link)`font-weight: 500;color: ${({ theme }) => theme.ORANGE};}++ @media only screen and (max-width: 568px) {+ &.mobileHide {+ display: none;+ }+ }`;export const Navbar = () => (@@ -43,10 +51,14 @@ export const Navbar = () => (<img src="assets/icon.png" alt="json crack" width="120" /></Link><StyledLinkWrapper>- <StyledNavLink href="https://pro.jsoncrack.com">Pro</StyledNavLink>+ <StyledNavLink className="mobileHide" href="https://pro.jsoncrack.com">+ Pro+ </StyledNavLink><StyledNavLink href="/editor">Editor</StyledNavLink><StyledNavLink href="#features">Features</StyledNavLink>- <StyledNavLink href="#sponsor">Sponsor</StyledNavLink>+ <StyledNavLink className="mobileHide" href="#sponsor">+ Sponsor+ </StyledNavLink><StyledNavLinkhref="https://github.com/AykutSarac/jsoncrack.com"target="_blank"@@ -54,7 +66,9 @@ export const Navbar = () => (>GitHub</StyledNavLink>- <StyledNavLink href="docs">Documentation</StyledNavLink>+ <StyledNavLink className="mobileHide" href="docs">+ Documentation+ </StyledNavLink></StyledLinkWrapper></StyledNavbar>);