From 6063b404f62305e510357b9cc7f17af809bd4384 Mon Sep 17 00:00:00 2001 From: Andrea Date: Mon, 28 Sep 2026 17:44:32 +0200 Subject: [PATCH] Update footer in index.html to include version number and adjust footer styling in styles.css --- frontend/index.html | 2 +- frontend/styles.css | 2 +- scripts/publish-image.sh | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 31359f8..1ac26a7 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -101,7 +101,7 @@ - + \ No newline at end of file diff --git a/frontend/styles.css b/frontend/styles.css index 763b8e6..5da80ca 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -117,7 +117,7 @@ h2 { margin: 8px 0 0; font: 500 25px/1.1 var(--serif); } .archive-status { color: var(--muted); font: 10px var(--mono); margin-top: 7px; } .transcription-progress { width: min(240px, 100%); height: 3px; margin-top: 9px; overflow: hidden; background: #e4e3dc; } .transcription-progress span { display: block; width: 34%; height: 100%; background: var(--moss); animation: transcription-progress 1.4s ease-in-out infinite; } -footer { max-width: 1040px; margin: auto; padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 9px var(--mono); } +footer { max-width: 1040px; margin: auto; padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 20px; color: var(--muted); font: 9px var(--mono); } @keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } @keyframes transcription-progress { from { transform: translateX(-110%); } to { transform: translateX(300%); } } @media (max-width: 600px) { diff --git a/scripts/publish-image.sh b/scripts/publish-image.sh index d2d6f4e..8ace429 100755 --- a/scripts/publish-image.sh +++ b/scripts/publish-image.sh @@ -79,10 +79,25 @@ if git -C "$repo_root" show-ref --verify --quiet "refs/tags/$version"; then exit 1 fi +build_context="$(mktemp -d)" +trap 'rm -rf "$build_context"' EXIT +git -C "$repo_root" archive HEAD | tar -x -C "$build_context" +footer_file="$build_context/frontend/index.html" +footer_count="$(grep -c '