Skip to content

feat: NEMAR-branded favicon, apple+android icons, web manifest - #15

Merged
neuromechanist merged 1 commit into
feature/issue-1-epic-nemar-redesignfrom
feature/issue-1-favicon-refresh
May 18, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-1-epic-nemar-redesignfrom
feature/issue-1-favicon-refresh

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

Replaces the generic Astro-default favicon with the NEMAR brain mark (extracted from `nemar-logo.svg`) and ships proper variants for every platform that asks for one.

What's new

Asset Size Purpose
`public/favicon.svg` 9 KB Modern browsers (vector, scales everywhere). Brain in brand teal + purple electrode dots.
`public/favicon.ico` unchanged Legacy browser fallback.
`public/apple-touch-icon.png` 180x180, 29 KB iOS home screen icon — brain on navy gradient, rounded corners.
`public/android-chrome-192x192.png` 192x192, 31 KB Android home screen / PWA standard size.
`public/android-chrome-512x512.png` 512x512, 152 KB Android splash + PWA large icon (`purpose: "any maskable"`).
`public/site.webmanifest` new Tells Chrome/Android how to install as a PWA: name, short_name, icons, theme color.

Base.astro wire-up

```html

\`\`\`

The old apple-touch-icon pointed at `favicon.svg` — that's not what Apple wants. It must be PNG. Fixed.

Notes

  • Colors hardcoded in `favicon.svg` (brand teal `#5bbad5` + brand purple `#603cba`) because CSS variables don't resolve when an SVG is loaded via `<link rel="icon">`. Brand colors are stable across light/dark per tokens.css, so a single fill works on both themes.
  • PNG variants rendered by gstack browse from an HTML composition layering the SVG over the navy brand gradient at the target pixel sizes (1x scale).
  • Web manifest `theme_color` matches the dark navy hero background; `background_color` is white so the PWA splash on light-mode devices doesn't flash.

Test plan

  • After deploy, the browser tab shows the NEMAR brain instead of the Astro default.
  • Mobile Safari "Add to Home Screen" picks up the 180x180 apple-touch-icon.
  • Chrome on Android offers PWA install with the brain icon.
  • `/favicon.svg`, `/apple-touch-icon.png`, `/android-chrome-{192,512}.png`, and `/site.webmanifest` all return 200.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 16, 2026 •

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 58d8715
Status:🚫  Build failed.

View logs

@neuromechanist
neuromechanist force-pushed the feature/issue-1-favicon-refresh branch from 1f68b65 to 58d8715 Compare May 18, 2026 08:16
@neuromechanist
neuromechanist merged commit 61844e2 into feature/issue-1-epic-nemar-redesign May 18, 2026
1 check failed
@neuromechanist
neuromechanist deleted the feature/issue-1-favicon-refresh branch May 18, 2026 08:19
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