()
| 99 | } |
| 100 | |
| 101 | const copyLogoToClipboard = async () => { |
| 102 | try { |
| 103 | const isDark = isDarkMode() |
| 104 | const logoSvgPath = isDark ? copyLogoSvgDark : copyLogoSvgLight |
| 105 | const logoSvg = await fetchSvgContent(logoSvgPath) |
| 106 | await navigator.clipboard.writeText(logoSvg) |
| 107 | } catch (err) { |
| 108 | console.error("Failed to copy logo to clipboard:", err) |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | return ( |
| 113 | <section data-component="top"> |
nothing calls this directly
no test coverage detected