Skip to content

Implement Header Component For Main Game Page #69

@OWK50GA

Description

@OWK50GA

📚 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

  1. Header Component

    • Build the header component as per the design found in Figma.
    • Ensure the component is created inside the ui/ folder.
  2. 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.
  3. 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.
  4. Routing

    • Use React Router in the project to enable viewing the header via the new landing page.
  5. 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! 🚀

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions