Skip to content

Commit f152f99

Browse files
authored
Update index.html
removed scripts
1 parent 52cdd41 commit f152f99

1 file changed

Lines changed: 1 addition & 35 deletions

File tree

index.html

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -312,41 +312,7 @@ <h2>7. The Bigger Picture</h2>
312312
<p><strong>Welcome to the Declared World: </strong>where the robots do the toil, and we get back to building great games.</p>
313313

314314
<!-- JavaScript for copy buttons -->
315-
<script>
316-
function copyUrl(url) {
317-
navigator.clipboard.writeText(url).then(() => {
318-
const btn = event.target;
319-
btn.textContent = '✅';
320-
setTimeout(() => btn.textContent = 'CC', 800);
321-
});
322-
}
323-
function copyAssets() {
324-
const urls = Array.from(document.querySelectorAll('#stack-assets a')).map(a => a.href).join('\n');
325-
navigator.clipboard.writeText(urls).then(() => {
326-
const btn = event.target;
327-
btn.textContent = '✅ Copied!';
328-
setTimeout(() => btn.textContent = 'CC Copy URLs', 1200);
329-
});
330-
}
331-
document.getElementById('copyAllTools').addEventListener('click', () => {
332-
const urls = [
333-
'https://git-scm.com/',
334-
'https://nixos.org/',
335-
'https://docker.com/',
336-
'https://developer.hashicorp.com/terraform/',
337-
'https://kubernetes.io/',
338-
'https://argo-cd.readthedocs.io/en/stable/',
339-
'https://dspy.ai/',
340-
'https://www.openpolicyagent.org/'
341-
].join('\n');
342-
navigator.clipboard.writeText(urls).then(() => {
343-
const btn = document.getElementById('copyAllTools');
344-
btn.textContent = '✅ Copied!';
345-
setTimeout(() => btn.textContent = 'CC All', 1200);
346-
});
347-
});
348-
</script>
349-
<script>hljs.highlightAll();</script>
315+
350316
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
351317
<script src="scripts.js"></script>
352318
</body>

0 commit comments

Comments
 (0)