feat: add announcement bar with updated gittogether details#837
feat: add announcement bar with updated gittogether details#837
Conversation
Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Adds a custom, Tailwind-styled Announcement Bar featuring a marquee message and CTA for updated GitTogether SF event details.
Changes:
- Added a custom
src/theme/AnnouncementBarimplementation with marquee animation, swipe-to-dismiss behavior, and a CTA link. - Extended Tailwind config with
marqueekeyframes/animation. - Updated global CSS to make the navbar sticky beneath the announcement bar and stripped default Docusaurus announcement bar styling.
- Updated
docusaurus.config.jsannouncement barid/content.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
tailwind.config.js |
Adds marquee keyframes and animate-marquee utility used by the new announcement bar. |
src/theme/AnnouncementBar/index.js |
Introduces the new announcement bar UI (marquee, CTA, dismiss interactions) and height syncing to a CSS variable. |
src/css/custom.css |
Makes navbar sticky below the bar via --docusaurus-announcement-bar-height; removes default Docusaurus announcement bar styling. |
docusaurus.config.js |
Updates announcement bar id/content for the GitTogether SF messaging. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Claude <noreply@openai.com> Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: amaan-bhati <amaanbhati49@gmail.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added a custom sticky announcement experience for GitTogether SF using the swizzled Docusaurus announcement bar.
What changed
Configuration
themeConfig.announcementBarindocusaurus.config.js.themeConfig.announcementBarfrom the config.