diff --git a/apps/app/components/command-palette/shortcuts-modal.tsx b/apps/app/components/command-palette/shortcuts-modal.tsx index 205749b83..8f946f5ea 100644 --- a/apps/app/components/command-palette/shortcuts-modal.tsx +++ b/apps/app/components/command-palette/shortcuts-modal.tsx @@ -4,7 +4,7 @@ import { Dialog, Transition } from "@headlessui/react"; // icons import { XMarkIcon } from "@heroicons/react/20/solid"; import { MagnifyingGlassIcon } from "@heroicons/react/24/outline"; -import { MacCommandIcon } from "components/icons"; +import { CommandIcon } from "components/icons"; // ui import { Input } from "components/ui"; @@ -130,12 +130,16 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { {shortcut.keys.split(",").map((key, index) => ( {key === "Ctrl" ? ( - - + + + ) : key === "Ctrl" ? ( + + + ) : ( - - {key === "Ctrl" ? : key} + + {key} )} @@ -169,12 +173,16 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { {keys.split(",").map((key, index) => ( {key === "Ctrl" ? ( - - + + + ) : key === "Ctrl" ? ( + + + ) : ( - {key === "Ctrl" ? : key} + {key} )} diff --git a/apps/app/components/icons/command-icon.tsx b/apps/app/components/icons/command-icon.tsx new file mode 100644 index 000000000..5b3121f98 --- /dev/null +++ b/apps/app/components/icons/command-icon.tsx @@ -0,0 +1,21 @@ +import React from "react"; + +import type { Props } from "./types"; + +export const CommandIcon: React.FC = ({ + width = "81", + height = "80", + color = "#858E96", + className, +}) => ( + + + +); diff --git a/apps/app/components/icons/index.ts b/apps/app/components/icons/index.ts index 0c2f045b6..7722c4948 100644 --- a/apps/app/components/icons/index.ts +++ b/apps/app/components/icons/index.ts @@ -43,7 +43,7 @@ export * from "./user-icon"; export * from "./grid-view-icons"; export * from "./assignment-clipboard-icon"; export * from "./tick-mark-icon"; -export * from "./target-icon" +export * from "./target-icon"; export * from "./contrast-icon"; export * from "./people-group-icon"; export * from "./cmd-icon"; @@ -72,4 +72,5 @@ export * from "./svg-file-icon"; export * from "./txt-file-icon"; export * from "./default-file-icon"; export * from "./video-file-icon"; -export * from "./audio-file-icon"; \ No newline at end of file +export * from "./audio-file-icon"; +export * from "./command-icon";