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 navbar #562

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Refactor navbar #562

merged 5 commits into from
Jul 2, 2024

Conversation

Jad31
Copy link
Collaborator

@Jad31 Jad31 commented Jul 2, 2024

What kind of change does this PR introduce?

Refactor the navbar to match the new figma design.
Fix responsive issues as well

Issue Number:

Screenshots/videos:

Before After

If relevant, did you update the documentation?

Summary

Does this PR introduce a breaking change?

Jad31 added 2 commits July 1, 2024 22:16
Signed-off-by: Jad Chahed <[email protected]>
Signed-off-by: Jad31 <[email protected]>
@Jad31 Jad31 requested a review from frouioui as a code owner July 2, 2024 17:16
Signed-off-by: Jad31 <[email protected]>
Copy link
Member

@frouioui frouioui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, otherwise this is a nice addition, thank you!

FYI, this was the design:
image

And this is the current result:
image

The search bar will be added in a follow-up PR when we work on the History page.

The responsiveness works well too.

website/src/pages/HistoryPage/HistoryPage.tsx Outdated Show resolved Hide resolved
website/src/pages/HistoryPage/components/Hero.tsx Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already planned for a follow-up PR already, but putting it out there so it is known: let's extra the Hero into its own component that we will re-use on every page, that will ensure the Hero is consistent everywhere and will make the codebase more maintainable.

website/src/common/Navbar.tsx Outdated Show resolved Hide resolved
@frouioui
Copy link
Member

frouioui commented Jul 2, 2024

Linked to #525

Copy link
Member

@frouioui frouioui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice first contribution! 🙇🏻

@frouioui frouioui merged commit 8ab9182 into main Jul 2, 2024
11 of 13 checks passed
@frouioui frouioui deleted the refactor-navbar branch July 2, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants