diff --git a/client/html/index.html b/client/html/index.html index 5de3933a4..2c4729474 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -35,10 +35,16 @@ loadAdvancedAlgosPlatform(); } } + function onResize(){ + if (window.canvasApp === undefined) {return} + if (window.canvasApp.eventHandler === undefined) {return} + window.canvasApp.eventHandler.raiseEvent('Browser Resized') + } + -
+ diff --git a/client/src/views/layout/header/imports.js b/client/src/views/layout/header/imports.js index 62d89141f..b85b380f1 100644 --- a/client/src/views/layout/header/imports.js +++ b/client/src/views/layout/header/imports.js @@ -20,9 +20,9 @@ const usersMenus = { to: '/users', icon: Home, submenus: [ - { title: 'Your Profile', to: '/users/user', icon: People, authenticated: true }, { title: 'Directory', to: '/users/browse', icon: ImportContacts }, { title: 'Search', to: '/users/search', icon: Search }, + { title: 'Your Profile', to: '/users/user', icon: People, authenticated: true }, { title: 'Report a Bug', to: 'https://github.com/AdvancedAlgos/UsersModule/issues/new', icon: BugReport, externalLink: true } ] } @@ -32,7 +32,7 @@ const teamsMenus = { to: '/teams', icon: Home, submenus: [ - { title: 'Explore teams', to: '/teams/explore', icon: Search }, + { title: 'Directory', to: '/teams/explore', icon: ImportContacts }, { title: 'Your teams', to: '/teams/manage-teams', icon: Group, authenticated: true }, { title: 'Team members', to: '/teams/team-members', icon: People, authenticated: true }, { title: 'Report a Bug', to: 'https://github.com/AdvancedAlgos/TeamsModule/issues/new', icon: BugReport, externalLink: true } @@ -44,7 +44,7 @@ const eventsMenus = { to: '/events', icon: Home, submenus: [ - { title: 'All events', to: '/events', icon: Search }, + { title: 'Directory', to: '/events', icon: ImportContacts }, { title: 'Your events', to: '/events/my', icon: GamepadRounded, authenticated: true }, { title: 'Your hosted events', to: '/events/host', icon: AccessibilityNew, authenticated: true }, { title: 'Host an event', to: '/events/create', icon: LibraryAdd, authenticated: true },