Browse Source

Put Blog in top bar before Community (#1741)

main
Dan Abramov 6 years ago
committed by GitHub
parent
commit
ef81426b06
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/components/LayoutHeader/Header.js

10
src/components/LayoutHeader/Header.js

@ -123,16 +123,16 @@ const Header = ({location}: {location: Location}) => (
title="Tutorial" title="Tutorial"
to="/tutorial/tutorial.html" to="/tutorial/tutorial.html"
/> />
<HeaderLink
isActive={location.pathname.includes('/community/')}
title="Community"
to="/community/support.html"
/>
<HeaderLink <HeaderLink
isActive={location.pathname.includes('/blog')} isActive={location.pathname.includes('/blog')}
title="Blog" title="Blog"
to="/blog/" to="/blog/"
/> />
<HeaderLink
isActive={location.pathname.includes('/community/')}
title="Community"
to="/community/support.html"
/>
</nav> </nav>
<DocSearch /> <DocSearch />

Loading…
Cancel
Save