Skip to content

Commit

Permalink
fix(algolia): Add Algolia mention
Browse files Browse the repository at this point in the history
Add Algolia mention
  • Loading branch information
maticzav authored Mar 22, 2018
2 parents ffd8afd + 6bf8e5a commit dfef9ef
Show file tree
Hide file tree
Showing 2 changed files with 849 additions and 27 deletions.
9 changes: 9 additions & 0 deletions src/emma.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const SearchResults = ({ foundPackages, onToggle, loading }) => {
{isEmpty(foundPackages) && (
<NotFoundInfo/>
)}
<AlgoliaInfo/>
{loading === PROGRESS_LOADING && (
<div>
<Text bold>
Expand Down Expand Up @@ -163,6 +164,14 @@ const ErrorInfo = () => (
</div>
)

const AlgoliaInfo = () => (
<div>
<Text>Search powered by</Text>
<Text blue> Algolia</Text>
<Text>.</Text>
</div>
)

// Emma

class Emma extends Component {
Expand Down
Loading

0 comments on commit dfef9ef

Please sign in to comment.