Compare commits

..

No commits in common. "5901f8e6496fbb09b92b68c04dcad120709f5161" and "5ae30e58046ee413d80c78c70a79f620293f5750" have entirely different histories.

View File

@ -3,7 +3,8 @@ import type { Icon } from '@tabler/icons-react';
import { import {
IconGridDots, IconGridDots,
IconHelp, IconHelp,
IconMessageDots IconMessageDots,
IconUsers,
} from '@tabler/icons-react'; } from '@tabler/icons-react';
import { import {
BookOpen, BookOpen,
@ -29,8 +30,8 @@ import {
import * as React from 'react'; import * as React from 'react';
import AppLogoIcon from '@/components/app-logo-icon'; import AppLogoIcon from '@/components/app-logo-icon';
import type { NavGroup, NavItem } from '@/components/nav-main';
import { NavMain } from '@/components/nav-main'; import { NavMain } from '@/components/nav-main';
import type { NavGroup, NavItem } from '@/components/nav-main';
import { NavSecondary } from '@/components/nav-secondary'; import { NavSecondary } from '@/components/nav-secondary';
import { import {
Sidebar, Sidebar,
@ -71,26 +72,6 @@ const data: {
url: '#', url: '#',
icon: IconGridDots, icon: IconGridDots,
}, },
{
label: 'Pengguna',
items: [
{
name: 'Administrator',
url: administratorsRoute.url(),
icon: User,
},
{
name: 'Dosen',
url: lecturersRoute.url(),
icon: Users,
},
{
name: 'Mahasiswa',
url: studentsRoute.url(),
icon: GraduationCap,
},
],
},
{ {
label: 'Master', label: 'Master',
items: [ items: [
@ -106,6 +87,21 @@ const data: {
}, },
], ],
}, },
{
label: 'Kelola',
items: [
{
name: 'Mata Kuliah',
url: coursesRoute.url(),
icon: BookOpen,
},
{
name: 'Kelas Mata Kuliah',
url: courseClassesRoute.url(),
icon: School,
},
],
},
{ {
label: 'Kelas', label: 'Kelas',
items: [ items: [
@ -137,17 +133,12 @@ const data: {
], ],
}, },
{ {
label: 'Kelola', label: 'Keuangan',
items: [ items: [
{ {
name: 'Mata Kuliah', name: 'Tagihan',
url: coursesRoute.url(), url: tuitionInvoicesRoute.url(),
icon: BookOpen, icon: Receipt,
},
{
name: 'Kelas Mata Kuliah',
url: courseClassesRoute.url(),
icon: School,
}, },
], ],
}, },
@ -161,16 +152,6 @@ const data: {
}, },
], ],
}, },
{
label: 'Keuangan',
items: [
{
name: 'Tagihan',
url: tuitionInvoicesRoute.url(),
icon: Receipt,
},
],
},
{ {
label: 'Layanan', label: 'Layanan',
items: [ items: [
@ -186,6 +167,26 @@ const data: {
}, },
], ],
}, },
{
label: 'Pengguna',
items: [
{
name: 'Administrator',
url: administratorsRoute.url(),
icon: User,
},
{
name: 'Dosen',
url: lecturersRoute.url(),
icon: Users,
},
{
name: 'Mahasiswa',
url: studentsRoute.url(),
icon: GraduationCap,
},
],
},
{ {
label: 'Pengaturan', label: 'Pengaturan',
items: [ items: [