Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve example nav for devise (#520)
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. <img width="800" alt="image" src="https://github.com/ackama/rails-template/assets/3151613/62794fe6-0a15-4648-8a42-718183c9b9a8"> This degrades gracefully when bootstrap is not present too: <img width="278" alt="image" src="https://github.com/ackama/rails-template/assets/3151613/eb726640-e399-491d-ac27-07c482a0ff72"> 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.
- Loading branch information