diff --git a/apps/dokploy/components/layouts/side.tsx b/apps/dokploy/components/layouts/side.tsx index 9f412b8e..fe820c2b 100644 --- a/apps/dokploy/components/layouts/side.tsx +++ b/apps/dokploy/components/layouts/side.tsx @@ -17,7 +17,7 @@ import { Forward, GalleryVerticalEnd, GitBranch, - Heart, + HeartIcon, KeyRound, type LucideIcon, Package, @@ -87,7 +87,7 @@ interface NavItem { interface ExternalLink { name: string; url: string; - icon: LucideIcon; + icon: React.ComponentType<{ className?: string }>; } const data = { @@ -212,17 +212,6 @@ const data = { // url: "/dashboard/settings/notifications", // }, // ], - // }, - // { - // title: "Appearance", - // icon: Frame, - // items: [ - // { - // title: "Theme", - // url: "/dashboard/settings/appearance", - // }, - // ], - // }, ] as NavItem[], settings: [ { @@ -312,13 +301,8 @@ const data = { isActive: false, }, - // { - // title: "Appearance", - // url: "/dashboard/settings/appearance", - // icon: Frame, - // }, ] as NavItem[], - projects: [ + help: [ { name: "Documentation", url: "https://docs.dokploy.com/docs/core", @@ -332,19 +316,10 @@ const data = { { name: "Sponsor", url: "https://opencollective.com/dokploy", - icon: Heart, + icon: ({ className }) => ( + + ), }, - - // { - // name: "Sales & Marketing", - // url: "#", - // icon: PieChart, - // }, - // { - // name: "Travel", - // url: "#", - // icon: Map, - // }, ] as ExternalLink[], }; @@ -652,13 +627,20 @@ export default function Page({ children }: Props) { Extra - {data.projects.map((item) => ( + {data.help.map((item: ExternalLink) => ( - - + + + + {item.name} - + ))}