📚 Overview
This issue focuses on building the header component that the leaderboard page consumes. Additionally, a landing page integrating this header is to be set up according to the Figma design. The new components should be organized within the ui/ folder, ensuring a modular structure.
🛠️ Tasks
-
Header Component
- Build the header component as per the design found in Figma.
- Ensure the component is created inside the
ui/ folder.
-
Landing Page Implementation
- Inside the
src/ui/ directory, create a new folder named pages/.
- Create a file called
Header.tsx in the pages/ folder which serves as the landing page incorporating the header component.
- Implement the landing page to follow the four steps up to the final login state, as illustrated in the Figma design.
-
Modularity & Component Organization
- Place individual UI components that are associated with the header within the
src/ui/components/ folder. For example, if there are button components or sub-components, organize them as: src/ui/components/Header/Button.tsx.
-
Routing
- Use React Router in the project to enable viewing the header via the new landing page.
-
Constraints
- Do not modify any code or files outside the scope of this issue.
✅ Definition of Done
- The header component is implemented according to the Figma design.
- The landing page (
Header.tsx in src/ui/pages/) integrates all four steps up to the login state.
- Components are modularly organized within the project (i.e., using the
src/ui/components/ folder).
- Proper routing via React Router is set up to view the landing page.
- No unrelated files or code are altered.
Let's bring this UI component to life! 🚀
📚 Overview
This issue focuses on building the header component that the leaderboard page consumes. Additionally, a landing page integrating this header is to be set up according to the Figma design. The new components should be organized within the
ui/folder, ensuring a modular structure.🛠️ Tasks
Header Component
ui/folder.Landing Page Implementation
src/ui/directory, create a new folder namedpages/.Header.tsxin thepages/folder which serves as the landing page incorporating the header component.Modularity & Component Organization
src/ui/components/folder. For example, if there are button components or sub-components, organize them as:src/ui/components/Header/Button.tsx.Routing
Constraints
✅ Definition of Done
Header.tsxinsrc/ui/pages/) integrates all four steps up to the login state.src/ui/components/folder).Let's bring this UI component to life! 🚀