Skip to content

feat: add dismissible webinar announcement - #5588

Merged
skshetry merged 3 commits into
mainfrom
feat/webinar-banner
Sep 3, 2026
Merged

feat: add dismissible webinar announcement#5588
skshetry merged 3 commits into
mainfrom
feat/webinar-banner

Conversation

@skshetry

@skshetry skshetry commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replace the scrolling header prompt with a dismissible webinar announcement.
The banner and navigation remain fixed while scrolling, and the surrounding
documentation layout accounts for the banner at desktop and mobile widths.

Dismissals persist across visits and are restored before Gatsby hydrates, so
direct fragment loads do not briefly show a previously dismissed banner.

Testing

  • yarn test
  • yarn lint
  • yarn lint-ts
  • yarn lint-css
  • yarn build
  • Verified light and dark modes on tutorial and reference documentation pages
  • Verified responsive truncation, dismissal, reload, scrolling, and fragment navigation

Fix #5586

Replace the scrolling header prompt with a fixed webinar announcement that
stays aligned with the documentation navigation at every viewport size.

Persist dismissals and restore them before hydration so direct fragment
loads do not briefly show the announcement again.

Fixes: #5586
@skshetry skshetry self-assigned this Sep 3, 2026
Increase the banner height and type size, and use the DVC purple callout
tint so the announcement stands apart from the surrounding site chrome.
Keep the CTA legible and truncate it safely on narrow screens.
Wrap the announcement and place its CTA on a separate line at mobile
widths. Increase the banner height only as the viewport narrows so the
complete message and 44px dismiss target remain visible down to 240px.
@skshetry
skshetry temporarily deployed to dvc-org-pr-5588 September 3, 2026 12:50 Inactive
@skshetry
skshetry merged commit 640a531 into main Sep 3, 2026
3 of 4 checks passed
@skshetry
skshetry deleted the feat/webinar-banner branch September 3, 2026 13:08
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.

Add back banner for AWS Sagemaker DVC webinar

1 participant