ackama / rails-template

Application template for Rails 7 projects; preloaded with best practices for TDD, security, deployment, and developer productivity.
Other
294 stars 15 forks source link

feat: improve example nav for devise #520

Closed G-Rath closed 8 months ago

G-Rath commented 9 months ago

This improves the default nav we generate by using bootstrap classes which in addition to just making it look nicer will hopefully be slightly more useful by having a working nav implemented since we expect to be using bootstrap as our standard for projects that require such styled frontends.

image

This degrades gracefully when bootstrap is not present too:

image

I initially considered making this based on if the bootstrap variant was enabled or adding a comment about it, but ultimately I don't think it'll be that confusing to have these css classes if bootstrap isn't being used.