New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(main-nav): Main Nav refactoring, refactor the logo #20135
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some discussion points :)
…rapi into feat/main-nav-refactoring-logo
packages/core/admin/admin/src/components/MainNav/tests/NavBrand.test.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment, but looks good, nice and clean 🧽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes @madhurisandbhor you are right but for the moment the MainNav width in condensed mode is wrong, I am gonna work on it in another ticket, now you need just to give a look to the logo and not the wrapper |
when you do the wrapper, can you redo the CSS of the icon, because if you do a whole wrapper you wanna add the padding to the container and then use gap for it's children imo, but for now this is fine :) |
What does it do?
In the condensed view of the Left Menu it shows the new logo. The logo is no longer a link to the home page, but just a container with an image
Why is it needed?
In the refactoring of the Main Nav we want a new home icon to have the task of connecting to the home page, while the logo must only show the image of the logo.
The Home icon will be implemented in another PR.
How to test it?
Disclaimer: the new logo is used only in the condensed view at the moment because I need to implement the components used in the Logo and in the new Home icon before implementing the new MainNav wrapper
You can find all the info and link to the figma file in the Jira ticket
Related issue(s)/PR(s)
CS-762