-
Notifications
You must be signed in to change notification settings - Fork 128
feat/#3298/Add sticky social media share component below blog banner. #211
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
base: main
Are you sure you want to change the base?
Conversation
add a sticky share to social media component in blog website
|
@amaan-bhati Have a look . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR relocates the social media share component from the blog post header to a sticky sidebar position, improving visibility and user engagement. The component is redesigned with horizontal button layout and sticky behavior to keep share options accessible while scrolling.
Key Changes:
- Moved social share functionality from PostHeaderAuthors to new StickyShare component in sticky sidebar
- Implemented sticky positioning below Waitlist Banner and above Ad Banner
- Updated button layout from vertical to horizontal with optimized spacing
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| components/StickyShare.tsx | New sticky share component with Twitter, LinkedIn, and copy link functionality |
| components/post-body.tsx | Integrated StickyShare into right sidebar between WaitlistBanner and AdSlot; removed demo JSON data and cleaned up formatting |
| components/PostHeaderAuthors.tsx | Removed social share buttons and related state/imports from header component |
| package-lock.json | Automated dependency metadata updates (peer flags, fsevents addition) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
Co-authored-by: Copilot <[email protected]> Signed-off-by: bhanushali parth hitesh <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: bhanushali parth hitesh <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: bhanushali parth hitesh <[email protected]>
…oy#194) * feat: add scroll-to-top button with gradient progress indicator - Add ScrollToTop component with orange-to-yellow gradient - Implement smooth scroll progress tracking with circular indicator - Add hover effects with scale animation (duration: 500ms ease-out) - Include dark mode support with appropriate color schemes - Integrate component into main Layout for site-wide availability - Add accessibility features with proper aria-label - Button appears after scrolling 300px with smooth fade-in/out Signed-off-by: Soumyabrata Mukherjee <[email protected]> * perf: optimize ScrollToTop component performance and code clarity - Add throttling to scroll event listener (16ms delay for ~60fps) - Extract magic number 15.92 as CIRCLE_RADIUS constant - Extract scroll threshold 300 as SCROLL_THRESHOLD constant - Add THROTTLE_DELAY constant for better maintainability - Implement custom throttle function to prevent excessive scroll calculations - Update SVG circles to use CIRCLE_RADIUS constant - Improve code readability and performance on lower-end devices Signed-off-by: Soumyabrata Mukherjee <[email protected]> --------- Signed-off-by: Soumyabrata Mukherjee <[email protected]> Signed-off-by: parth <[email protected]>
* Fix: author slug handling and add resilient author post lookups Signed-off-by: Kaushik Tak <[email protected]> * build minor fix Signed-off-by: Kaushik Tak <[email protected]> --------- Signed-off-by: Kaushik Tak <[email protected]> Signed-off-by: parth <[email protected]>
* feat: add search tags functionality in tag page Signed-off-by: Kaushik Tak <[email protected]> * feat, ui : adding colors and icons to tags; adding load-more + infinite-scroll, loading tags when needed * ui: tags ui and added icons, and loading in tags Signed-off-by: Kaushik Tak <[email protected]> * build error fix Signed-off-by: Kaushik Tak <[email protected]> --------- Signed-off-by: Kaushik Tak <[email protected]> Co-authored-by: Amaan Bhati <[email protected]> Signed-off-by: parth <[email protected]>
add a sticky share to social media component in blog website Signed-off-by: parth <[email protected]>
Signed-off-by: parth <[email protected]>
Co-Authored-By: bhanushali parth hitesh <[email protected]>
Related Tickets & Documents
Fixes: #3298
Description
This PR updates the placement, design, and behaviour of the social media share component in blog pages to improve user engagement and UX.
Current Behaviour
Expected Output (Implemented)
Type of Change
Testing
Manual Testing Performed
Environment and Dependencies
Checklist
BEFORE :
AFTER :
VIDEO TESTING :
AFTER.-.Made.with.Clipchamp.mp4