Skip to content

Commit

Permalink
Remove note about their being more parts to the tutorial (gatsbyjs#3655)
Browse files Browse the repository at this point in the history
* Remove note about their being more parts to the tutorial

We'll ship more stuff when we do. No reason to make it sound less than useful as it is.

* format
  • Loading branch information
KyleAMathews authored and jastack committed Jan 24, 2018
1 parent 785e4f7 commit dba20b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 7 additions & 5 deletions www/src/components/search-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ class SearchForm extends Component {
}

focusSearchInput(e) {
if (e.key !== `s`) return
if (document.activeElement === this.searchInput) return // eslint-disable-line no-undef
e.preventDefault()
this.searchInput.focus()
if (e.key !== `s`) return
if (document.activeElement === this.searchInput) return // eslint-disable-line no-undef
e.preventDefault()
this.searchInput.focus()
}

componentDidMount() {
Expand Down Expand Up @@ -339,7 +339,9 @@ class SearchForm extends Component {
placeholder="Search docs"
aria-label="Search docs"
title="Hit 's' to search docs"
ref={(input) => { this.searchInput = input }}
ref={input => {
this.searchInput = input
}}
/>
</form>
) : null
Expand Down
7 changes: 3 additions & 4 deletions www/src/pages/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ export default () => (
</Helmet>
<h1 css={{ marginTop: 0 }}>Gatsby.js Tutorial</h1>
<p>
Hi! We’re so happy you decided to try using Gatsby. This tutorial has (or
rather will have once all parts are written) five parts that'll walk you
from getting started developing and building Gatsby sites to deploying a
finished and polished high performance static PWA.
Hi! We’re so happy you decided to try using Gatsby. This tutorial has five
parts that'll walk you from getting started developing and building Gatsby
sites to deploying a finished and polished high performance static PWA.
</p>
<p>
This tutorial is for <em>everyone</em>! You do not need to be a programmer
Expand Down

0 comments on commit dba20b2

Please sign in to comment.