Skip to content

Commit

Permalink
Merge pull request #107 from chingu-voyages/ch-111-reorder-top-nav-me…
Browse files Browse the repository at this point in the history
…nu-items

Ch 111 reorder top nav menu items
  • Loading branch information
timDeHof authored Nov 12, 2023
2 parents 6d46fef + 4b35a19 commit 7beea25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ All notable changes to this project will be documented in this file. See [standa

### Features


* **assets:** add art and picture components ([51554a1](https://github.com/chingu-voyages/v46-tier2-team-19/commit/51554a12b884d332c7bc3d185c6661927379b85f))
* **constants/index.js:** reorder header & footer menu items ([72fd3af](https://github.com/chingu-voyages/v46-tier2-team-19/commit/72fd3af6809c2f8349d37da441aad01118741d2f))
* add .env.example file with VITE_TASTY_API_KEY and VITE_TASTY_API_URL variables ([d80878c](https://github.com/chingu-voyages/v46-tier2-team-19/commit/d80878c4aac42bb14fa6e8cecd9f985c06f04cc0))
* add screenshot-home-dev.png to public directory ([e389efd](https://github.com/chingu-voyages/v46-tier2-team-19/commit/e389efd2570478588f4f6e4d2440caddeceb9175))
* **assets:** add art and picture components ([51554a1](https://github.com/chingu-voyages/v46-tier2-team-19/commit/51554a12b884d332c7bc3d185c6661927379b85f))
Expand Down
26 changes: 13 additions & 13 deletions src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ const welcome =
const logoUrl = "";

export const navLinks = [
{
id: "about",
title: "About",
href: "/about",
},
// {
// id: "posts",
// title: "Posts",
// href: "/posts",
// },
{
id: "search",
title: "Search",
Expand All @@ -26,19 +16,29 @@ export const navLinks = [
title: "Favorites",
href: "/favorites",
},
];

const footerLinks = [
{
id: "about",
title: "About",
href: "/about",
},
];

const footerLinks = [
{
id: "search",
title: "Search",
href: "/search",
},
{
id: "favorites",
title: "Favorites",
href: "/favorites",
},
{
id: "about",
title: "About",
href: "/about",
},
];

export { name, welcome, logoUrl, footerLinks, team };

0 comments on commit 7beea25

Please sign in to comment.