Skip to content

Replace favicon and UI mark with matched tilted-phone SVGs - #108

Open
nedtwigg wants to merge 4 commits into
mainfrom
homepage-thumb
Open

nedtwigg wants to merge 4 commits into
mainfrom
homepage-thumb

Conversation

@nedtwigg

Copy link
Copy Markdown
Member

Replaces the mismatched browser favicon and legacy hand/pink-phone UI mark with a unified pair of tilted portrait phone SVGs:

  • Monochrome favicon (branding/favicon.svg, site/public/icon.svg): tilted portrait phone with front camera dot, dark bottom shutter bar, and knocked-out single shutter button, adapting automatically between #1f2328 (light) and #f0f6fc (dark) via prefers-color-scheme. Linked from ui/index.html and site/public/{index,404,welcome}.html.
  • Elaborated UI & lockup mark (branding/logo-icon.svg, site/public/logo.svg, regenerated site/public/apple-touch-icon.png): same tilted phone silhouette framing the warm-ceramic robot with its blue forehead plate, yellow optical eyes, and white shutter button against Selfie's #bfd9f0 sky. Used in the review UI header (ui/src/client/App.tsx) and site 404.html / welcome.html lockups.
  • Cleanup & specs: removed legacy branding/logo-icon-large.svg and branding/mascot.webp, and updated branding/README.md, docs/specs/ui.md, and site/DESIGN.md.

@selfie-bot selfie-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new logo-icon.svg is 1497 bytes, which is under Vite's default 4096-byte assetsInlineLimit (the replaced 700×700 Inkscape file was over it). So import logo from "../../../branding/logo-icon.svg" in ui/src/client/App.tsx now becomes a data: URI inside the JS bundle, not a file under /assets/. I checked this with a Vite 8.3.5 build of the new ui/index.html plus the logo import: favicon.svg is emitted as assets/favicon-<hash>.svg, and the logo is only a data:image/svg+xml,… string in index-<hash>.js. The amended rule in docs/specs/ui.md and the new sentence in branding/README.md both say both files get hashed URLs. The suggestions below change the prose to match what the build does. The CSP's img-src 'self' data: blob: already allows the inlined image. If the spec's /assets/ wording is the contract you want to keep, importing logo-icon.svg?no-inline in App.tsx gives the same result: I checked that it emits assets/logo-icon-<hash>.svg.

The repository's provenance notes still describe the old art. The root README.md hackathon disclosure says "The one exception is branding/: the logo and mascot are reused from the earlier library." After this PR, branding/ holds only the new marks, and the mascot is gone. site/README.md still says branding/ is under Apache-2.0 (LICENSE-branding), and branding/LICENSE is still in the folder even though the README that pointed to it is gone. Both sentences now misstate where the repo's artwork came from, so they should be updated (or the license files dropped) in this PR.

Comment thread docs/specs/ui.md Resolved
Comment thread branding/README.md Resolved

@selfie-bot selfie-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The push deletes site/LICENSE-branding, but site/PRODUCT.md still points to it. Under Brand Commitments it says: "The current hero robot isn't binding, and the logo and mascot reused from the earlier library (Apache-2.0, LICENSE-branding) are available rather than required." After this PR the logo is new, branding/ holds no reused art, and that file is gone. The root AGENTS.md names site/PRODUCT.md as the brief for the site, so whoever works from it is sent to a missing license and told the old logo is still available. Because the line is outside the diff, it can't be an inline suggestion. Something like "The current hero robot isn't binding; the only art reused from the earlier library is the mascot cutout on the video end cards" would match the root README. I can push that if you'd like.

@selfie-bot selfie-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The red selfie check on this head is version skew, not something the branding change broke. The branch is based on 47770fd, so its cli/src/sync.ts still finishes selfie push by calling GET .../batches/:id/diffs/needed. #120 removed that route from the Worker, and the 17:00 App production release (from d1b95a0) put that Worker on app.selfie.dev. The batch, renders, and commit status all uploaded (the selfie status reads "143 stories match what's approved"). Then the old route fell through to the Worker's catch-all, and the push step exited 2 with No such route. The run at 113781e passed only because it ran before that release. Merging main into the branch should clear the check. The PRODUCT.md update fixes what the last review raised, and I found nothing else in the PR.

This branch has not been deployed

No deployments
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.

2 participants