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

Refactor Header Component for Application-wide Use #54

Open
danielcdz opened this issue Dec 10, 2024 · 0 comments
Open

Refactor Header Component for Application-wide Use #54

danielcdz opened this issue Dec 10, 2024 · 0 comments
Labels
difficult: medium ODHack11 This issue will be available ONLY during the ODHack11

Comments

@danielcdz
Copy link
Member

danielcdz commented Dec 10, 2024

📘 Description

The Header currently differs between the Landing page and the Marketplace page. To ensure consistency and reusability across the application, both headers need to be unified into a single, reusable component. The unified header will include the logo, search bar, wallet connection button, and dark mode toggle button while removing unnecessary elements.

🔢 Steps

  1. Move the current HeaderComponent (located on the Marketplace page) to a new file named header.tsx inside the components/ui directory.
  2. Rename the component to Header.
  3. Remove the hamburger menu and replace it with the logo.
  4. Remove the Home button and all related logic.
  5. Move the existing dark mode toggle button into the header.

✅ Acceptance Criteria

  • The unified header should be used across the entire application, including both the landing page and the marketplace.
  • The header should include the logo, search bar, wallet connection button, and dark mode toggle button.
  • The header must be responsive, ensuring it adapts well to different screen sizes.

🌎 References

Not applicable.

📜 Additional Notes

Do not apply until the ODHack begins.
Read our guidelines before applying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult: medium ODHack11 This issue will be available ONLY during the ODHack11
Projects
None yet
Development

No branches or pull requests

1 participant