@@ -63,10 +63,7 @@ <h1>From Snowflake Servers to GitOps Nirvana</h1>
6363 < a href ="https://dspy.ai/ " target ="_blank " rel ="noopener "> DSPy</ a > ,
6464 and a pinch of < a href ="https://www.openpolicyagent.org/ " target ="_blank " rel ="noopener "> OPA</ a >
6565 policy-as-code) fit together to create a platform that deploys itself every time you hit < i > merge</ i > .
66- < button id ="copyAllTools " class ="copy-btn " title ="Copy all tool URLs "> < svg class ="copy-icon " width ="16 " height ="16 " viewBox ="0 0 16 16 " fill ="none " xmlns ="http://www.w3.org/2000/svg ">
67- < rect x ="3 " y ="3 " width ="10 " height ="10 " rx ="1 " stroke ="currentColor " stroke-width ="1.4 "/>
68- < rect x ="1 " y ="1 " width ="10 " height ="10 " rx ="1 " stroke ="currentColor " stroke-width ="1.4 "/>
69- </ svg > All</ button >
66+ < button id ="copyAllTools " class ="copy-btn " title ="Copy all tool URLs "> CC All</ button >
7067</ p >
7168
7269 <!-- rest of your article -->
@@ -149,10 +146,7 @@ <h2>6. Beginner Take-aways</h2>
149146 <!-- assets list + copy button -->
150147 < section id ="stack-assets ">
151148 < h3 > Grab the configs</ h3 >
152- < button onclick ="copyAssets() "> < svg class ="copy-icon " width ="16 " height ="16 " viewBox ="0 0 16 16 " fill ="none " xmlns ="http://www.w3.org/2000/svg ">
153- < rect x ="3 " y ="3 " width ="10 " height ="10 " rx ="1 " stroke ="currentColor " stroke-width ="1.4 "/>
154- < rect x ="1 " y ="1 " width ="10 " height ="10 " rx ="1 " stroke ="currentColor " stroke-width ="1.4 "/>
155- </ svg > Copy URLs</ button >
149+ < button onclick ="copyAssets() "> CC Copy URLs</ button >
156150 < ol >
157151 < li > < a href ="assets/README.md " download > README.md</ a > </ li >
158152 < li > < a href ="assets/flake.nix " download > flake.nix</ a > </ li >
@@ -174,21 +168,15 @@ <h2>7. The Bigger Picture</h2>
174168 navigator . clipboard . writeText ( url ) . then ( ( ) => {
175169 const btn = event . target ;
176170 btn . textContent = '✅' ;
177- setTimeout ( ( ) => btn . textContent = '<svg class="copy-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
178- < rect x = "3" y = "3" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke-width = "1.4" />
179- < rect x = "1" y = "1" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke - width = "1.4" / >
180- </svg > ', 800);
171+ setTimeout ( ( ) => btn . textContent = 'CC' , 800 ) ;
181172 } ) ;
182173 }
183174 function copyAssets ( ) {
184175 const urls = Array . from ( document . querySelectorAll ( '#stack-assets a' ) ) . map ( a => a . href ) . join ( '\n' ) ;
185176 navigator . clipboard . writeText ( urls ) . then ( ( ) => {
186177 const btn = event . target ;
187178 btn . textContent = '✅ Copied!' ;
188- setTimeout ( ( ) => btn . textContent = '<svg class="copy-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
189- < rect x = "3" y = "3" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke-width = "1.4" />
190- < rect x = "1" y = "1" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke - width = "1.4" / >
191- </svg > Copy URLs ', 1200 ) ;
179+ setTimeout ( ( ) => btn . textContent = 'CC Copy URLs' , 1200 ) ;
192180 } ) ;
193181 }
194182 document . getElementById ( 'copyAllTools' ) . addEventListener ( 'click' , ( ) => {
@@ -205,10 +193,7 @@ <h2>7. The Bigger Picture</h2>
205193 navigator . clipboard . writeText ( urls ) . then ( ( ) => {
206194 const btn = document . getElementById ( 'copyAllTools' ) ;
207195 btn . textContent = '✅ Copied!' ;
208- setTimeout ( ( ) => btn . textContent = '<svg class="copy-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
209- < rect x = "3" y = "3" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke-width = "1.4" />
210- < rect x = "1" y = "1" width = "10" height = "10" rx = "1" stroke = "currentColor" stroke - width = "1.4" / >
211- </svg > All ', 1200 ) ;
196+ setTimeout ( ( ) => btn . textContent = 'CC All' , 1200 ) ;
212197 } ) ;
213198 } ) ;
214199 </ script >
0 commit comments