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

feat(tup-cms): breadcrumbs js snippet to js module #200

Merged
merged 4 commits into from
Mar 30, 2023

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Mar 28, 2023

Overview

Migrate breadcrumb JavaScript to a module script file, and its CSS to an existing snippet for breadcrumb CSS.

Related

Changes

Testing

Verify breadcrumbs of a child of "News" page:

  • has "> News >"
  • "News" is not clickable
  • "News" does not have link color
  • "News" is opaque
  • "News" is different color than current page

UI

No change.

Localhost (JS)

With JavaScript on, the "> News >" link in breadcrumb has its href removed, which makes link translucent. The CSS moved to another snippet was tested live on dev.tup.

javascript off javascript on
javascript off javascript on

Remote (CSS)

remote breadcrumb style

Notes

After merge & deploy, delete snippet #91.

@wesleyboar wesleyboar marked this pull request as ready for review March 28, 2023 17:43
@wesleyboar wesleyboar merged commit 57636ef into main Mar 30, 2023
@wesleyboar wesleyboar deleted the task/js-breadcrumbs branch March 30, 2023 21:37
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