diff --git a/front/src/modules/command-menu/components/CommandMenu.tsx b/front/src/modules/command-menu/components/CommandMenu.tsx index 7996d1a48..7d83e6c45 100644 --- a/front/src/modules/command-menu/components/CommandMenu.tsx +++ b/front/src/modules/command-menu/components/CommandMenu.tsx @@ -150,6 +150,7 @@ export const CommandMenu = () => { to={cmd.to} key={cmd.label} label={cmd.label} + Icon={cmd.Icon} onClick={cmd.onCommandClick} shortcuts={cmd.shortcuts || []} /> diff --git a/front/src/modules/command-menu/constants/commandMenuCommands.ts b/front/src/modules/command-menu/constants/commandMenuCommands.ts index d76322d96..e0aba653f 100644 --- a/front/src/modules/command-menu/constants/commandMenuCommands.ts +++ b/front/src/modules/command-menu/constants/commandMenuCommands.ts @@ -1,3 +1,11 @@ +import { + IconBuildingSkyscraper, + IconCheckbox, + IconSettings, + IconTargetArrow, + IconUser, +} from '@/ui/display/icon'; + import { Command, CommandType } from '../types/Command'; export const commandMenuCommands: Command[] = [ @@ -6,29 +14,34 @@ export const commandMenuCommands: Command[] = [ label: 'Go to People', type: CommandType.Navigate, shortcuts: ['G', 'P'], + Icon: IconUser, }, { to: '/companies', label: 'Go to Companies', type: CommandType.Navigate, shortcuts: ['G', 'C'], + Icon: IconBuildingSkyscraper, }, { to: '/opportunities', label: 'Go to Opportunities', type: CommandType.Navigate, shortcuts: ['G', 'O'], + Icon: IconTargetArrow, }, { to: '/settings/profile', label: 'Go to Settings', type: CommandType.Navigate, shortcuts: ['G', 'S'], + Icon: IconSettings, }, { to: '/tasks', label: 'Go to Tasks', type: CommandType.Navigate, shortcuts: ['G', 'T'], + Icon: IconCheckbox, }, ];