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

Rewards page scaffold #10415

Merged
merged 15 commits into from
Dec 20, 2024
Merged

Rewards page scaffold #10415

merged 15 commits into from
Dec 20, 2024

Conversation

masvelio
Copy link
Contributor

Link to Issue

Closes: #10325

Description of Changes

  1. New Rewards Page Feature
  • Created a new /rewards route accessible in both common and custom domains
  • Implemented a new rewards page with three main sections:
    • Referrals
    • Wallet Balance
    • Quests
  1. UI Components
  • Added new components:
    • RewardsCard - A reusable card component for the rewards page
    • RewardsTab - Mobile tab navigation component
    • Table components for each section (Referral, Quest, Wallet)
  1. Navigation Updates
  • Added rewards button to desktop header with ETH balance display
  • Added rewards tab to mobile navigation when feature is enabled
  • Updated "My transactions" link to redirect to rewards page when enabled
  1. Feature Flag Integration
  • Added FLAG_REWARDS_PAGE environment variable
  • Integrated feature flag checks throughout the application

Test Plan

  • FLAG_REWARDS_PAGE to true
  • check /rewards page
  • only UI for now

image

image

Deployment Plan

  1. n/a

Other Considerations

  • n/a

@masvelio masvelio requested review from Israellund, mzparacha and burtonator and removed request for Israellund December 20, 2024 12:39
@masvelio masvelio merged commit fc02311 into master Dec 20, 2024
10 checks passed
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.

Implement Layout and Navigation on the Wallet Page
3 participants