Skip to content

chore: slim public/ to served assets only, OG points at light PNG - #6

Merged
ronaldtse merged 2 commits into
mainfrom
chore/slim-public-assets
Aug 7, 2026
Merged

chore: slim public/ to served assets only, OG points at light PNG#6
ronaldtse merged 2 commits into
mainfrom
chore/slim-public-assets

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Brand assets now have a canonical home at claricle/branding. This PR slims claricle.github.io/public/ down to only the files the site actually serves.

Removed from public/ (all preserved in branding)

  • logo-claricle.pdf (designer source)
  • logo-claricle.svg (medium-saturation variant, not referenced by code)
  • logo-claricle.png (834x834 medium-saturation, was the OG image)
  • logo-claricle_icon-dark.png (834x834, not referenced — only the SVG variant is)

Switched OG image

BaseLayout now references /logo-claricle_icon-light.png for Open Graph, matching the branding README's guidance: social preview cards render on white, the light variant's saturated colors read correctly there.

What stays in public/

  • logo-claricle_icon-light.svg + logo-claricle_icon-dark.svg (theme-aware logo)
  • logo-claricle_icon-light.png (OG image)
  • favicon set (favicon.svg, favicon-96x96.png, favicon.ico, apple-touch-icon.png)
  • site.webmanifest

Docs

CLAUDE.md and README.md rewritten to point at claricle/branding as the source of truth.

Note on root logo-claricle.png

The 200×200 canonical PNG at the repo root is untouched — preserved per the "never delete source files" rule. It's now duplicated in claricle/branding. If you want me to remove the root copy in a follow-up, say the word.

Test plan

  • CI on this PR runs green (98 specs)
  • After merge: curl -I https://claricle.github.io/logo-claricle_icon-light.png returns 200
  • Social card preview (use opengraph.xyz or similar) shows the light-mode logo on white
  • curl -I https://claricle.github.io/logo-claricle.png returns 404 (file removed)

…ding-recommended PNG

Brand assets now have a canonical home: github.com/claricle/branding.
This repo keeps only the subset the site actually serves from public/.

Removed from public/ (all preserved in claricle/branding):
- logo-claricle.pdf (designer source)
- logo-claricle.svg (medium-saturation variant, not referenced by code)
- logo-claricle.png (834x834 medium-saturation, was the OG image)
- logo-claricle_icon-dark.png (834x834, not referenced — SVG variant is)

Switched OG image to /logo-claricle_icon-light.png per the branding
README's guidance: social preview cards render on white, and the light
variant's saturated colors are correct there.

Updated:
- BaseLayout.astro: ogImage path
- test/site-sanity.spec.ts: replaced the medium-SVG color test with a
  check that the 834x834 OG PNG exists with correct dimensions
- test/build.spec.ts: dist assertion now checks for the OG PNG name
- CLAUDE.md and README.md: brand-assets sections rewritten to point
  at claricle/branding as canonical
The 200x200 PNG at the repo root was the original designer source. It
now lives in claricle/branding as the canonical copy; no point keeping
a duplicate here. The site never served it (only /public/ files are
served) and it was only kept per the never-delete-source rule, which
the user explicitly waived for this duplication.

Dropped the matching spec ("exposes the canonical logo PNG at the repo
root") and updated CLAUDE.md to point at claricle/branding instead.
@ronaldtse
ronaldtse merged commit 04af817 into main Aug 7, 2026
1 check passed
@ronaldtse
ronaldtse deleted the chore/slim-public-assets branch August 7, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant