Update Preos
This commit is contained in:
+34
-43
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user