Skip to content

Commit

Permalink
Adapted the Search page to the new specification of SearchBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Jul 30, 2020
1 parent 4322c28 commit df58aef
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 67 deletions.
71 changes: 71 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion src/components/theme/View/TabsChildView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,15 @@ const DefaultView = props => {
<SearchBlock
data={{
title: { value: 'Glossary page results' },
paths: { value: ['eprtr/glossary'] },
query: {
value: {
properties: {
path: {
value: ['eprtr/glossary'],
},
},
},
},
placeholder: { value: 'Search site' },
buttonText: { value: 'SEARCH' },
buttonClassName: { value: '' },
Expand Down
Loading

0 comments on commit df58aef

Please sign in to comment.