diff --git a/apps/dashboard/app/(app)/desktop-sidebar.tsx b/apps/dashboard/app/(app)/desktop-sidebar.tsx
index 3e9d4af26f..900ff8dcdc 100644
--- a/apps/dashboard/app/(app)/desktop-sidebar.tsx
+++ b/apps/dashboard/app/(app)/desktop-sidebar.tsx
@@ -1,13 +1,14 @@
"use client";
+import { Feedback } from "@/components/dashboard/feedback-component";
import { Badge } from "@/components/ui/badge";
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
import type { Workspace } from "@/lib/db";
import { cn } from "@/lib/utils";
import {
+ BookOpen,
Cable,
Crown,
DatabaseZap,
- ExternalLink,
Fingerprint,
Gauge,
List,
@@ -16,7 +17,6 @@ import {
MonitorDot,
Settings2,
ShieldCheck,
- User,
} from "lucide-react";
import Link from "next/link";
import { useSelectedLayoutSegments } from "next/navigation";
@@ -38,7 +38,7 @@ type Props = {
type NavItem = {
disabled?: boolean;
tooltip?: string;
- icon: LucideIcon;
+ icon: LucideIcon | React.ElementType;
href: string;
external?: boolean;
label: string;
@@ -47,6 +47,23 @@ type NavItem = {
hidden?: boolean;
};
+const DiscordIcon = () => (
+
+);
+
const Tag: React.FC<{ label: string; className?: string }> = ({ label, className }) => (
= ({ workspace, className }) => {
].filter((n) => !n.hidden);
const resourcesNavigation: NavItem[] = [
{
- icon: ExternalLink,
+ icon: BookOpen,
href: "https://unkey.dev/docs",
external: true,
label: "Docs",
},
+ {
+ icon: DiscordIcon,
+ href: "https://www.unkey.com/discord",
+ external: true,
+ label: "Discord",
+ },
];
const firstOfNextMonth = new Date();
firstOfNextMonth.setUTCMonth(firstOfNextMonth.getUTCMonth() + 1);
firstOfNextMonth.setDate(1);
-
return (