Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

with Next.js, React, TypeScript, TailwindCSS

next, react, tailwind-css, typescript
Ryo Nakai•50
@sniper-fly
A solution to the Blog preview card 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?

All elements except those related to box-shadow and color were created using existing TailwindCSS classes without using arbitrary values. I prioritized maintainability over achieving 100% reproduction accuracy.

While tags, titles, and content strings are directly written in components, I believe it would be more practical to divide the content written in page.tsx into components like Card and receive the content through props.

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

We had to use arbitrary values for box-shadow because it couldn't be addressed with existing TailwindCSS classes.

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 Ryo Nakai'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