Skip to content

Commit

Permalink
Merge pull request #310 from Sohi07/feature/about
Browse files Browse the repository at this point in the history
Added about section in navbar
  • Loading branch information
Mujtabaa07 authored Jan 13, 2025
2 parents 4a02b5f + d5ae94a commit eec1b2c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
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

0 comments on commit eec1b2c

Please sign in to comment.