feat: group gain + scale logo
This commit is contained in:
@@ -6,7 +6,7 @@ const DONUT_HOVER_SPEED = 360 / 2;
|
||||
const INNER_BASE_SPEED = 360 / 12;
|
||||
const INNER_HOVER_SPEED = 360 / 3;
|
||||
|
||||
const AnimatedLogo = ({ size = 45, className = '' }) => {
|
||||
const AnimatedLogo = ({ className = '' }) => {
|
||||
const [isHovered, setIsHovered] = useState(false);
|
||||
const isHoveredRef = useRef(false);
|
||||
const donutGroupRef = useRef<SVGGElement | null>(null);
|
||||
@@ -58,7 +58,6 @@ const AnimatedLogo = ({ size = 45, className = '' }) => {
|
||||
return (
|
||||
<div
|
||||
className={`animated-logo ${className}`}
|
||||
style={{ width: size, height: size }}
|
||||
onMouseEnter={() => setIsHovered(true)}
|
||||
onMouseLeave={() => setIsHovered(false)}
|
||||
>
|
||||
|
||||
@@ -31,3 +31,36 @@ export function SlidersIcon(props: React.SVGProps<SVGSVGElement>) {
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
export function AudioWaveIcon(props: React.SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
||||
<path
|
||||
d="M2 10V14M6 6V18M10 3V21M14 8V16M18 5V19M22 10V14"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
export function KnobGainIcon(props: React.SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
|
||||
<path d="M12 3A9 9 0 0 1 21 12" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />
|
||||
|
||||
<path
|
||||
d="M12 21A9 9 0 1 1 18.4 6.6"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
strokeLinecap="round"
|
||||
/>
|
||||
|
||||
<circle cx="12" cy="12" r="6" stroke="currentColor" strokeWidth="2" />
|
||||
|
||||
<path d="M12 12L15 9" stroke="currentColor" strokeWidth="2" strokeLinecap="round" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user