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

add sidebar/nav and routes Co-authored-by: Amr Ahmed #12

Merged
merged 8 commits into from
Mar 30, 2022
Merged

Conversation

codepantha
Copy link
Owner

Changes introduced via this PR: 👇

  • Add a navigation panel with links
  • Add routes

@codepantha codepantha linked an issue Mar 29, 2022 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@AlexRS90 AlexRS90 left a comment

Choose a reason for hiding this comment

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

Hello @codepantherr

###What an amazing job, it's working as expected, the styling is like in the design provided and also you created functional components for other features in the project, good one!!

There is nothing else to say other than... is time to merge!!! 🎸 🕺 🎸 🕺

Copy link
Collaborator

@AlexRS90 AlexRS90 left a comment

Choose a reason for hiding this comment

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

## Hello @Amrhub
It's amazing how you implemented the dark them, taking care of all details like the logo in the navbar and the project is also responsive!!

Congratulations!!

Feel free to merge it! 🚀 🕺 🎸

Comment on lines 26 to 37
<nav>
<ul>
<li className="nav-item">
<NavLink to="/" className="nav-link">
Doctors
</NavLink>
</li>
<li className="nav-item">
<NavLink to="/book-appointment" className="nav-link">
Reserve
</NavLink>
</li>
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • This is an optional Change:

Everything is working as expected but I believe is a good idea to improve de UX to close the menu after the user selects an option.

Copy link
Collaborator

Choose a reason for hiding this comment

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

You're right, I will work on that now 🤩

Copy link
Collaborator

@AlexRS90 AlexRS90 left a comment

Choose a reason for hiding this comment

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

Hello @Amrhub

Your project is complete!!
There is nothing else to say other than... it's time to merge!!! 🚀 🟢

Comment on lines +6 to +12
useEffect(() => {
setTheme(localStorage.getItem('theme'));
const localTheme = theme;
if (localTheme === 'dark') {
document.getElementById('theme-toggler').checked = true;
}
}, [theme]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a great feature, congratulations!!

keep rocking!! 🎸 🕺

@Amrhub Amrhub merged commit 8412a49 into dev Mar 30, 2022
@Amrhub
Copy link
Collaborator

Amrhub commented Mar 30, 2022

@AlexRS90 Thank you for the review ❤️

@Amrhub Amrhub deleted the nav/sidebar branch March 30, 2022 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigation Sidebar / Panel - Web 1pt
3 participants