ipxreader.app: a home page for iPX (#216)
A static page in site/, built into site/dist by site/build.sh with the logo and icon from web/, for Cloudflare Pages. The hero's dial is the iPodderX logo's tuning scale at full size, its stations shows from the directory; the needle sweeps once on load (not with reduced motion) and lights the one it stops on. One typeface, Archivo, self-hosted, its width axis doing the work. No script; _headers sets a CSP that allows only the site's own files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
10
site/build.sh
Executable file
10
site/build.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# ipxreader.app: the page, its stylesheet and font, and the logo and icon from web/, into
|
||||
# site/dist, which Cloudflare Pages serves.
|
||||
set -e
|
||||
here=$(dirname "$0")
|
||||
rm -rf "$here/dist"
|
||||
mkdir -p "$here/dist/fonts"
|
||||
cp "$here/index.html" "$here/site.css" "$here/_headers" "$here/dist/"
|
||||
cp "$here/fonts/archivo.woff2" "$here/dist/fonts/"
|
||||
cp "$here/../web/logo.svg" "$here/../web/favicon.png" "$here/dist/"
|
||||
Reference in New Issue
Block a user