From 6fc34dcd3531f577044115ddde2b4245de4d2f7e Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Fri, 18 Jul 2025 18:53:23 +0200 Subject: [PATCH] fix: s3 issue and add demo page --- src/pages/demo/s3-tracks/index.astro | 59 ++++++++++++++++++++++++++++ src/pages/index.astro | 12 ++++++ src/pages/input/s3/_applet.astro | 16 ++++++-- src/scripts/input/s3/worker.ts | 2 +- 4 files changed, 85 insertions(+), 4 deletions(-) create mode 100644 src/pages/demo/s3-tracks/index.astro diff --git a/src/pages/demo/s3-tracks/index.astro b/src/pages/demo/s3-tracks/index.astro new file mode 100644 index 0000000..cc35343 --- /dev/null +++ b/src/pages/demo/s3-tracks/index.astro @@ -0,0 +1,59 @@ +--- +import Page from "../../../layouts/page.astro"; +import "@styles/pico.scss"; +--- + + +
+

Add sample S3 bucket to inputs

+ +

+ Clicking the button below will add some sample music, which you can then play using the + various themes, abstractions and constituents. + +
+
+ + +

+
+ + + + +
diff --git a/src/pages/index.astro b/src/pages/index.astro index ca8c63b..f8c0cd4 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -65,6 +65,9 @@ const processors = [ { url: "processor/metadata/", title: "Metadata retrieval" }, { url: "processor/search/", title: "Search" }, ]; + +// Demos +const demos = [{ url: "demo/s3-tracks/", title: "Add sample S3 music" }]; --- @@ -201,6 +204,15 @@ const processors = [ + +
+

Demos

+ +

Just some utility web pages to help demo the system.

+ + +
+

Build your own

diff --git a/src/pages/input/s3/_applet.astro b/src/pages/input/s3/_applet.astro index 09fa864..a2755bd 100644 --- a/src/pages/input/s3/_applet.astro +++ b/src/pages/input/s3/_applet.astro @@ -37,11 +37,13 @@