Skip to content

Conversation

Ronnit44
Copy link
Contributor

@Ronnit44 Ronnit44 commented Oct 5, 2025

Which issue does this PR close?

Rationale for this change

This change improves the user experience on long pages (e.g., Contact Us page) by allowing users to quickly scroll back to the top. It enhances navigation and accessibility.

What changes are included in this PR?

Added a Scroll to Top button to the Contact page.
Implemented scroll detection logic to show/hide the button after 200px of scrolling.
Added smooth scroll animation on click.
Styled the button to match the site theme.

Are there any user-facing changes?

Yes. Users will now see a floating “Scroll to Top” button when they scroll down, improving navigation on longer pages.

Screenshots

image

Copy link

netlify bot commented Oct 5, 2025

Deploy Preview for growcraftt ready!

Name Link
🔨 Latest commit 71026c0
🔍 Latest deploy log https://app.netlify.com/projects/growcraftt/deploys/68e204e6a9785e00082b5ddb
😎 Deploy Preview https://deploy-preview-904--growcraftt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

github-actions bot commented Oct 5, 2025

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

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 scroll to top button in contact us
1 participant