Skip to content

Replace floating widgets with fixed bottom bar#329

Draft
Copilot wants to merge 11 commits intomainfrom
copilot/replace-floating-widgets-bar
Draft

Replace floating widgets with fixed bottom bar#329
Copilot wants to merge 11 commits intomainfrom
copilot/replace-floating-widgets-bar

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 19, 2025

Replaces individual floating Discord and Buy Me a Coffee widgets with a unified bottom bar component visible across all pages.

Changes

  • New BottomBar component (src/components/BottomBar/)

    • Fixed positioning at viewport bottom
    • Responsive: full text on desktop, icons only on mobile
    • Theme-aware styling with hover states
    • Semantic CSS classes (.discordButton, .coffeeButton)
  • Updated Footer wrapper (src/theme/Footer/index.tsx)

    • Replaced DiscordFloatingWidget and BuyMeACoffeeFloatingWidget with BottomBar
  • Cleaned up custom CSS (src/css/custom.css)

    • Removed TOC height constraints previously needed for floating widgets

Implementation

// Before: Two separate floating widgets
<DiscordFloatingWidget />
<BuyMeACoffeeFloatingWidget />

// After: Unified bottom bar
<BottomBar />

The bar adds 60px bottom padding to body to prevent content overlap and collapses to icon-only view below 768px width.

Screenshots

Homepage:
Bottom Bar on Homepage

Documentation Page:
Bottom Bar on Docs Page

Original prompt

Create a New branch from main. This branch should include a list of tasks. the goal is to replace the floating widgets for discord and buymeacoffee with a new bar that will be visable accross the bottom of the page throughout the site


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@TrueBankai416 TrueBankai416 added enhancement New feature or request help wanted Extra attention is needed labels Dec 19, 2025
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Dec 19, 2025

Deploying bankaitechdocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a33507
Status: ✅  Deploy successful!
Preview URL: https://1b98c1a6.bankaitechdocs.pages.dev
Branch Preview URL: https://copilot-replace-floating-wid.bankaitechdocs.pages.dev

View logs

Copilot AI changed the title [WIP] Replace floating widgets with new bottom bar Replace floating widgets with fixed bottom bar Dec 19, 2025
Copilot AI requested a review from TrueBankai416 December 19, 2025 09:56
TrueBankai416 and others added 7 commits December 19, 2025 15:04
Added styles to prevent TOC from overlapping and ensure proper padding.
…into copilot/replace-floating-widgets-bar

# Conflicts:
#	docs/Examples/Reverse Proxies/Docs/Nginx/Nginx.mdx
style(bottom-bar): refine icons and normalize button sizing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants