Skip to content

Conversation

@Nour-2003
Copy link
Contributor

Fixes: #247

Summary

Adds a mobile-only scroll-to-top button to long documentation pages (starting with Getting Started).

Details

  • Visible only on mobile devices
  • Appears after scrolling down
  • Uses existing Font Awesome icon for visual consistency
  • Smooth scrolling with respect for prefers-reduced-motion
  • No impact on desktop layout

Testing

  • Tested on mobile viewport
  • Verified visibility, scroll behavior, and accessibility

Let me know if you’d like this adjusted or extended further.

image

@aanthonymax aanthonymax added the under review PR review in progress label Dec 20, 2025
@aanthonymax
Copy link
Member

@Nour-2003 Hello! I'll take a good look. Thank you!

@aanthonymax aanthonymax merged commit 01db613 into hmpl-language:main Dec 31, 2025
@aanthonymax
Copy link
Member

@Nour-2003 Thank you and happy new year!

github-actions bot pushed a commit that referenced this pull request Dec 31, 2025
…-button

Add mobile scroll-to-top button to Getting Started page
github-actions bot pushed a commit that referenced this pull request Dec 31, 2025
…-button

Add mobile scroll-to-top button to Getting Started page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

under review PR review in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new feature

2 participants