Skip to content

Commit

Permalink
fix(nav): improve navigation
Browse files Browse the repository at this point in the history
move a link to docs on the navbar from the more menu

https://github.com/inkdropapp/docs/issues/63
  • Loading branch information
craftzdog committed Feb 27, 2023
1 parent 0c9630d commit 69c45c2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
31 changes: 17 additions & 14 deletions src/components/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ class Navigation extends React.Component {
Plugins
</OutboundLink>
</li>
<li>
<OutboundLink href="https://docs.inkdrop.app/">
Docs
</OutboundLink>
</li>
<li className="ui simple dropdown item">
More
<i className="dropdown icon" />
Expand All @@ -81,13 +86,6 @@ class Navigation extends React.Component {
<DownloadIcon className="svg-icon left icon" />
Demo
</OutboundLink>
<OutboundLink
className="item"
href="https://docs.inkdrop.app/"
>
<HelpIcon className="svg-icon left icon" />
Documentation
</OutboundLink>
<OutboundLink
className="item"
href="https://forum.inkdrop.app/"
Expand Down Expand Up @@ -147,6 +145,13 @@ class Navigation extends React.Component {
>
<div className="content">
<Container text>
<OutboundLink
className="item login"
href="https://my.inkdrop.app/"
>
<LoginIcon className="svg-icon left" />
Log in
</OutboundLink>
<Link className="item" to="/pricing">
<PricingIcon className="svg-icon left" />
<span>Pricing</span>
Expand All @@ -173,6 +178,11 @@ class Navigation extends React.Component {
<span>Demo</span>
<ArrowRightIcon className="svg-icon right aligned" />
</OutboundLink>
<OutboundLink className="item" href="https://docs.inkdrop.app/">
<HelpIcon className="svg-icon left icon" />
<span>Documentation</span>
<ArrowRightIcon className="svg-icon right aligned" />
</OutboundLink>
<OutboundLink
className="item"
href="https://forum.inkdrop.app/"
Expand Down Expand Up @@ -202,13 +212,6 @@ class Navigation extends React.Component {
<span>Blog</span>
<ArrowRightIcon className="svg-icon right aligned" />
</OutboundLink>
<OutboundLink
className="item login"
href="https://my.inkdrop.app/"
>
<LoginIcon className="svg-icon left" />
Log in
</OutboundLink>
</Container>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/variables.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "./semantic/site/globals/site.variables";
@import './semantic/site/globals/site.variables';

@mobileBreakpoint : 420px;
@tabletBreakpoint : 768px;
@computerBreakpoint : 992px;
@largeMonitorBreakpoint : 1200px;
@widescreenMonitorBreakpoint : 1920px;
@mobileBreakpoint: 560px;
@tabletBreakpoint: 768px;
@computerBreakpoint: 992px;
@largeMonitorBreakpoint: 1200px;
@widescreenMonitorBreakpoint: 1920px;

1 comment on commit 69c45c2

@vercel
Copy link

@vercel vercel bot commented on 69c45c2 Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.