Design comparison
Solution retrospective
Hello!
In this project, I learned how to create a custom theme in Material Ui, and to switch between light and dark themes. Also, I worked with Axios and send GET requests to Countries API, I spent time figuring out how to send as few calls as possible to the API for better performance. I found that I couldn't send other data from getStaticPaths and I decided to create a JSON file with the country code and country name that is used in border sections at each country.
Thanks to the Head component from Next.js each page has its own title and can be further optimized for SEO.
Any comments or suggestions are welcomed.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord