Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed May 10, 2023
1 parent 0c543dd commit beee706
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,36 +71,6 @@ function addCustomGroup(config) {
}
}

export const headerSearchBox = [
{
isDefault: true,
path: '/en/advanced-search',
placeholder: 'Search or ask your question...',
description: 'For more search options',
buttonTitle: 'Go to advanced search',
searchSuggestions: {
maxToShow: 6,
suggestionsTitle: 'Try our suggestions',
suggestions: [
'What is PFAS?',
'Which transport mode has the lowest pollution?',
'Which countries use most renewable energy?',
'How many premature deaths are attributed to PM2.5?',
'How many premature deaths are attributed to air pollution?',
'How much have new cars co2 emissions decreased?',
'What countries had the highest land take in the EEA-39?',
'How many people are exposed to air pollution?',
],
},
},
{
path: '/en/datahub',
placeholder: 'Search Datahub...',
description: 'Looking for more information?',
buttonTitle: 'Go to advanced search',
},
];

export default function applyConfig(config) {
// Add here your project's configuration here by modifying `config` accordingly
addCustomGroup(config);
Expand Down Expand Up @@ -155,7 +125,7 @@ export default function applyConfig(config) {
description:
'Looking for more information? Try searching the full EEA website content',
buttonTitle: 'Go to advanced search',
buttonUrl: 'https://www.eea.europa.eu/en/advanced-search'
buttonUrl: 'https://www.eea.europa.eu/en/advanced-search',
},
],
logoTargetUrl: '/',
Expand Down

0 comments on commit beee706

Please sign in to comment.