-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
UIenhancementNew feature or requestNew feature or requestfrontendgood first issueGood for newcomersGood for newcomersonlydust-wave
Description
➡️ Title
feat/create-user-dashboard-and-coupons-pages-with-components
📘 Description
Create the User Dashboard and Coupons pages for TreeByte, rendering all sections as independent reusable components.
The dashboard must show the user’s points, active projects, footprint, available coupons, and achievements.
When the user clicks “Show all coupons”, it should navigate to the full Coupons page displaying all available coupons in a grid format.
The structure and styles must strictly follow the provided Figma designs:
✅ Acceptance Criteria
User Dashboard (user-dashboard
)
- Create the
user-dashboard
page that imports and renders all sections in order:header-section
user-summary-section
(points, active projects)footprint-section
projects-section
achievements-section
coupons-preview-section
(5 coupons max + “Show all coupons” link)latest-tokens-section
footer-section
- Clicking “Show all coupons” must navigate to the full
coupons-page
.
Coupons Page (coupons-page
)
- Display all available coupons in a responsive grid format.
- Include filters: region, categories, and sort by (as shown in the design).
- Must show the user’s total available points at the top.
- Include the shared
footer-section
.
⚠ Technical Notes
- Components must be independent and reusable, placed in
@/components/dashboard/
and@/components/coupons/
. - Use alias imports with
@
, no relative paths. - Folder and file naming strictly in kebab-case.
- Must support dark and light mode using Tailwind’s
class
strategy. - Colors and styles must use Tailwind variables (
hsl
oroklch
). - Page files must be placed in:
@/pages/user-dashboard
@/pages/coupons-page
Metadata
Metadata
Assignees
Labels
UIenhancementNew feature or requestNew feature or requestfrontendgood first issueGood for newcomersGood for newcomersonlydust-wave