-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #269 from dhruvdankhara/update-navbar
remove unused and extra home menu and improve code
- Loading branch information
Showing
2 changed files
with
138 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,98 @@ | ||
export const navItems = [ | ||
{ | ||
id:1, | ||
title:"Home", | ||
path:"./", | ||
cName:"nav-item", | ||
}, | ||
{ | ||
id:2, | ||
title:"Product", | ||
path:"./product", | ||
cName:"nav-item", | ||
}, | ||
|
||
|
||
|
||
{ | ||
id:3, | ||
title:"Contact", | ||
path:"./contact", | ||
cName:"nav-item", | ||
}, | ||
|
||
{ | ||
id:4, | ||
title:"Stories", | ||
path:"./our-story", | ||
cName:"nav-item", | ||
}, | ||
|
||
{ | ||
id:5, | ||
title:"User", | ||
path:"./user", | ||
cName:"nav-item", | ||
}, | ||
{ | ||
id: 1, | ||
title: "Home", | ||
path: "./", | ||
cName: "nav-item", | ||
}, | ||
{ | ||
id: 2, | ||
title: "Product", | ||
path: "./product", | ||
cName: "nav-item", | ||
}, | ||
{ | ||
id: 3, | ||
title: "Contact", | ||
path: "./contact", | ||
cName: "nav-item", | ||
}, | ||
{ | ||
id: 4, | ||
title: "Stories", | ||
path: "./our-story", | ||
cName: "nav-item", | ||
}, | ||
{ | ||
id: 5, | ||
title: "User", | ||
path: "./user", | ||
cName: "nav-item", | ||
}, | ||
]; | ||
|
||
export const productDropdown =[ | ||
{ | ||
id:1, | ||
title:"Shop", | ||
path:"./shop", | ||
cName:"submenu-item", | ||
}, | ||
|
||
{ | ||
id:2, | ||
title:"Premium Beans", | ||
path:"./premiumBeans", | ||
cName:"submenu-item", | ||
}, | ||
|
||
{ | ||
id:3, | ||
title:"expert bistas", | ||
path:"./expertbaristas", | ||
cName:"submenu-item", | ||
}, | ||
export const productDropdown = [ | ||
{ | ||
id: 1, | ||
title: "Shop", | ||
path: "./shop", | ||
cName: "submenu-item", | ||
}, | ||
{ | ||
id: 2, | ||
title: "Premium Beans", | ||
path: "./premiumBeans", | ||
cName: "submenu-item", | ||
}, | ||
{ | ||
id: 3, | ||
title: "expert bistas", | ||
path: "./expertbaristas", | ||
cName: "submenu-item", | ||
}, | ||
]; | ||
|
||
export const ourstoryDropdown =[ | ||
{ | ||
id:1, | ||
title:"about", | ||
path:"./about", | ||
cName:"submenu-item", | ||
}, | ||
|
||
{ | ||
id:2, | ||
title:"testimonials", | ||
path:"./testimonial", | ||
cName:"submenu-item", | ||
}, | ||
|
||
|
||
export const ourstoryDropdown = [ | ||
{ | ||
id: 1, | ||
title: "about", | ||
path: "./about", | ||
cName: "submenu-item", | ||
}, | ||
{ | ||
id: 2, | ||
title: "testimonials", | ||
path: "./testimonial", | ||
cName: "submenu-item", | ||
}, | ||
]; | ||
|
||
export const userLogoutDropdown =[ | ||
{ | ||
id:1, | ||
title:"login", | ||
path:"./login", | ||
cName:"submenu-item", | ||
}, | ||
|
||
{ | ||
id:2, | ||
title:"register", | ||
path:"./register", | ||
cName:"submenu-item", | ||
}, | ||
export const userLogoutDropdown = [ | ||
{ | ||
id: 1, | ||
title: "login", | ||
path: "./login", | ||
cName: "submenu-item", | ||
}, | ||
{ | ||
id: 2, | ||
title: "register", | ||
path: "./register", | ||
cName: "submenu-item", | ||
}, | ||
]; | ||
|
||
export const userLoginDropdown =[ | ||
{ | ||
id:1, | ||
title:"cart", | ||
path:"./cart", | ||
cName:"submenu-item", | ||
}, | ||
|
||
{ | ||
id:2, | ||
title:"profile", | ||
path:"./profile", | ||
cName:"submenu-item", | ||
}, | ||
|
||
|
||
export const userLoginDropdown = [ | ||
{ | ||
id: 1, | ||
title: "cart", | ||
path: "./cart", | ||
cName: "submenu-item", | ||
}, | ||
{ | ||
id: 2, | ||
title: "profile", | ||
path: "./profile", | ||
cName: "submenu-item", | ||
}, | ||
]; | ||
|