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

aligned navbar perfectly #163 #167

Merged
merged 1 commit into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const NavBar = () => {
const navClass = `py-1 rounded-full border
border-[#616161] hover:border-[#191919]
hover:bg-[#F1F5F9] hover:text-black transform transition-all duration-300 font-semibold
my-2 px-10 hover:px-6`;
my-2 px-6 hover:px-5`;

return (
<div className="border-b border-b-neutral-300 dark:border-b-neutral-700 fixed top-0 left-0 right-0 bg-white dark:bg-black backdrop-blur-lg bg-opacity-60 z-50">
Expand Down Expand Up @@ -68,9 +68,12 @@ const NavBar = () => {
</Link>
</>
) : (
<Link href="/signin" className={smNavClass}>
// <Link href="/signin" className={smNavClass}>
// Login/Signup
// </Link>
<Link href="/signin" className={navClass}>
Login/Signup
</Link>
</Link>
)}

<Link
Expand Down Expand Up @@ -153,4 +156,4 @@ const NavBar = () => {
);
};

export default NavBar;
export default NavBar;
Loading