feat: add responsive react workbench

This commit is contained in:
gqt
2026-07-13 11:50:32 +08:00
parent 84e6f1f51a
commit 2c220a0b5f
27 changed files with 5834 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { Navigate, createBrowserRouter } from 'react-router-dom'
import { AppLayout } from './AppLayout'
import { PlaceholderPage } from './PlaceholderPage'
export const router = createBrowserRouter([
{
path: '/',
element: <AppLayout />,
children: [
{ index: true, element: <Navigate to="/chat" replace /> },
{ path: 'chat', element: <PlaceholderPage /> },
{ path: 'chat/:sessionId', element: <PlaceholderPage /> },
{ path: 'documents', element: <PlaceholderPage /> },
{ path: 'documents/:documentId', element: <PlaceholderPage /> },
],
},
])