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

feat: revamping the Navbar #1195 #1199

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Conversation

pranay911
Copy link
Contributor

Changed the color of the navigation item and Added a navigation button according to design.

📸 Screenshots

image

@github-actions github-actions bot added hacktoberfest-accepted This PR is accepted for Hacktoberfest. status: todo ⏳ This issue is yet to be seen by the maintainer of the project. 💡 feature This generally contains addition/changes to features. labels Jan 21, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hello @pranay911, thank you for raising a pull request.

Currently, the pull request is marked as https://github.com/MilanCommunity/Milan/labels/status%3A%20todo%20%E2%8F%B3 so please wait until the maintainers/owner review it and provide you with feedback/suggestions to proceed further.

Feel free to reach out to Tamal on Twitter, or drop a mail at tamalcodes@gmail.com if you think that this pull request is of critical priority.

Give us a ⭐ to show some support
Happy OpenSource 🚀

@pranay911 pranay911 changed the base branch from main to beta January 21, 2024 13:45
@pranay911 pranay911 changed the title Feature: revamping the Navbar #1195 feat: revamping the Navbar #1195 Jan 21, 2024
@tamalCodes
Copy link
Member

Hi @pranay911 this looks amazing however the navbar looks quite off-center. This is a design issue I guess, can anything be done so that we make the navbar more centred ?

For example, take a look at
image

@tamalCodes tamalCodes added status: discuss 💬 Currently we are discussing about the further proceedings of the PR/issue. status: wip 👩🏻‍💻 This issue/PR is actively being worked on. and removed hacktoberfest-accepted This PR is accepted for Hacktoberfest. status: todo ⏳ This issue is yet to be seen by the maintainer of the project. status: discuss 💬 Currently we are discussing about the further proceedings of the PR/issue. labels Jan 22, 2024
@pranay911
Copy link
Contributor Author

Hi @tamalCodes I've considered all the approaches you mentioned. In the provided image, there's only one item on the right side. However, on your website, two buttons – "Contribute to Milan" and "Sign Up" – occupy some space. Due to this, the navigation items are not centered as expected.

text-align: center;
cursor: pointer;
border-radius: 8px;
border-radius: 40px;
Copy link
Member

Choose a reason for hiding this comment

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

The radius might be different at different places so make another variant that also defines the border radius of the button for example you can make a class called rounded-button which has a different border radius and the default button can have the radius that we previously had.

We can use this class in places where we need it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

U mean hide contribute to milan button?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So basically I create a another button with different border-radius...

src/components/Navbar/Navbar.jsx Outdated Show resolved Hide resolved
@tamalCodes tamalCodes added status: need changes 🚧 Changes have been requested for these PRs JWOC hard and removed status: wip 👩🏻‍💻 This issue/PR is actively being worked on. labels Jan 23, 2024
@github-actions github-actions bot added the deployed This PR has been deployed to Vercel for testing. label Jan 24, 2024
@pranay911
Copy link
Contributor Author

Hey @tamalCodes, good evening! Following our discussion, I've made the following changes:

  1. Added a new class for rounded buttons.
  2. Corrected the border-radius.

@pranay911
Copy link
Contributor Author

Hey @tamalCodes, any updates on PR?

@pranay911
Copy link
Contributor Author

Now its looks Pretty

image

Copy link

This pull request has been deployed to Vercel.

Latest commit: 084ab91
✅ Preview: https://milan-beta-mr81nrns6-iamtamal.vercel.app
🔍 Inspect: https://vercel.com/iamtamal/milan-beta/CLEXGsatzGCNGoABqKNrSWFcEyLQ

View Workflow Logs

Copy link
Member

@tamalCodes tamalCodes left a comment

Choose a reason for hiding this comment

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

Amazing work 🎉

The changes look good to me and will be merged soon.

Do follow Tamal for more Opensource fun projects and don't forget to drop a star so that you get updated about our latest releases (we will tag you and mention your work) and also a shoutout on social media (LinkedIn and Twitter) !

PLEASE DROP US A STAR, MEANS ALOT.

Happy Opensource 🚀.

@tamalCodes tamalCodes merged commit 0ee5586 into ngoworldcommunity:beta Jan 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed This PR has been deployed to Vercel for testing. 💡 feature This generally contains addition/changes to features. hard JWOC status: need changes 🚧 Changes have been requested for these PRs
Projects
Status: Merged/Discarded
Development

Successfully merging this pull request may close these issues.

2 participants