feat(website): outline for donation buttons

This commit is contained in:
Elian Doran
2025-09-27 12:46:16 +03:00
parent 7a73af0299
commit 892e84deaa
3 changed files with 13 additions and 4 deletions

View File

@@ -8,12 +8,13 @@ interface ButtonProps {
text: ComponentChildren;
openExternally?: boolean;
className?: string;
outline?: boolean;
}
export default function Button({ href, iconSvg, openExternally, text, className }: ButtonProps) {
export default function Button({ href, iconSvg, openExternally, text, className, outline }: ButtonProps) {
return (
<a
className={`button ${className}`}
className={`button ${className} ${outline ? "outline" : ""}`}
href={href}
target={openExternally ? "_blank" : undefined}
>