Luke Gordon


110 Experience
1 Lesson Completed
0 Questions Solved


Posted in New website design!

Would be interested in hearing how you cut down on the repetitiveness of Tailwind on your new design. I could see using partials to help w/ that quite a bit, but what about other areas? One example that comes to mind is GoRails navbar links. Were the set of classes for those links just entered multiple times given the low # of times you'd reuse those particular set of styles? Or are there other tricks you use here?

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.