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

Added about section in navbar #310

Merged
merged 2 commits into from
Jan 13, 2025
Merged
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
10 changes: 10 additions & 0 deletions src/componets/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,22 @@ const Logo = styled(motion.div)`

const RightNav = styled(motion.div)`
display: flex;

justify-content: center;

justify-content: flex-end;

align-items: center;
padding: 0.1rem;
gap: 1rem; /* Space between nav items */
flex-grow: 1; /* Allow right navigation to take remaining space */
top: 0px;

left: 20vw; //Now the Shop section is completely visible at the top-right section of Navbar.
right: 0;
bottom:5;


z-index: 1000;
transition: all 0.3s ease;
@media (max-width: 768px) {
Expand Down
7 changes: 7 additions & 0 deletions src/componets/Navitems.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ export const navItems = [
path: "./user",
cName: "nav-item",
},
{
id :6,
title:"About",
path:"./about",
cName:"nav-item",
},

];

export const productDropdown =[
Expand Down
Loading