Update Preos

This commit is contained in:
root
2025-10-15 18:55:45 +00:00
parent f8209c3712
commit 4dd2ba9d9d
6 changed files with 496 additions and 80 deletions
+34 -43
View File
@@ -1,12 +1,9 @@
import {
HomeIcon,
UserCircleIcon,
TableCellsIcon,
InformationCircleIcon,
ServerStackIcon,
RectangleStackIcon,
Square3Stack3DIcon,
WrenchScrewdriverIcon,
ListBulletIcon
} from "@heroicons/react/24/solid";
import { Home, Profile, Tables, Notifications } from "@/pages/dashboard";
import { Stacks, Maintenance, Logs } from "@/pages/dashboard";
import { SignIn, SignUp } from "@/pages/auth";
const icon = {
@@ -18,49 +15,43 @@ export const routes = [
layout: "dashboard",
pages: [
{
icon: <HomeIcon {...icon} />,
name: "dashboard",
path: "/home",
element: <Home />,
icon: <Square3Stack3DIcon {...icon} />,
name: "stacks",
path: "/stacks",
element: <Stacks />,
},
{
icon: <UserCircleIcon {...icon} />,
name: "profile",
path: "/profile",
element: <Profile />,
icon: <WrenchScrewdriverIcon {...icon} />,
name: "maintenance",
path: "/maintenance",
element: <Maintenance />,
},
{
icon: <TableCellsIcon {...icon} />,
name: "tables",
path: "/tables",
element: <Tables />,
},
{
icon: <InformationCircleIcon {...icon} />,
name: "notifications",
path: "/notifications",
element: <Notifications />,
},
],
},
{
title: "auth pages",
layout: "auth",
pages: [
{
icon: <ServerStackIcon {...icon} />,
name: "sign in",
path: "/sign-in",
element: <SignIn />,
},
{
icon: <RectangleStackIcon {...icon} />,
name: "sign up",
path: "/sign-up",
element: <SignUp />,
icon: <ListBulletIcon {...icon} />,
name: "logs",
path: "/logs",
element: <Logs />,
},
],
},
// {
// title: "auth pages",
// layout: "auth",
// pages: [
// {
// icon: <ServerStackIcon {...icon} />,
// name: "sign in",
// path: "/sign-in",
// element: <SignIn />,
// },
// {
// icon: <RectangleStackIcon {...icon} />,
// name: "sign up",
// path: "/sign-up",
// element: <SignUp />,
// },
// ],
// },
];
export default routes;