chore: now-playing -> api-text

This commit is contained in:
Cory Dransfeldt 2024-02-28 18:47:36 -08:00
parent a15b4a3648
commit 41fb2c3546
No known key found for this signature in database
4 changed files with 28 additions and 68 deletions

View file

@ -1,5 +1,5 @@
<script type="module" src="/assets/scripts/components/now-playing.js"></script>
<now-playing api-url="/api/now-playing">
<script type="module" src="/assets/scripts/components/api-text.js"></script>
<api-text api-url="/api/now-playing">
<p class="loading text--blurred fade">🎧 Loading...</p>
<p class="content fade" style="opacity:0"></p>
</now-playing>
</api-text>