diff --git a/public/models/robot.glb b/public/models/robot.glb new file mode 100644 index 00000000..2c3c9bb3 Binary files /dev/null and b/public/models/robot.glb differ diff --git a/public/svg/general/application/application-light.svg b/public/svg/general/application/application-light.svg new file mode 100644 index 00000000..c0780852 --- /dev/null +++ b/public/svg/general/application/application-light.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svg/general/robot/robot-light.svg b/public/svg/general/robot/robot-light.svg new file mode 100644 index 00000000..54a774f2 --- /dev/null +++ b/public/svg/general/robot/robot-light.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/CodeEditorSwitcher/CodeEditorSwitcher.tsx b/src/components/LayoutTabSwitcher/LayoutTabSwitcher.tsx similarity index 57% rename from src/components/CodeEditorSwitcher/CodeEditorSwitcher.tsx rename to src/components/LayoutTabSwitcher/LayoutTabSwitcher.tsx index 8f513f42..518dd424 100644 --- a/src/components/CodeEditorSwitcher/CodeEditorSwitcher.tsx +++ b/src/components/LayoutTabSwitcher/LayoutTabSwitcher.tsx @@ -1,29 +1,31 @@ -import { ReactElement } from "react"; +import { Dispatch, ReactElement, SetStateAction } from "react"; import Card from "../Card/Card"; -interface ICodeEditorSwitcher { - activeTabCodeEditor: number; - setActiveTabCodeEditor: any; +interface ILayoutTabSwitcher { + tabs: string[]; + activeTab: string; + setActiveTab: Dispatch>; } -export default function CodeEditorSwitcher({ - activeTabCodeEditor, - setActiveTabCodeEditor, -}: ICodeEditorSwitcher): ReactElement { +export default function LayoutTabSwitcher({ + tabs, + activeTab, + setActiveTab, +}: ILayoutTabSwitcher): ReactElement { return (