diff --git a/src/router/index.js b/src/router/index.js index 2e72a67..dca2973 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -26,6 +26,10 @@ import ElTypography from "../layouts/sections/elements/typography/TypographyView import AdminLoginView from "../views/Auth/AdminLogin.vue"; import UserLoginView from "../views/Auth/UserLogin.vue"; + import AdminDashboardView from "../views/Admin/dashboard.vue"; + import AdminSettingsView from "../views/Admin/Settings.vue" + import AdminUsersView from "../views/Admin/Users.vue" + // import AdminView from "../views/LandingPages/Author/AuthorView.vue"; import { Role } from './constants'; import { useStore } from '@/stores' @@ -162,6 +166,11 @@ const router = createRouter({ component: AdminLoginView, name: "admin-login", }, + { + path: '/admin/dashboard', + component: AdminDashboardView, + name: "admin-dashboard", + }, // { // path: "/unauthorized", // name: "unauthorized", @@ -172,6 +181,16 @@ const router = createRouter({ name: "user-login", component: UserLoginView, }, + { + path: '/admin/users', + component: AdminUsersView, + name: "admin-users", + }, + { + path: '/admin/settings', + component: AdminSettingsView, + name: "admin-settings", + }, ], }); diff --git a/src/views/Admin/Settings.vue b/src/views/Admin/Settings.vue new file mode 100644 index 0000000..cfe3491 --- /dev/null +++ b/src/views/Admin/Settings.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/Admin/SideNavAdmin.vue b/src/views/Admin/SideNavAdmin.vue new file mode 100644 index 0000000..e647665 --- /dev/null +++ b/src/views/Admin/SideNavAdmin.vue @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/src/views/Admin/Users.vue b/src/views/Admin/Users.vue new file mode 100644 index 0000000..5702ac4 --- /dev/null +++ b/src/views/Admin/Users.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/views/Admin/dashboard.vue b/src/views/Admin/dashboard.vue new file mode 100644 index 0000000..3403ac4 --- /dev/null +++ b/src/views/Admin/dashboard.vue @@ -0,0 +1,16 @@ + + + \ No newline at end of file