Fix: admin
Deskripsi: - Fix tampilan navbar
This commit is contained in:
308
src/app_modules/admin/new_list_page.tsx
Normal file
308
src/app_modules/admin/new_list_page.tsx
Normal file
@@ -0,0 +1,308 @@
|
||||
import { RouterAdminColab } from "@/app/lib/router_admin/router_admin_colab";
|
||||
import { RouterAdminDeveloper } from "@/app/lib/router_admin/router_admin_developer";
|
||||
import { RouterAdminDonasi } from "@/app/lib/router_admin/router_admin_donasi";
|
||||
import { RouterAdminEvent } from "@/app/lib/router_admin/router_admin_event";
|
||||
import { RouterAdminForum } from "@/app/lib/router_admin/router_admin_forum";
|
||||
import { RouterAdminInvestasi } from "@/app/lib/router_admin/router_admin_investasi";
|
||||
import { RouterAdminJob } from "@/app/lib/router_admin/router_admin_job";
|
||||
import { RouterAdminMap } from "@/app/lib/router_admin/router_admin_map";
|
||||
import { RouterAdminVote } from "@/app/lib/router_admin/router_admin_vote";
|
||||
import { RouterAdminUserAccess } from "@/app/lib/router_admin/router_admn_user_acces";
|
||||
import { RouterAdminAppInformation } from "@/app/lib/router_admin/router_app_information";
|
||||
import { RouterAdminDashboard } from "@/app/lib/router_hipmi/router_admin";
|
||||
import {
|
||||
IconAffiliate,
|
||||
IconBriefcase,
|
||||
IconDashboard,
|
||||
IconDeviceMobile,
|
||||
IconHeartHandshake,
|
||||
IconHome,
|
||||
IconMap2,
|
||||
IconMessages,
|
||||
IconMoneybag,
|
||||
IconPackageImport,
|
||||
IconPresentation,
|
||||
IconUserCog,
|
||||
} from "@tabler/icons-react";
|
||||
|
||||
export const newListAdminPage = [
|
||||
// Main Dashboard
|
||||
{
|
||||
id: "Main",
|
||||
name: "Main Dashboard",
|
||||
path: RouterAdminDashboard.main_admin,
|
||||
icon: <IconHome />,
|
||||
child: [],
|
||||
},
|
||||
|
||||
// Investasi
|
||||
{
|
||||
id: "Investasi",
|
||||
name: "Investasi",
|
||||
path: "",
|
||||
icon: <IconMoneybag />,
|
||||
child: [
|
||||
{
|
||||
id: "Investasi_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminInvestasi.main,
|
||||
},
|
||||
{
|
||||
id: "Investasi_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminInvestasi.table_publish,
|
||||
},
|
||||
{
|
||||
id: "Investasi_3",
|
||||
name: "Table Review",
|
||||
path: RouterAdminInvestasi.table_review,
|
||||
},
|
||||
{
|
||||
id: "Investasi_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminInvestasi.table_reject,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
//Donasi
|
||||
{
|
||||
id: "Donaasi",
|
||||
name: "Donasi",
|
||||
path: "",
|
||||
icon: <IconHeartHandshake />,
|
||||
child: [
|
||||
{
|
||||
id: "Donaasi_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminDonasi.main,
|
||||
},
|
||||
{
|
||||
id: "Donaasi_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminDonasi.table_publish,
|
||||
},
|
||||
{
|
||||
id: "Donaasi_3",
|
||||
name: "Table Review",
|
||||
path: RouterAdminDonasi.table_review,
|
||||
},
|
||||
{
|
||||
id: "Donaasi_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminDonasi.table_reject,
|
||||
},
|
||||
{
|
||||
id: "Donaasi_5",
|
||||
name: "Table Kategori",
|
||||
path: RouterAdminDonasi.table_kategori,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// Event
|
||||
{
|
||||
id: "Event",
|
||||
name: "Event",
|
||||
path: "",
|
||||
icon: <IconPresentation />,
|
||||
child: [
|
||||
{
|
||||
id: "Event_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminEvent.main_event,
|
||||
},
|
||||
{
|
||||
id: "Event_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminEvent.table_publish,
|
||||
},
|
||||
{
|
||||
id: "Event_3",
|
||||
name: "Table Review",
|
||||
path: RouterAdminEvent.table_review,
|
||||
},
|
||||
{
|
||||
id: "Event_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminEvent.table_reject,
|
||||
},
|
||||
{
|
||||
id: "Event_5",
|
||||
name: "Tipe Acara",
|
||||
path: RouterAdminEvent.detail_tipe_acara,
|
||||
},
|
||||
{
|
||||
id: "Event_6",
|
||||
name: "Riwayat",
|
||||
path: RouterAdminEvent.detail_riwayat,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// Voting
|
||||
{
|
||||
id: "Voting",
|
||||
name: "Voting",
|
||||
path: "",
|
||||
icon: <IconPackageImport />,
|
||||
child: [
|
||||
{
|
||||
id: "Voting_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminVote.main,
|
||||
},
|
||||
{
|
||||
id: "Voting_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminVote.table_publish,
|
||||
},
|
||||
{
|
||||
id: "Voting_3",
|
||||
name: "Table Review",
|
||||
path: RouterAdminVote.table_review,
|
||||
},
|
||||
{
|
||||
id: "Voting_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminVote.table_reject,
|
||||
},
|
||||
{
|
||||
id: "Voting_5",
|
||||
name: "Riwayat",
|
||||
path: RouterAdminVote.riwayat,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// Job Vacancy
|
||||
{
|
||||
id: "Job",
|
||||
name: "Job Vacancy",
|
||||
path: "",
|
||||
icon: <IconBriefcase />,
|
||||
child: [
|
||||
{
|
||||
id: "Job_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminJob.main,
|
||||
},
|
||||
{
|
||||
id: "Job_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminJob.publish,
|
||||
},
|
||||
{
|
||||
id: "Job_3",
|
||||
name: "Table Review",
|
||||
path: RouterAdminJob.review,
|
||||
},
|
||||
{
|
||||
id: "Job_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminJob.reject,
|
||||
},
|
||||
// {
|
||||
// id: 65,
|
||||
// name: "Arsip",
|
||||
// path: RouterAdminJob.arsip,
|
||||
// },
|
||||
],
|
||||
},
|
||||
|
||||
// Forum
|
||||
{
|
||||
id: "Forum",
|
||||
name: "Forum",
|
||||
path: "",
|
||||
icon: <IconMessages />,
|
||||
child: [
|
||||
{
|
||||
id: "Forum_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminForum.main,
|
||||
},
|
||||
{
|
||||
id: "Forum_2",
|
||||
name: "Table Posting",
|
||||
path: RouterAdminForum.table_posting,
|
||||
},
|
||||
{
|
||||
id: "Forum_3",
|
||||
name: "Report Posting",
|
||||
path: RouterAdminForum.table_report_posting,
|
||||
},
|
||||
{
|
||||
id: "Forum_4",
|
||||
name: "Report Komentar",
|
||||
path: RouterAdminForum.table_report_komentar,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// Project Collaboration
|
||||
{
|
||||
id: "Collaboration",
|
||||
name: "Collaboration",
|
||||
path: "",
|
||||
icon: <IconAffiliate />,
|
||||
child: [
|
||||
{
|
||||
id: "Collaboration_1",
|
||||
name: "Dashboard",
|
||||
path: RouterAdminColab.dashboard,
|
||||
},
|
||||
{
|
||||
id: "Collaboration_2",
|
||||
name: "Table Publish",
|
||||
path: RouterAdminColab.table_publish,
|
||||
},
|
||||
{
|
||||
id: "Collaboration_3",
|
||||
name: "Table Group",
|
||||
path: RouterAdminColab.table_group,
|
||||
},
|
||||
{
|
||||
id: "Collaboration_4",
|
||||
name: "Table Reject",
|
||||
path: RouterAdminColab.table_reject,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// Maps
|
||||
{
|
||||
id: "Maps",
|
||||
name: "Maps",
|
||||
path: RouterAdminMap.main,
|
||||
icon: <IconMap2 />,
|
||||
child: [],
|
||||
},
|
||||
|
||||
// App Information
|
||||
{
|
||||
id: "App Information",
|
||||
name: "App Information",
|
||||
path: RouterAdminAppInformation.main,
|
||||
icon: <IconDeviceMobile />,
|
||||
child: [],
|
||||
},
|
||||
|
||||
// User Access
|
||||
{
|
||||
id: "User Access",
|
||||
name: "User Access",
|
||||
path: RouterAdminUserAccess.main,
|
||||
icon: <IconUserCog />,
|
||||
child: [],
|
||||
},
|
||||
|
||||
// Developer
|
||||
{
|
||||
id: "Developer",
|
||||
name: "Developer",
|
||||
path: RouterAdminDeveloper.main,
|
||||
icon: <IconDashboard />,
|
||||
child: [],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user