completionId: cgen-e2819a0ba1d249468f2cfecb7f398a9d
cgen-e2819a0ba1d249468f2cfecb7f398a9d
This commit is contained in:
parent
e47a64787c
commit
23c458b68a
1 changed files with 5 additions and 4 deletions
|
|
@ -28,6 +28,7 @@ export default function AeThexOSLogo({
|
||||||
variant = "default",
|
variant = "default",
|
||||||
}: AeThexOSLogoProps) {
|
}: AeThexOSLogoProps) {
|
||||||
const gradient = GRADIENTS[variant];
|
const gradient = GRADIENTS[variant];
|
||||||
|
const glowId = `glow_${variant}_${Math.random().toString(36).substr(2, 9)}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<svg
|
<svg
|
||||||
|
|
@ -52,7 +53,7 @@ export default function AeThexOSLogo({
|
||||||
<stop key={idx} offset={stop.offset} stopColor={stop.color} />
|
<stop key={idx} offset={stop.offset} stopColor={stop.color} />
|
||||||
))}
|
))}
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<filter id="glow">
|
<filter id={glowId}>
|
||||||
<feGaussianBlur stdDeviation="1.5" result="coloredBlur" />
|
<feGaussianBlur stdDeviation="1.5" result="coloredBlur" />
|
||||||
<feMerge>
|
<feMerge>
|
||||||
<feMergeNode in="coloredBlur" />
|
<feMergeNode in="coloredBlur" />
|
||||||
|
|
@ -109,7 +110,7 @@ export default function AeThexOSLogo({
|
||||||
stroke={`url(#${gradient.id})`}
|
stroke={`url(#${gradient.id})`}
|
||||||
strokeWidth="2"
|
strokeWidth="2"
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
filter="url(#glow)"
|
filter={`url(#${glowId})`}
|
||||||
/>
|
/>
|
||||||
<line
|
<line
|
||||||
x1="6"
|
x1="6"
|
||||||
|
|
@ -119,7 +120,7 @@ export default function AeThexOSLogo({
|
||||||
stroke={`url(#${gradient.id})`}
|
stroke={`url(#${gradient.id})`}
|
||||||
strokeWidth="2"
|
strokeWidth="2"
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
filter="url(#glow)"
|
filter={`url(#${glowId})`}
|
||||||
/>
|
/>
|
||||||
<line
|
<line
|
||||||
x1="-3"
|
x1="-3"
|
||||||
|
|
@ -129,7 +130,7 @@ export default function AeThexOSLogo({
|
||||||
stroke={`url(#${gradient.id})`}
|
stroke={`url(#${gradient.id})`}
|
||||||
strokeWidth="2"
|
strokeWidth="2"
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
filter="url(#glow)"
|
filter={`url(#${glowId})`}
|
||||||
/>
|
/>
|
||||||
<circle cx="-6" cy="6" r="1.5" fill="#a78bfa" opacity="0.9" />
|
<circle cx="-6" cy="6" r="1.5" fill="#a78bfa" opacity="0.9" />
|
||||||
<circle cx="6" cy="6" r="1.5" fill="#60a5fa" opacity="0.9" />
|
<circle cx="6" cy="6" r="1.5" fill="#60a5fa" opacity="0.9" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue