From 809e51bae031935990fbc447657e6db8999f3b97 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Fri, 16 Oct 2026 14:47:11 +1030 Subject: [PATCH] Fix whitespace issues due to JSX whitespace change, small deploy improvements --- .gitea/workflows/deploy.yaml | 10 ++++++++-- src/components/Player.astro | 10 ++++++---- src/components/ProjectCard.astro | 2 +- src/layouts/MainLayout.astro | 2 +- src/pages/index.astro | 5 ++--- src/pages/projects/[type]/[slug].astro | 2 +- 6 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 5afe778..9eacfd7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -22,7 +22,9 @@ jobs: path: | node_modules/.astro/ node_modules/.vite/ - key: ${{ runner.os }}-buildcache + key: ${{ runner.os }}-buildcache-${{ hashFiles('package-lock.json') }} + restore-keys: | + ${{ runner.os }}-buildcache- - name: Setup Node uses: actions/setup-node@v5 @@ -33,11 +35,15 @@ jobs: - name: Install shell: "bash" working-directory: . - run: npm install + run: npm ci - name: Build shell: "bash" working-directory: . + env: + # Bound libuv/sharp thread usage: the builder is small and + # full parallelism OOMs it. Raise if the host grows. + UV_THREADPOOLSIZE: 4 run: npm run build - name: Set up SSH diff --git a/src/components/Player.astro b/src/components/Player.astro index 46f774f..c3c9456 100644 --- a/src/components/Player.astro +++ b/src/components/Player.astro @@ -171,12 +171,14 @@ const playerArtworkOpacity = 0.4; -
+
- - + class="w-full truncate text-right font-semibold"> + +
diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index aba42a6..880e263 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -171,7 +171,7 @@ const link = `/projects/${slugify(project.data.type)}/${slugify(project.data.slu {project.data.keyFigure.map((figure) => { return (
- {figure.title}: + {figure.title}: {figure.href && ( {figure.name} diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 8a0c4cd..1c94f41 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -26,7 +26,7 @@ import MainHead from "@layouts/MainHead.astro"; - +
diff --git a/src/pages/index.astro b/src/pages/index.astro index 4405c23..14a7fd2 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -53,7 +53,7 @@ const tracks = ( --- -
+
- {person.names.first} - {person.names.last} + {person.names.first}{" "}{person.names.last}

{ return (
- {figure.title}: + {figure.title}: {figure.href && (