From e996776781b8ecb49ca2d49cc3e4d5dbaa4264fc Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Mon, 8 Sep 2025 23:05:18 +0200 Subject: [PATCH] Refactor GitHubStarsButton to wrap in Link component for external navigation --- .../components/buttons/github-stars.tsx | 54 +++++++++++-------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/frontend/src/components/animate-ui/components/buttons/github-stars.tsx b/frontend/src/components/animate-ui/components/buttons/github-stars.tsx index c32574c4b..b22d55176 100644 --- a/frontend/src/components/animate-ui/components/buttons/github-stars.tsx +++ b/frontend/src/components/animate-ui/components/buttons/github-stars.tsx @@ -2,6 +2,7 @@ import type { VariantProps } from "class-variance-authority"; import { cva } from "class-variance-authority"; import { StarIcon } from "lucide-react"; +import Link from "next/link"; import type { ButtonProps as ButtonPrimitiveProps } from "@/components/animate-ui/primitives/buttons/button"; import type { GithubStarsProps } from "@/components/animate-ui/primitives/animate/github-stars"; @@ -71,30 +72,37 @@ function GitHubStarsButton({ ...props }: GitHubStarsButtonProps) { return ( - - - - - - - - - + + + + + + + + + + ); }