Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Space Tourism with NextJS, TailwindCSS and framer-motion

next, react, tailwind-css
Quang Hung Pham•470
@pqhung3007
A solution to the Space tourism multi-page website challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This is the first time I have worked with NextJS. The challenge itself is also by far the most creative one I've ever dealt with in Frontend Mentor. Quite satisfied but there's a problem I'm confusing 🤔:

  • I fetch the data from this GitHub link which belongs to my repo. So when you load the website for the first time, it takes about half a second for the images to load, which may damage the page layout (the text now covers the entire screen width). Now I'm asking you if you have any suggestions for fetching the local data more efficiently.

Apart from that issue, I'd appreciate other feedback relating to the code comprehensiveness (with Tailwind) or the performance. Thanks and happy coding 🤲💻

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Quang Hung Pham's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License