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

Add Progress Bar to Landing Page #1790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noobpiyush
Copy link
Contributor

Pull Request: Add Scroll Progress Bar to Landing Page

Description

This pull request introduces a progress bar to the landing page to enhance user experience by providing a visual indicator of scroll progress.

Problem

The landing page currently lacks a visual indicator for the user's scroll position.

Solution

Implemented a progress bar that dynamically updates based on the user's scroll position.

Scope

  • The progress bar is added as a fixed element at the top of the page.
  • It updates its width as the user scrolls through the content.

Changes Made

  • Added a progress bar component to the landing page.
  • Implemented scroll event handling to update the progress bar width.
  • Ensured the progress bar is styled appropriately and visible above other content.

Testing

Manual Testing

  • Scrolled through the landing page to ensure the progress bar updates correctly.
  • Verified that the progress bar resets to 0% when the user scrolls back to the top.
  • Checked that the progress bar reaches 100% when the user scrolls to the bottom of the page.

changes made

WhatsApp.Video.2025-03-25.at.3.55.42.PM.mp4

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