impl command menu and change theme colors
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 3m26s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 3m26s
This commit is contained in:
@ -3,8 +3,16 @@
|
||||
import { ReactElement, useEffect, useState } from "react";
|
||||
import { Star } from "lucide-react";
|
||||
import Link from "next/link";
|
||||
import { cn } from "@/app/common/utils";
|
||||
|
||||
export function GithubStar(): ReactElement {
|
||||
type GithubStarProps = {
|
||||
/**
|
||||
* The class name for this component.
|
||||
*/
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export function GithubStar({ className }: GithubStarProps): ReactElement {
|
||||
const [starCount, setStarCount] = useState(0);
|
||||
|
||||
const getStarCount = async () => {
|
||||
@ -19,7 +27,10 @@ export function GithubStar(): ReactElement {
|
||||
|
||||
return (
|
||||
<Link
|
||||
className="bg-github-green px-2 py-1 rounded-lg items-center gap-1 hover:opacity-85 transform-gpu transition-all hidden md:flex"
|
||||
className={cn(
|
||||
"bg-github-green px-2 py-1 rounded-lg items-center gap-1 hover:opacity-85 transform-gpu transition-all hidden md:flex",
|
||||
className,
|
||||
)}
|
||||
href="https://github.com/RealFascinated/MinecraftUtilities"
|
||||
target="_blank"
|
||||
>
|
||||
|
Reference in New Issue
Block a user