import { t } from "@lingui/core/macro"; import { GithubLogoIcon, StarIcon } from "@phosphor-icons/react"; import { useQuery } from "@tanstack/react-query"; import { Button } from "@reactive-resume/ui/components/button"; import { orpc } from "@/libs/orpc/client"; import { CountUp } from "../animation/count-up"; export function GithubStarsButton() { const { data: starCount } = useQuery(orpc.statistics.github.getStarCount.queryOptions()); const ariaLabel = starCount != null ? t`Star us on GitHub, currently ${starCount.toLocaleString()} stars (opens in new tab)` : t`Star us on GitHub (opens in new tab)`; return (