diff --git a/src/App.tsx b/src/App.tsx index 978ad998..8757151e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -22,6 +22,7 @@ import GitPanelRouterAdapter from '@/components/git-panel/view/GitPanelRouterAda import { TaskMasterPanel } from '@/components/task-master/index.js'; import PluginContentRouterAdapter from '@/components/plugins/view/PluginContentRouterAdapter.js'; import ChatInterface from '@/components/refactored/chat/view/ChatInterface.js'; +import ChooseWorkspaceView from '@/components/refactored/shared/view/ChooseWorkspaceView.js'; const isValidRouteTab = (value: string | undefined): boolean => { if (!value) { @@ -116,7 +117,7 @@ const router = createBrowserRouter( path: '/', element: , children: [ - { index: true, element: }, // TODO: Show empty state component loader here. + { index: true, element: }, // TODO: Show empty state component loader here. { path: 'workspaces/:workspaceId', element: , diff --git a/src/components/refactored/shared/view/ChooseWorkspaceView.tsx b/src/components/refactored/shared/view/ChooseWorkspaceView.tsx new file mode 100644 index 00000000..b0c7e1ca --- /dev/null +++ b/src/components/refactored/shared/view/ChooseWorkspaceView.tsx @@ -0,0 +1,24 @@ +import { t } from "i18next"; +import { Folder } from "lucide-react"; +import { useDeviceSettings } from "@/hooks/useDeviceSettings.js"; + +export default function ChooseProjectView() { + const { isMobile } = useDeviceSettings(); + + return ( +
+
+
+ +
+

{t('mainContent.chooseProject')}

+

{t('mainContent.selectProjectDescription')}

+
+

+ {t('mainContent.tip')}: {isMobile ? t('mainContent.createProjectMobile') : t('mainContent.createProjectDesktop')} +

+
+
+
+ ) +} \ No newline at end of file