rodrigouroz / holidays-app

A site to query about upcoming holidays
https://askholidays.vercel.app
3 stars 0 forks source link

Implements the question with multiple countries #2

Closed rodrigouroz closed 4 years ago

rodrigouroz commented 4 years ago

Pending: refactor holidays API and component to show country and emoji when the answer contains holidays from multiple countries.

Refactor API to return a collection of countries, and holidays per country. Then the render component can decide if showing country names or not (only show if more than one country in the result, otherwise the title contains the country name).

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rodrigouroz/holidays-app/2okvp2lh0 ✅ Preview: https://holidays-app-git-implementsmulticountryquestion.rodrigouroz.vercel.app