Skip to content

Favicon doesn't match assetmantle.one branding #105

@deepanshutr

Description

@deepanshutr

What

The favicon served at https://explorer.assetmantle.one/assets/images/Favicon.ico is the legacy explorer icon (a non-AssetMantle mark). It doesn't match the website (assetmantle.one) which uses its own pixel-style AssetMantle favicon.

After PR #102 + #103 aligned the explorer's logo, fonts, palette and lightMode defaults with the website, the favicon is the last visible brand mismatch — a tab from the explorer doesn't read as AssetMantle in browser tab strips, bookmarks bars, or pinned tabs.

What it should be

The same favicon set that ships with the website repo:

  • Source: ~/github.com/AssetMantle/website/app/favicon.ico (Next.js convention)
  • Likely we want both .ico (back-compat) and a higher-res PNG / SVG plus apple-touch-icon and a manifest.webmanifest for PWA-style installs.

Suggested fix

  1. Copy favicon.ico from AssetMantle/website into AssetMantle/client/public/images/Favicon.ico (replacing the current file).
  2. Optionally add favicon-32.png, favicon-192.png, apple-touch-icon.png and update <head> in app/views/base/common.scala.html to reference them.
  3. While there: the existing <link rel="icon" href="/assets/images/Favicon.ico"/> is unfingerprinted; switch it to @routes.Assets.versioned("images/Favicon.ico") so the new sbt-digest pipeline (PR build: enable sbt-digest for content-addressed asset URLs #101) auto-invalidates the cache when the icon changes.

Acceptance

  • New tab on https://explorer.assetmantle.one/ shows the same icon as https://assetmantle.one/.
  • Pinned/bookmarked tabs in Chrome/Safari/Firefox show the AssetMantle pixel mark.
  • Cache-Control on the icon URL is max-age=31536000, immutable (because it's now a fingerprinted asset).

Context (for future picker)

🤖 Filed via Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions