code-for-chapel-hill / NC-COVID-Support

Community support site, supporting COVID-19 business opening hours, Food Banks, School Meals, Farms and Social Services.
https://nccovidsupport.org
GNU General Public License v3.0
16 stars 39 forks source link

Adding grouping to search dropdown #228

Closed eparadise closed 4 years ago

eparadise commented 4 years ago

This PR adds grouping to the resource search dropdown, as well as the functionality to pull categories from a JSON (the JSON is currently hard-coded, but should eventually be replaced by an API call when we add that functionality). @readingdancer needs to re-add the Arabic translations for the categories. I also fixed a typo in the en.json for "Specialty food and beverage".

New dropdown:

Screen Shot 2020-06-02 at 1 36 07 PM
ghost commented 4 years ago

Hey there! :wave: This repository uses the Prettier code style.

You forgot to format these files in your pull request:

The Prettier installation guide is a good place to get started with formatting your code properly. Thanks!!

:heart:

Your friendly Prettifier bot