import { useId } from 'react'; const ServerKitLogo = ({ width = 64, height = 64, className = '' }) => { // Unique per instance: multiple logos render at once (sidebar + mobile top // bar + auth screens). A shared gradient id collides in the DOM, and // url(#id) resolves to the first match — which can be a hidden 0x0 instance // whose objectBoundingBox gradient has no coordinate space, painting the // glyph as nothing. A unique id keeps each logo bound to its own gradient. const rawId = useId(); const gradId = `skBrandGradient-${rawId.replace(/:/g, '')}`; const fill = `url(#${gradId})`; return ( ); }; export default ServerKitLogo;