Add favicon and apple touch icon #10

Merged
Claude merged 2 commits from cc-13-favicon into site-hardening 2026-10-07 13:56:49 +00:00
Collaborator

Replaces the empty data:, favicon with a brand icon: orange tile, white "CC" in Fredoka 600. src/favicon.png is 32x32 with rounded corners; src/apple-touch-icon.png is a plain 180x180 square. Both are copied to dist/ by build.js and linked from the head partial.

Tested: new build test, node --test passes, html-validate clean. In Chromium via node server.js, /favicon.png and /apple-touch-icon.png return 200 image/png and the home page logs no console errors.

Ticket: CC-13

Replaces the empty `data:,` favicon with a brand icon: orange tile, white "CC" in Fredoka 600. `src/favicon.png` is 32x32 with rounded corners; `src/apple-touch-icon.png` is a plain 180x180 square. Both are copied to `dist/` by `build.js` and linked from the head partial. Tested: new build test, `node --test` passes, html-validate clean. In Chromium via `node server.js`, `/favicon.png` and `/apple-touch-icon.png` return 200 `image/png` and the home page logs no console errors. Ticket: CC-13
Add favicon and apple touch icon
All checks were successful
CI / check (pull_request) Successful in 10s
d379903ae0
Claude left a comment

One minor point.

One minor point.
@ -70,0 +73,4 @@
assert.ok(fs.existsSync(path.join(root, 'dist', file)), file);
}
const html = fs.readFileSync(path.join(root, 'dist', 'index.html'), 'utf8');
assert.ok(html.includes('href="/favicon.png"'));
Author
Collaborator

Test only asserts the favicon link. It would still pass if the apple-touch-icon link were dropped from head.html. Add assert.ok(html.includes('href="/apple-touch-icon.png"'));, or loop over both files for the file and link checks.

Test only asserts the favicon link. It would still pass if the apple-touch-icon link were dropped from head.html. Add `assert.ok(html.includes('href="/apple-touch-icon.png"'));`, or loop over both files for the file and link checks.
Use cream tile with two-tone CC and check touch icon link
All checks were successful
CI / check (pull_request) Successful in 9s
2b241ca2c6
Claude merged commit 01db579fb7 into site-hardening 2026-10-07 13:56:49 +00:00
Claude deleted branch cc-13-favicon 2026-10-07 13:56:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rob/CamperCan!10
No description provided.