docs: put star button first, add search to home (#2104)

This commit is contained in:
Shawn Erquhart 2019-02-18 11:12:14 -05:00 committed by GitHub
parent 62f9d6f43c
commit 4cd45eb4c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,9 +57,12 @@ class Header extends Component {
<Link to="/" className="logo">
<img src={logo} />
</Link>
{isDocs && <DocSearch />}
<DocSearch />
</div>
<div className="nav-container">
<span className="gh-button">
<GitHubButton />
</span>
<Link className="nav-link docs-link" to="/docs/intro/">
Docs
</Link>
@ -72,9 +75,6 @@ class Header extends Component {
<Link className="nav-link" to="/blog/">
Blog
</Link>
<span className="gh-button">
<GitHubButton />
</span>
</div>
</div>
</header>