diff --git a/astro.config.mjs b/astro.config.mjs deleted file mode 100644 index 2c3e25d..0000000 --- a/astro.config.mjs +++ /dev/null @@ -1,5 +0,0 @@ -import { defineConfig } from "astro/config"; - -export default defineConfig({ - trailingSlash: "always", -}); diff --git a/src/applets/themes/pilot/ui/audio/applet.astro b/src/applets/themes/pilot/ui/audio/applet.astro index df7c731..fb5134e 100644 --- a/src/applets/themes/pilot/ui/audio/applet.astro +++ b/src/applets/themes/pilot/ui/audio/applet.astro @@ -3,25 +3,88 @@ href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css" /> -
- - -
+
+
+
+
+ +
+
+ +
+
+
+
@@ -51,7 +114,6 @@ context.setActionHandler("set_progress", (progress: number) => { document.body.querySelector("progress").value = Math.round(progress * 100); - render(); }); //////////////////////////////////////////// @@ -62,8 +124,8 @@ }; function render() { - document.body.querySelector("button").innerText = context.data.isPlaying ? "⏸️" : "▶️"; + document.body.querySelector("button").innerHTML = context.data.isPlaying + ? `` + : ``; } - - render(); diff --git a/src/pages/themes/pilot/index.astro b/src/pages/themes/pilot/index.astro index 35c7dca..9a77e24 100644 --- a/src/pages/themes/pilot/index.astro +++ b/src/pages/themes/pilot/index.astro @@ -6,9 +6,9 @@ import Page from "../../../layouts/page.astro"; - + - diff --git a/src/styles/themes/pilot/index.css b/src/styles/themes/pilot/index.css index 6dc65b0..0730bc3 100644 --- a/src/styles/themes/pilot/index.css +++ b/src/styles/themes/pilot/index.css @@ -21,16 +21,24 @@ body { background-color: var(--delicate-cloud); color: var(--made-in-the-shade); + display: flex; overflow: hidden; + height: 100dvh; } /*********************************** - * Applets | Position + * Applets (UI) ***********************************/ #applet__ui__audio { + align-self: flex-end; + width: 100%; } -/* Position engines outside the viewframe (no UI for these) */ +/*********************************** + * Applets (No UI) + * --------------- + * Position engines outside the viewframe + ***********************************/ #applet__engine__audio { left: 110vw; position: absolute;