feat(CardPage): add Slot Finder logo with responsive styling and NavLink navigation - #1172
Open
GuillaumeKESTEMAN wants to merge 2 commits into
Open
feat(CardPage): add Slot Finder logo with responsive styling and NavLink navigation#1172GuillaumeKESTEMAN wants to merge 2 commits into
GuillaumeKESTEMAN wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances branding and navigation by adding a Slot Finder logo to CardPage and making the header logo clickable, both linking back to the home route.
Changes:
- Wrapped the
Headerlogo in aNavLinkto navigate back to the home page. - Added an optional
isIconDisplayedprop toCardPage(defaulttrue) and rendered a home-link logo above the title. - Updated styling/tests to support the new logo link and responsive sizing.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| front/src/components/Layout/Header/Header.tsx | Wraps the header logo with a NavLink to home. |
| front/src/components/Layout/Header/tests/Header.test.tsx | Updates assertions to validate the logo is a link to home. |
| front/src/components/CardPage/CardPage.tsx | Adds optional logo rendering as a home NavLink via isIconDisplayed. |
| front/src/components/CardPage/CardPage.scss | Adds responsive logo sizing and logo/title BEM styling. |
| front/src/components/CardPage/tests/CardPage.test.tsx | Adds coverage for logo link rendering and isIconDisplayed={false} behavior. |
Include a logo link that navigates to the home route. The logo is conditionally rendered based on the isIconDisplayed prop. Update styles to accommodate the new logo.
GuillaumeKESTEMAN
force-pushed
the
feature/add-slotfinder-logo-into-card-page
branch
from
July 25, 2026 15:18
8a502d0 to
faba70c
Compare
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.
Title: Add Slot Finder logo to CardPage with responsive styling and NavLink on header logo
Type of Pull Request:
Associated Issue:
N/A
Context:
Enhance user navigation and branding by displaying the Slot Finder logo on card-based pages and making the header logo interactive. Users can now click the logo to return to the home page from authentication and slot finder card pages.
Proposed Changes:
black_logo_without_background.png) for display on CardPageisIconDisplayed(defaults totrue) to control logo visibility&__logo,&__title) and CSS custom properties for responsive sizingNavLinkandappRouteshrefto home routeisIconDisplayedflag toggles logo visibilityChecklist:
Additional Information: