Skip to content

Commit

Permalink
add search in header
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraVieira committed Mar 21, 2019
1 parent 801de02 commit cfef130
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/app/src/app/pages/Search/Filters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ function Filters() {
<Sort
title="Sort By"
items={[
{ value: ALGOLIA_DEFAULT_INDEX, label: 'Relevance' },
{ value: `${ALGOLIA_DEFAULT_INDEX}_views`, label: 'Views' },
{ value: ALGOLIA_DEFAULT_INDEX, label: 'Views' },
{ value: `${ALGOLIA_DEFAULT_INDEX}_likes`, label: 'Likes' },
]}
defaultRefinement={ALGOLIA_DEFAULT_INDEX}
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/app/pages/Search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { Content, StyledTitle, Main } from './elements';

const SEARCHABLE_THINGS = [
'dependency',
'user',
'sandbox title',
'sandbox tag',
'github repository',
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/components/Navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default class Navigation extends React.PureComponent {
</a>

<Item href="/explore">Explore</Item>
<Item href="/search">Search</Item>
<Item href="/docs">Docs</Item>

<Item
Expand Down

0 comments on commit cfef130

Please sign in to comment.