feat: dashboard

This commit is contained in:
2023-12-07 15:35:13 +00:00
parent 30907927d1
commit fedf674819
24 changed files with 307 additions and 93 deletions

View File

@ -26,6 +26,7 @@ import { IntlProvider } from "@/intl";
import { WidgetsPage } from "@/pages/widgets";
import { AlertsPage } from "@/pages/alerts";
import { StreamSummaryPage } from "@/pages/summary";
import DashboardPage from "./pages/dashboard";
export enum StreamState {
Live = "live",
@ -99,6 +100,10 @@ const router = createBrowserRouter([
path: "/summary/:id",
element: <StreamSummaryPage />,
},
{
path: "/dashboard",
element: <DashboardPage />,
},
{
path: "*",
element: <CatchAllRoutePage />,