diff --git a/web/package.json b/web/package.json index 4185ce0..aa595ca 100644 --- a/web/package.json +++ b/web/package.json @@ -13,6 +13,7 @@ "bones": "node --env-file-if-exists=../.env scripts/bones.mjs", "check:links": "node scripts/check-links.mjs dist", "check:i18n": "node scripts/check-i18n.mjs", + "test": "node --experimental-strip-types --test test/*.test.mjs", "check:hreflang": "node scripts/check-hreflang.mjs dist" }, "dependencies": { diff --git a/web/public/apple-touch-icon.png b/web/public/apple-touch-icon.png index 40ddcc3..25ef08c 100644 Binary files a/web/public/apple-touch-icon.png and b/web/public/apple-touch-icon.png differ diff --git a/web/public/favicon-32.png b/web/public/favicon-32.png index 9c7e061..c92803e 100644 Binary files a/web/public/favicon-32.png and b/web/public/favicon-32.png differ diff --git a/web/public/favicon.ico b/web/public/favicon.ico index ebaea8d..0f400d0 100644 Binary files a/web/public/favicon.ico and b/web/public/favicon.ico differ diff --git a/web/public/favicon.svg b/web/public/favicon.svg index c38e8ef..3512f50 100644 --- a/web/public/favicon.svg +++ b/web/public/favicon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/public/icon-192.png b/web/public/icon-192.png index 3b07de3..98d6d83 100644 Binary files a/web/public/icon-192.png and b/web/public/icon-192.png differ diff --git a/web/public/icon-512.png b/web/public/icon-512.png index 4487fc4..1c0b13d 100644 Binary files a/web/public/icon-512.png and b/web/public/icon-512.png differ diff --git a/web/scripts/make-assets.mjs b/web/scripts/make-assets.mjs index 19589c2..bc4df0a 100644 --- a/web/scripts/make-assets.mjs +++ b/web/scripts/make-assets.mjs @@ -6,6 +6,7 @@ * files change roughly never. * * node scripts/make-assets.mjs + * node scripts/make-assets.mjs --no-card # icon set only, needs no browser * * Playwright and sharp are not dependencies of this workspace. Both arrive transitively * under `astro` (which ships sharp for its image pipeline) and are resolved through it, @@ -14,10 +15,12 @@ * * The card is drawn in a real browser rather than assembled by hand because it uses the * site's own fonts and tokens: a social card that does not look like the site is worth - * less than no card. The moai is the same rect geometry as `components/Moai.astro`. + * less than no card. The moai on the card is the same rect geometry as + * `components/Moai.astro`. The icon set is a different mark: the pixel cashu nut carried + * over from the old site (`src/assets/cashu-logo.png`), composed with sharp alone. */ import { createRequire } from 'node:module'; -import { mkdir, writeFile } from 'node:fs/promises'; +import { mkdir, readFile, writeFile } from 'node:fs/promises'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; @@ -100,14 +103,8 @@ p { margin-top: 28px; font-size: 27px; line-height: 1.45; color: #9A927E; max-wi