Skip to content

Commit

Permalink
add potential extra items
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Aug 19, 2024
1 parent 325ec7f commit f0cb65e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions website/src/routes/extraTopNavigationItems.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const extraTopNavigationItems = [
];
3 changes: 2 additions & 1 deletion website/src/routes/navigationItems.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { bottomNavigationItems } from './bottomNavigationItems.ts';
import { extraTopNavigationItems } from './extraTopNavigationItems.js';
import { routes } from './routes.ts';

export const navigationItems = {
Expand Down Expand Up @@ -39,5 +40,5 @@ function topNavigationItems(organism: string | undefined, isLoggedIn: boolean, l
const commonItems = getCommonItems(organism);
const accountItem = getAccountItem(isLoggedIn, loginUrl, organism);

return [...commonItems, accountItem];
return [...commonItems, ...extraTopNavigationItems, accountItem];
}

0 comments on commit f0cb65e

Please sign in to comment.