GitHub and Buy Me a Coffee links, various tweaks

This commit is contained in:
Gavin McDonald
2025-05-02 20:08:04 -04:00
parent 35afa28e44
commit 6a1f1174a3
15 changed files with 69 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
'use client';
type GitHubButtonProps = {
className?: string;
};
export default function GitHubButton({ className = '' }: GitHubButtonProps) {
return (
<a
href="https://github.com/mcdoh/tarokka"
className={className}
target="_blank"
rel="noopener noreferrer"
>
<button className="h-full w-full flex flex-row justify-center items-center gap-3 bg-slate-700 rounded-[6px] hover:bg-slate-600 transition cursor-pointer">
<img src="/img/github-mark-white.svg" alt="GitHub" className="h-[22px] w-[22px]" />
<img src="/img/github-logo-white.png" alt="GitHub" className="h-[22px]" />
</button>
</a>
);
}