()
| 88 | } |
| 89 | |
| 90 | const copyWordmarkToClipboard = async () => { |
| 91 | try { |
| 92 | const isDark = isDarkMode() |
| 93 | const wordmarkSvgPath = isDark ? copyWordmarkSvgDark : copyWordmarkSvgLight |
| 94 | const wordmarkSvg = await fetchSvgContent(wordmarkSvgPath) |
| 95 | await navigator.clipboard.writeText(wordmarkSvg) |
| 96 | } catch (err) { |
| 97 | console.error("Failed to copy wordmark to clipboard:", err) |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | const copyLogoToClipboard = async () => { |
| 102 | try { |
nothing calls this directly
no test coverage detected