Responsive planet website

Solution retrospective
Hi everyone,
Happy to submit my solution to this challenge.
You'll notice that the reponsive part of the website isn't quite on point yet. As it was my first time working with Figma designs I got trap in the pixel perfect mindset and abused of the position: absolute property. Tried to fix that later when I was facing responsive issues. I didn't re-code everything but I won't make the same mistake in my future projects.
Main issue here is that when you click on the wikipedia link you get redirected to wikipedia, but when you go back to the planet website nothing displays. It looks like the state is gone. I think it is either a react-router issue or a useEffect one. What do you think ?
In addition, when you try to browse the website with an url of such form "http://astro-test-v2.surge.sh/planet name"nothing matchs the route. I think here is definitely a router mistake here.
Thanks in advance for feedbacks
Please log in to post a comment
Log in with GitHubCommunity feedback
Join 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