before tidal

This commit is contained in:
Henry Hiles 2026-01-04 14:25:18 -05:00
commit 7162fa0ec4
No known key found for this signature in database
5 changed files with 17 additions and 4 deletions

View file

@ -1 +1 @@
# Musedel # Musedle

5
deno.lock generated
View file

@ -1,6 +1,7 @@
{ {
"version": "5", "version": "5",
"specifiers": { "specifiers": {
"npm:@tidal-music/player@~0.11.2": "0.11.2",
"npm:astro@^5.16.6": "5.16.6_vite@6.4.1__picomatch@4.0.3_zod@3.25.76" "npm:astro@^5.16.6": "5.16.6_vite@6.4.1__picomatch@4.0.3_zod@3.25.76"
}, },
"npm": { "npm": {
@ -547,6 +548,9 @@
"tslib" "tslib"
] ]
}, },
"@tidal-music/player@0.11.2": {
"integrity": "sha512-rNVxLmMHcT7vYd6KugcHMxAcOEcDonxY4XlFd15o/3vgBYr60nOLMlba3vmDfkddq813Lt9geYX7Osm6ll3lXQ=="
},
"@types/debug@4.1.12": { "@types/debug@4.1.12": {
"integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
"dependencies": [ "dependencies": [
@ -2262,6 +2266,7 @@
"workspace": { "workspace": {
"packageJson": { "packageJson": {
"dependencies": [ "dependencies": [
"npm:@tidal-music/player@~0.11.2",
"npm:astro@^5.16.6" "npm:astro@^5.16.6"
] ]
} }

View file

@ -9,6 +9,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@tidal-music/player": "^0.11.2",
"astro": "^5.16.6" "astro": "^5.16.6"
} }
} }

View file

@ -38,6 +38,8 @@ import "../styles/index.css"
</Layout> </Layout>
<script> <script>
import * as Player from "@tidal-music/player"
// TODO: Use css anim for progress // TODO: Use css anim for progress
class ExtendableTimeout { class ExtendableTimeout {
private timerId: ReturnType<typeof setTimeout> private timerId: ReturnType<typeof setTimeout>

View file

@ -1,22 +1,24 @@
#bar { #bar {
width: min(40rem, 100%);
& #bars { & #bars {
display: grid; display: grid;
grid-template-columns: 1fr 2fr 4fr 8fr; grid-template-columns: 1fr 2fr 4fr 8fr;
gap: 0.3rem; gap: 0.3rem;
& * { & * {
background-color: rgba(255, 255, 255, 20%); background-color: rgba(255, 255, 255, 20%);
height: 1rem; height: 1rem;
border-radius: 1rem; border-radius: 1rem;
grid-row: 1; grid-row: 1;
} }
& #available { & #available {
grid-column-start: 1; grid-column-start: 1;
width: 100%; width: 100%;
} }
} }
width: min(40rem, 100%);
& #available { & #available {
background-color: white; background-color: white;
width: 0; width: 0;
@ -24,13 +26,16 @@
} }
.frame-container { .frame-container {
position: relative;
@supports (-moz-appearance: none) { @supports (-moz-appearance: none) {
display: none; display: none;
} }
& span { & span {
pointer-events: none; pointer-events: none;
} }
position: relative;
& iframe { & iframe {
position: absolute; position: absolute;
width: 100%; width: 100%;