A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: build -> code

+12 -12
+2 -2
src/_components/nav.vto
··· 24 24 </span> 25 25 </a> 26 26 27 - <a href="build/" class="button {{ colorClass("build/") }} button--border"> 27 + <a href="code/" class="button {{ colorClass("code/") }} button--border"> 28 28 <span> 29 29 <i class="ph-fill ph-hammer"></i> 30 - Build 30 + Code 31 31 </span> 32 32 </a> 33 33
+3 -3
src/build.vto src/code.vto
··· 1 1 --- 2 2 layout: layouts/kitchen.vto 3 3 base: ../ 4 - title: Build | Diffuse 4 + title: Code | Diffuse 5 5 6 6 examples: 7 7 - url: "facets/examples/now-playing/index.html" ··· 14 14 Make a list of what previously played in the queue. 15 15 --- 16 16 17 - <h1 id="build" hidden>Build</h1> 17 + <h1 id="code" hidden>Code</h1> 18 18 19 19 20 20 <!-- BUILD --> 21 21 <section style="margin-top: var(--space-lg);"> 22 - <form id="build-form" class="columns"> 22 + <form id="code-form" class="columns"> 23 23 <div class="flex" style="flex-basis: 35%"> 24 24 <div id="html-input-container" class="code-editor monospace-font"> 25 25 </div>
+3 -3
src/common/pages/build.js src/common/pages/code.js
··· 178 178 } 179 179 180 180 // Scroll to builder 181 - document.querySelector("#build")?.scrollIntoView(); 181 + document.querySelector("#code")?.scrollIntoView(); 182 182 183 183 // Make sure HTML is loaded 184 184 if (!facet.html && facet.uri) { ··· 212 212 const editor = $editor.value; 213 213 if (!editor) return; 214 214 215 - document.querySelector("#build-form")?.addEventListener( 215 + document.querySelector("#code-form")?.addEventListener( 216 216 "submit", 217 217 onBuildSubmit(editor), 218 218 ); ··· 254 254 }); 255 255 setEditorLoading(false); 256 256 editFacet(facet); 257 - document.querySelector("#build")?.scrollIntoView(); 257 + document.querySelector("#code")?.scrollIntoView(); 258 258 break; 259 259 } 260 260 }
+3 -3
src/common/pages/ppr.js
··· 1 - import * as Build from "./build.js"; 1 + import * as Build from "./code.js"; 2 2 import * as Dashboard from "./dashboard.js"; 3 3 import * as Grid from "./grid.js"; 4 4 import * as Guide from "./guide.js"; ··· 9 9 10 10 /** 11 11 * Strips the app's base path prefix from an absolute pathname, 12 - * returning a root-relative path like "/build". 12 + * returning a root-relative path like "/code". 13 13 * 14 14 * @param {string} pathname 15 15 */ ··· 36 36 await Grid.setupOutputIndicator(); 37 37 38 38 switch (path) { 39 - case "/build": 39 + case "/code": 40 40 Build.renderEditor(); 41 41 Build.handleBuildFormSubmit(); 42 42 Build.listenForExamplesEdit();
+1 -1
src/elements.vto
··· 230 230 Elements 231 231 </p> 232 232 <p> 233 - Diffuse was built using these web components, consume these using the <a href="../build/">build tool</a>, the Javascript <a href="https://jsr.io/@toko/diffuse">package</a>, or the linked Javascript files down below. 233 + Diffuse was built using these web components, consume these using the <a href="../code/">code tool</a>, the Javascript <a href="https://jsr.io/@toko/diffuse">package</a>, or the linked Javascript files down below. 234 234 </p> 235 235 <ul class="table-of-contents"> 236 236 <li><a href="elements/#artwork">Artwork</a></li>