Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions my-app/app/admin/admin-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
SidebarMenuItem,
SidebarFooter,
} from "@/components/ui/sidebar"
import { Camera, Copy, CopyPlusIcon, Edit, LayoutDashboard, Rocket, Server, User } from "lucide-react"
import { Copy, CopyPlusIcon, Edit, LayoutDashboard, Rocket, Server, User } from "lucide-react"
import { IconUsersGroup } from "@tabler/icons-react"

const data = {
Expand Down Expand Up @@ -97,24 +97,18 @@ const data = {
title: "Guides",
url: "#",
items: [
{
title: "Users",
url: "/admin/guides/users",
isActive: false,
icon: User
},
{
title: "Templates",
url: "/admin/guides/templates",
isActive: false,
icon: CopyPlusIcon
icon: Copy
},
{
title: "Snapshots",
url: "/admin/guides/snapshots",
title: "Users & Groups",
url: "/admin/guides/users",
isActive: false,
icon: Camera
}
icon: User
},
],
}
],
Expand All @@ -128,7 +122,7 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
<SidebarHeader>
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton size="lg" className="mb-4" asChild>
<SidebarMenuButton size="lg" className="h-15 pb-3 mb-3" asChild>
<a href="/admin/dashboard">
<Image src="/kaminoLogo.svg" alt="Logo" width={40} height={40} className="size-10" />
<div className="grid flex-1 text-left text-sm leading-tight">
Expand Down
Loading