Skip to content

Commit

Permalink
remove unnecessary title and put search higher
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Feb 5, 2020
1 parent deb2716 commit e8bd65f
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/screens/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,7 @@ function SearchScreen() {

return (
<div>
<div>
<h1>Search Kent C. Dodds Blogposts</h1>
</div>
<small>
{`If you can't find what you're looking for with this, try `}
<a href="https://www.google.com/search?q=site%3Akentcdodds.com%2Fblog+testing">
using Google
</a>
{'.'}
</small>
<div css={{marginTop: 50, position: 'relative'}}>
<div css={{position: 'relative'}}>
<label
htmlFor="search-input"
css={{margin: '0 10px 0 0', display: 'block'}}
Expand All @@ -234,6 +224,13 @@ function SearchScreen() {
{filteredBlogPosts.length}
</div>
</div>
<small css={{marginTop: 10}}>
{`If you can't find what you're looking for with this, try `}
<a href="https://www.google.com/search?q=site%3Akentcdodds.com%2Fblog+testing">
using Google
</a>
{'.'}
</small>
<div
css={{
marginTop: 20,
Expand Down

0 comments on commit e8bd65f

Please sign in to comment.