-
Notifications
You must be signed in to change notification settings - Fork 58
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
[enhancement] Ability to override logo in LoginPageLayout #1135
Comments
hey @gruyaume , i am new here, i was going through your request. please correct me if i am wrong It seems like there is an option to override the logo since, as shown in the image below, we have the ability to pass the logo as a prop. However, while reviewing the Storybook and documentation, I couldn't find any reference or example demonstrating this functionality, so is your request to update the story book? |
@gruyaume @ashish1233
Would love to hear thoughts on this. |
The fact that the Navigation supports overriding logos is just for it to be backwards compatible with the times before orange tag logos. It has been deprecated in Vanilla CSS. The components implemented here were mainly meant for Canonical use ( Design System team (Vanilla) is currently planning and starting working on new architecture of the design system, and having a way to use an "unbranded" version is one of the considerations there. If there is a need for a stronger customisation of the Login page, maybe a solution similar for Navigation could work, but it will definitely be more of a workaround than a systematic solution. |
Actually, looking at the LoginPageLayout code it seems that it just reuses
|
yeah, This is what i was saying @bartaz , but if you look story book docs there is no logo prop control so we need to update the Storybook docs |
Yes, it would be worth adding a separate example with logo override, or at least mention in the docs a link to |
What you are showing here @ashish1233 is just an ability to change values of the Canonical logo (the image inside of the orange tag, and text beside it) What is requested is completely overriding this logo with another image. This can be done as documented here ("Overriding the logo"): https://canonical.github.io/react-components/?path=/docs/components-navigation--docs#overriding%20the%20logo |
Description
This is an enhancement request to add the ability to override the logo in the LoginPageLayout.
If we want to build a login page that does not have the Canonical branding / orange tag, it's not trivial to do so with the existing LoginPageLayout. The Navigation already has this support and here the request is to do the same for the LoginPageLayout.
The text was updated successfully, but these errors were encountered: