feat(website): improve download button with icon and platform title

This commit is contained in:
Elian Doran
2025-09-27 12:41:33 +03:00
parent 65dae511e5
commit 7a73af0299
6 changed files with 22 additions and 14 deletions

View File

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