From 9f0585e3bb11c64d34147cea34f6985390297f07 Mon Sep 17 00:00:00 2001 From: Felipe Coutinho Date: Tue, 20 Jan 2026 15:20:49 +0000 Subject: [PATCH] feat(header): adiciona link para changelog no dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Cria componente ChangelogLink com tooltip - Adiciona link para /changelog ao lado do feedback - Segue o padrĂ£o dos componentes existentes --- components/changelog/changelog-link.tsx | 34 +++++++++++++++++++++++++ components/header-dashboard.tsx | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 components/changelog/changelog-link.tsx diff --git a/components/changelog/changelog-link.tsx b/components/changelog/changelog-link.tsx new file mode 100644 index 0000000..ba2735b --- /dev/null +++ b/components/changelog/changelog-link.tsx @@ -0,0 +1,34 @@ +"use client"; + +import { buttonVariants } from "@/components/ui/button"; +import { + Tooltip, + TooltipContent, + TooltipTrigger, +} from "@/components/ui/tooltip"; +import { cn } from "@/lib/utils"; +import { RiGitCommitLine } from "@remixicon/react"; +import Link from "next/link"; + +export function ChangelogLink() { + return ( + + + + + Changelog + + + + Changelog + + + ); +} diff --git a/components/header-dashboard.tsx b/components/header-dashboard.tsx index 4b2795e..1a5584c 100644 --- a/components/header-dashboard.tsx +++ b/components/header-dashboard.tsx @@ -1,3 +1,4 @@ +import { ChangelogLink } from "@/components/changelog/changelog-link"; import { FeedbackDialog } from "@/components/feedback/feedback-dialog"; import { NotificationBell } from "@/components/notificacoes/notification-bell"; import { SidebarTrigger } from "@/components/ui/sidebar"; @@ -28,6 +29,7 @@ export async function SiteHeader({ notificationsSnapshot }: SiteHeaderProps) { | +