From 4b8f868b2b82944ad4b04a1ace2fce51968cae36 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 4 Oct 2023 10:34:29 +0100 Subject: [PATCH] Add roadmaps and friends to account dropdown --- src/components/CommandMenu/CommandMenu.tsx | 16 ++++++++++++++++ .../Navigation/AccountDropdownList.tsx | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/src/components/CommandMenu/CommandMenu.tsx b/src/components/CommandMenu/CommandMenu.tsx index 7e5cc368e..2bd8ba3a6 100644 --- a/src/components/CommandMenu/CommandMenu.tsx +++ b/src/components/CommandMenu/CommandMenu.tsx @@ -40,6 +40,14 @@ const defaultPages: PageType[] = [ icon: GroupIcon.src, isProtected: true, }, + { + id: 'friends', + url: '/account/friends', + title: 'Friends', + group: 'Pages', + icon: GroupIcon.src, + isProtected: true, + }, { id: 'roadmaps', url: '/roadmaps', @@ -47,6 +55,14 @@ const defaultPages: PageType[] = [ group: 'Pages', icon: RoadmapIcon.src, }, + { + id: 'account-roadmaps', + url: '/account/roadmaps', + title: 'Custom Roadmaps', + group: 'Pages', + icon: RoadmapIcon.src, + isProtected: true, + }, { id: 'best-practices', url: '/best-practices', diff --git a/src/components/Navigation/AccountDropdownList.tsx b/src/components/Navigation/AccountDropdownList.tsx index 5cab08324..c2856f31b 100644 --- a/src/components/Navigation/AccountDropdownList.tsx +++ b/src/components/Navigation/AccountDropdownList.tsx @@ -26,6 +26,14 @@ export function AccountDropdownList(props: AccountDropdownListProps) { Friends +
  • + + Roadmaps + +