@@ -6,6 +6,7 @@ import { Button } from "./ui/button";
66import AgenticDevStudioLogo from "./agenticdev-studio-logo" ;
77import { getGithubStars } from "@/utils/stats" ;
88import { Suspense } from "react" ;
9+ import { StarIcon } from "@heroicons/react/24/solid" ;
910
1011export function Footer ( ) {
1112 return (
@@ -110,16 +111,23 @@ async function GithubButton() {
110111 const starsCount = await getGithubStars ( ) ;
111112
112113 return (
113- < Button variant = "outline" size = "sm " className = "w-full md:w-auto h-9 " asChild >
114+ < Button variant = "outline" size = "lg " className = "w-full" asChild >
114115 < a
115116 href = { GITHUB_REPO_URL ! }
116117 target = "_blank"
117118 rel = "noopener noreferrer"
118119 className = "flex items-center justify-center space-x-2"
119120 >
120- < GithubIcon className = "h-4 w-4" />
121- < span className = "whitespace-nowrap" >
122- { starsCount ? `Fork on Github (${ starsCount } Stars)` : "Fork on Github" }
121+ < GithubIcon className = "h-6! w-6!" />
122+ < span className = "whitespace-nowrap inline-flex items-center justify-center" >
123+ { starsCount ? (
124+ < >
125+ < span > Fork on Github - < span className = "text-yellow-500 font-bold text-[20px]" > { starsCount } </ span > </ span >
126+ < StarIcon className = "ml-1 text-yellow-500 h-[24px]! w-[24px]!" />
127+ </ >
128+ ) : (
129+ "Fork on Github"
130+ ) }
123131 </ span >
124132 </ a >
125133 </ Button >
@@ -137,7 +145,7 @@ function GithubButtonFallback() {
137145 className = "flex items-center justify-center space-x-2"
138146 >
139147 < GithubIcon className = "h-4 w-4" />
140- < span className = "whitespace-nowrap" > Fork on Github</ span >
148+ < span className = "whitespace-nowrap inline-flex items-center gap-1 " > Fork on Github</ span >
141149 </ a >
142150 </ Button >
143151 ) ;
0 commit comments