Coba Terus
This commit is contained in:
@@ -115,7 +115,7 @@ const Navbar = () => {
|
||||
<BarChart className="h-4 w-4" />
|
||||
Dashboard
|
||||
</Link>
|
||||
<DropdownMenu>
|
||||
{/* <DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" className="flex items-center gap-2 px-3 py-2 text-sm font-medium">
|
||||
<BarChart className="h-4 w-4" />
|
||||
@@ -161,7 +161,7 @@ const Navbar = () => {
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
</DropdownMenu> */}
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -267,8 +267,12 @@ const MobileNavContent = ({ user, onLogout }: MobileNavContentProps) => {
|
||||
{user ? (
|
||||
<div className="space-y-2">
|
||||
<h3 className="text-sm font-semibold text-muted-foreground">Menu Utama</h3>
|
||||
<Link href="/dashboard" className="flex items-center gap-2 px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground rounded-md transition-colors">
|
||||
<BarChart className="h-4 w-4" />
|
||||
Dashboard
|
||||
</Link>
|
||||
|
||||
<div className="space-y-1">
|
||||
{/* <div className="space-y-1">
|
||||
<h4 className="text-xs font-medium text-muted-foreground px-3">Visualisasi</h4>
|
||||
<Link href="/visualisasi/mahasiswa" className="flex items-center gap-2 px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground rounded-md transition-colors">
|
||||
<GraduationCap className="h-4 w-4" />
|
||||
@@ -290,7 +294,7 @@ const MobileNavContent = ({ user, onLogout }: MobileNavContentProps) => {
|
||||
<Award className="h-4 w-4" />
|
||||
Prestasi
|
||||
</Link>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{/* Kelola Data - Only for Admin */}
|
||||
{user.role_user === 'admin' && (
|
||||
|
||||
Reference in New Issue
Block a user