Commit b1d5b62
feat(epoch1000): add Epoch 1000 campaign experience (#1670)
* feat(epoch1000): introduce Countdown, ThousandGrid, and WalletChecker components for epoch tracking and wallet verification
- Added Countdown component to display the countdown to epoch 1000, fetching epoch data from the API.
- Implemented ThousandGrid component to visually represent the progress of epochs.
- Created WalletChecker component for users to check their wallet's transaction history and generate survivor cards.
- Established campaign configuration for epoch 1000 with defined start and end dates.
- Developed Epoch1000Hero component to serve as the homepage hero during the campaign, showcasing live epoch data.
- Added CSS animations for the epoch hero components to enhance visual appeal.
- Introduced utility functions for handling Solana addresses and tier classifications based on epochs survived.
* fix(epoch1000): render gradient epoch number, add campaign window test
- Drop backdrop-blur on the hero live panel: Chrome skips background-clip:text
paint inside backdrop-filter layers, hiding the gradient epoch number
- Add unit tests for the campaign hero activation window
- Locale-aware number/date formatting in the live panel
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(epoch1000): implement odometer component and related functionality
- Add Epoch1000Experience component to display live odometer and timeline.
- Create Odometer component for visual representation of epoch values.
- Implement odometer-math utility functions for calculating wheel targets.
- Add moments data for significant events in the epoch timeline.
- Introduce useEpochData hook for fetching and managing live epoch data.
- Style odometer with CSS for a mechanical appearance and celebration effects.
- Write unit tests for odometer math functions to ensure correctness.
* feat(epoch1000): enhance campaign page with new styles, components, and validation logic
* Refactor code structure for improved readability and maintainability
* feat(epoch1000): update translations and metadata for Epoch 1000 campaign
* feat(epoch1000): integrate GitHub contributions color palette and enhance grid functionality
* feat(epoch1000): implement rate limiting for wallet checks and enhance caching mechanisms
* feat(epoch1000): update eyebrow text for epoch 1000 campaign page
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 1b5b5cc commit b1d5b62
44 files changed
Lines changed: 3207 additions & 45 deletions
File tree
- apps/web
- assets/fonts/epoch1000
- public/social
- src
- __tests__
- components
- lib
- app
- [locale]
- epoch1000
- card
- api/epoch1000
- check
- epoch
- og
- components
- epoch1000
- index/campaigns
- epoch1000
- lib/epoch1000
- packages/i18n/messages/web/en
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
Loading
Loading
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments