mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-05 05:00:06 +00:00
implement setting page (#12)
This commit is contained in:
15
src/main.tsx
15
src/main.tsx
@@ -24,6 +24,9 @@ import { NotificationProvider } from './hooks/useNotfication';
|
||||
import CronPage from './routes/cron';
|
||||
import NotificationPage from './routes/notification';
|
||||
import AlertRulePage from './routes/alert-rule';
|
||||
import SettingsPage from './routes/settings';
|
||||
import UserPage from './routes/user';
|
||||
import WAFPage from './routes/waf';
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@@ -87,6 +90,18 @@ const router = createBrowserRouter([
|
||||
path: "/dashboard/terminal/:id",
|
||||
element: <TerminalPage />,
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings",
|
||||
element: <SettingsPage />,
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings/user",
|
||||
element: <UserPage />,
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings/waf",
|
||||
element: <WAFPage />,
|
||||
},
|
||||
]
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user