From 5ceb6b02a7024275171abbad5db9c7720010ca76 Mon Sep 17 00:00:00 2001 From: adibarra <93070681+adibarra@users.noreply.github.com> Date: Fri, 20 Mar 2026 01:05:01 -0500 Subject: [PATCH 1/2] consolidate footer star and share into one section --- .../src/components/footer/footer-star-cta.tsx | 24 +++++++++---------- packages/app/src/components/footer/footer.tsx | 19 ++++++++------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/packages/app/src/components/footer/footer-star-cta.tsx b/packages/app/src/components/footer/footer-star-cta.tsx index 797a39c..f0b954b 100644 --- a/packages/app/src/components/footer/footer-star-cta.tsx +++ b/packages/app/src/components/footer/footer-star-cta.tsx @@ -1,5 +1,6 @@ 'use client'; +import { Button } from '@/components/ui/button'; import { track } from '@/lib/analytics'; import { Star } from 'lucide-react'; import Link from 'next/link'; @@ -8,33 +9,30 @@ import { useGitHubStars } from '@/hooks/api/use-github-stars'; const GITHUB_REPO_URL = 'https://github.com/SemiAnalysisAI/InferenceX'; -export function FooterStarCta() { +export function FooterStarButton() { const { data } = useGitHubStars(); const stars = data?.stars ?? null; return ( -
- InferenceX is open source. If this data helps your work, a star on GitHub goes a long way. -
track('footer_star_cta_clicked', { stars: stars ?? 0 })} > -Share InferenceX with your network
-+ InferenceX is open source. If this data helps your work, star us or share with your + network. +
+