Skip to content

feat: Add a Jump to top button for Terms page#341

Open
DimondKudzai wants to merge 1 commit into
starknet-io:masterfrom
DimondKudzai:feature/add-ui-button
Open

feat: Add a Jump to top button for Terms page#341
DimondKudzai wants to merge 1 commit into
starknet-io:masterfrom
DimondKudzai:feature/add-ui-button

Conversation

@DimondKudzai

@DimondKudzai DimondKudzai commented Aug 12, 2025

Copy link
Copy Markdown

This PR introduces a small, self-contained UI component (JumpToTop) placed in the src/components/ui directory. It enhances the user experience on long pages (like Terms of Use) by allowing users to quickly scroll back to the top.

  • Added JumpToTop component with scroll visibility logic
  • Used SCSS for styling, consistent with existing design patterns
  • Modular and non-intrusive — no core logic modified
  • Imported via @ui and reused cleanly in the Terms.tsx page

This is a minor usability improvement and aligns with the modular UI structure of the project.


This change is Reviewable

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