Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

URL shortening API landing page Solution

next, react, tailwind-css, typescript, shadcn
Gaurav Shukla•120
@heygauravshukla
A solution to the URL shortening API landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm most proud of implementing shadcn/ui to build my own component library. Next time, I would focus more on design accuracy from the start to reduce later adjustments.

What challenges did you encounter, and how did you overcome them?

The main challenge I faced was properly positioning the hero image to ensure it looked good on both large screens and mobile devices. I struggled with keeping the image properly aligned and responsive. I overcame this by using Tailwind's object-cover, object-left, and object-contain classes in combination with min-w-[calc(100vw-1.5rem)] to ensure the image scales correctly while maintaining a clean layout.

What specific areas of your project would you like help with?

I’d love feedback on improving hero section.

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 Gaurav Shukla'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