OTWO-7658 Create and implement Design for Tools page#1902
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR redesigns the About → Tools page with a new card/grid-based layout and a comprehensive new stylesheet to match the updated design.
Changes:
- Replaced the existing Bootstrap column-based Tools page markup with a new “cards + two-column” layout.
- Added extensive new
tools.sassstyling for the redesigned Tools page, including light/dark mode variants.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| app/views/abouts/tools.html.haml | Rebuilds the Tools page structure into tool “cards”, a language cloud section, and an additional info sidebar. |
| app/assets/stylesheets/tools.sass | Adds the new styling system for the redesigned Tools page (layout, cards, language cloud, CTA, dark mode). |
Comments suppressed due to low confidence (2)
app/assets/stylesheets/tools.sass:171
tools.sassintroduces a global.stat-itemselector, but.stat-itemis widely used elsewhere (e.g., organizations and projects UIs). This can unintentionally change typography/colors across the site sincetools.sassis globally imported. Please scope.stat-item(and its nestedspanrules) under.tools-pageor rename it to a tools-specific class to prevent CSS leakage.
.stat-item
display: flex
align-items: center
gap: 8px
font-size: 14px
span
color: $gray-600
html.dark &
color: $gray-400
app/assets/stylesheets/tools.sass:333
tools.sassdefines a global.section-titleselector, but.section-titleis used in multiple other views (explore, contributions, project pages). Sincetools.sassis imported globally, this can override/shift headings outside the tools page. Please scope this selector under.tools-page(or rename it to a tools-specific class) to avoid cross-page styling regressions.
.section-title
font-size: 24px
font-weight: 600
color: $gray-900
margin-bottom: 8px
html.dark &
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.