feat: group gain + scale logo

This commit is contained in:
2026-07-23 14:12:11 +02:00
parent a77c0668aa
commit 4c146902e3
18 changed files with 440 additions and 256 deletions

View File

@ -70,22 +70,22 @@ export default function Button({
}, [fontSize, children, W]);
const button = (
<button
type={type}
className={`btn btn-${variant} ${className}`}
onClick={onClick}
disabled={disabled}
style={{
width: scale ? '100%' : W,
height: scale ? '100%' : H,
fontSize: `${computedFontSize}px`,
...style,
}}
{...props}
>
{children}
</button>
);
<button
type={type}
className={`btn btn-${variant} ${className}`}
onClick={onClick}
disabled={disabled}
style={{
width: scale ? '100%' : W,
height: scale ? '100%' : H,
fontSize: `${computedFontSize}px`,
...style,
}}
{...props}
>
{children}
</button>
);
if (!scale) return button;