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

please merge i have corrected my last pr #279

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
48 changes: 46 additions & 2 deletions frontend/src/components/HomeComponents/NavList.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,38 @@ export default function NavList() {
return (
<div>
<div id="menulinks" class="menulinks duration-500 md:static md:min-h-fit absolute min-h-[28vh] left-[0%] top-[-100%] md:w-auto w-[100%] flex justify-center py-5 fixed ">

<ul className="flex md:flex-row flex-col md:items-center md:gap-[4vw] gap-8 text-white font-Roboto font-semibold">
<li>
<NavLink
to="/"
className={({ isActive }) => (isActive ? "text-[#FFCC33]" : "")}
>
Product
</NavLink>
</li>
<li>
<NavLink
onClick={() => {
ScrollDown();
}}
className="hover:text-[#FFCC33]"
>
Services
</NavLink>
</li>
<li>
<NavLink to="/login" className="hover:text-[#FFCC33]">
Login
</NavLink>
</li>
<li>
<NavLink to="/signup" className="hover:text-[#FFCC33]">
Signup
</NavLink>
</li>
</ul>
=======
<ul className="flex md:flex-row flex-col md:items-center md:gap-[4vw] gap-8 text-white font-Roboto font-semibold ">
<li>
<NavLink
Expand All @@ -29,6 +61,9 @@ export default function NavList() {
</li>
<li>
<NavLink
className={({ isActive }) =>
`hoverEffect ${isActive ? "text-[#0945E8" : ""}`
}
onClick={() => {
ScrollDown();
}}
Expand All @@ -37,12 +72,21 @@ export default function NavList() {
</NavLink>
</li>
<li>
<NavLink to="/login">Login</NavLink>
<NavLink to="/login"
className={({ isActive }) =>
`hoverEffect ${isActive ? "text-[#0945E8" : ""}`
}
>Login</NavLink>
</li>
<li>
<NavLink to="/signup">Signup</NavLink>
<NavLink to="/signup"
className={({ isActive }) =>
`hoverEffect ${isActive ? "text-[#0945E8" : ""}`
}
>Signup</NavLink>
</li>
</ul>

</div>
<div className="flex items-center gap-6">
<ion-icon
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/components/HomeComponents/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ ion-icon {
}


.hoverEffect:hover {
color: #0945e8;
}