diff --git a/src/i18n/en-us.js b/src/i18n/en-us.js index c1e4481..62a2a62 100644 --- a/src/i18n/en-us.js +++ b/src/i18n/en-us.js @@ -6,7 +6,7 @@ export default { subtitle: 'Find services for immigrants in Philadelphia', noResults: 'We\'re sorry, there are no results for that search. Adjust the filters you\'ve selected and try again.', searchPlaceholders: { - all: 'Search by address', + all: 'Search by address or language spoken', }, }, introPage: { diff --git a/src/i18n/es.js b/src/i18n/es.js index c44ff72..63a07e6 100644 --- a/src/i18n/es.js +++ b/src/i18n/es.js @@ -6,7 +6,7 @@ export default { subtitle: 'Spanish Find services for immigrants in Philadelphia', noResults: 'We\'re sorry, there are no results for that search. Adjust the filters you\'ve selected and try again.', searchPlaceholders: { - all: 'Search by address', + all: 'Spanish Search by address or language spoken', }, }, introPage: { diff --git a/src/main.js b/src/main.js index 8252b06..f9a5563 100644 --- a/src/main.js +++ b/src/main.js @@ -58,22 +58,16 @@ pinboard({ retractableRefine: false, dropdownRefine: false, searchBar: { - placeholder: 'Search by address or keyword', searchTypes: [ 'address', 'keyword', ], - labelText: { - address: 'Search by address', - keyword: 'Search by keyword', - }, - placeholderText: { - address: 'Search by address', - keyword: 'Search by keyword', - }, + searchDistance: 3, + fuseThreshold: 0.4, }, locationInfo: { siteName: 'organization_name', + tagsPhrase: 'languagesSpoken', }, customComps, refine: {