Multipage site built with TypeScript, NextJS, and Tailwind CSS,
Design comparison
Solution retrospective
The trickiest part of the this project was the map. At first I tried to code the map markers by building styled elements over the map background. Getting things to stay when the map resized was tricky so in the end, I positioned things as they should be, and just grabbed a screen shot, now the map is a static image.
I also learned that for simplicity, I shouldn't use camel-casing when naming files ... Also, when using tailwind, if a class is to be dynamic, and incorporate, say, hyphens, one should not interpose expressions within hyphens when using template literals. It's better that the expression evaluates to the entire hyphenated string. The README will have more details.
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