Skip to content
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

Replace login/logout buttons on SFRA #65

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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