build(astro): migrate site to Astro 6

This commit is contained in:
DeCentN2Madness committed 2026-07-28 20:34:29 -07:00
1 parent 679731d3e2
commit a0cbcc7e71
10 files changed
+1537 -1073

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ const encodedText = encode(linkValue);
const spanId = id ?? `${contactType}-obfuscation-${Math.random().toString(36).slice(2, 10)}`;
---
<span id={spanId} class={className}>{fallbackText}</span><script type="text/javascript" define:vars={{ encodedTarget, encodedText, protocol, spanId }}>
<span id={spanId} class={className}>{fallbackText}</span><script type="text/javascript" is:inline define:vars={{ encodedTarget, encodedText, protocol, spanId }}>
(() => {
const contactSpan = document.getElementById(spanId);