Skip to content

Conversation

@qili-bolt
Copy link
Contributor

To make our SSO button aligned with SFRA OOTB stylings(merchants can use this for reference), here are the changes:

  1. remove the static Bolt login/logout buttons in boltScript.isml
  2. add class="bolt-sso-custom" and data-logged-in="false/true" to the login/register and logout buttons in navTabs.isml, header.isml, login.isml, mobileHeader.isml
  3. hide login and register forms in login.isml
  4. add a script to prevent URL redirection when click login/logout buttons in sso.js
  5. pass Bolt config to header and login page in Account.js and Login.js

Sandbox for reference - https://zzgv-019.dx.commercecloud.salesforce.com/on/demandware.store/Sites-RefArch-Site/en_US/Login-Show

Screen.Recording.2023-05-23.at.6.39.18.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant