Skip to content

feat(web): add site metadata and Mustaverse Digital favicon - #73

Merged
MustaverseDigital merged 2 commits into
mainfrom
feat/site-metadata-and-favicon
Aug 19, 2026
Merged

feat(web): add site metadata and Mustaverse Digital favicon#73
MustaverseDigital merged 2 commits into
mainfrom
feat/site-metadata-and-favicon

Conversation

@chile109

Copy link
Copy Markdown
Collaborator

Problem

The document head only carried <title>Aurayale</title> — no description, no Open Graph tags. With nothing to read, link scrapers fell back to scraping visible DOM text, producing a garbled preview built from concatenated nav/UI labels:

close diamondAurayale HomeGem CutsSwUp SystemAwardsplay_circle試玩...

The tab icon also still pointed at the old Aurayale favicon rather than the company mark.

Changes

Metadata — src/pages/_document.tsx

  • <title> and description now read Mustaverse Digital 邁思達數位, with a one-line studio intro
  • Full Open Graph set: og:type, og:site_name, og:title, og:description, og:url, og:locale (+ zh_TW alternate), og:image with dimensions and alt text
  • Twitter summary_large_image card, attributed to @MustaverseLab (taken from the existing footer)
  • <link rel="canonical">

The intro line reuses the site's own hero copy from src/i18n/locales/en.ts"IP on cards, on-chain." / "把品牌與角色打造成集換式卡牌經濟。" — so the preview matches the landing page rather than inventing new positioning.

Favicon — generated from public/images/Company Logo.png

File Purpose
favicon.ico Multi-res (16/32/48/64/128/256) tab icon
favicon-16x16.png, favicon-32x32.png Modern PNG favicons
favicon-192x192.png, favicon-512x512.png Android / PWA install icons
apple-touch-icon.png 180×180 iOS home-screen icon
site.webmanifest Manifest referencing the 192/512 pair

Also added theme-color (#15161a), sampled from the logo's own background so mobile browser chrome matches the mark.

OG image — public/images/og-cover.png (1200×630)

Built from the layered-card art (card_layer.jpeg), which carries the TCG + on-chain story. Two rejected alternatives, for the record:

  • banner_03.png — only 735×554, too small and the wrong aspect ratio for a summary_large_image card
  • The Aurayale key art — its "AURAYALE" wordmark collided with the overlaid type and read as a competing logo

Drive-by fixes

The old icon tag was <link rel="icon" type="image/png" href="img/favicon.jpg" />, which had two latent bugs:

  1. Relative href — no leading slash, so it resolved against the current route and would fail to load on nested paths. Now root-absolute.
  2. Type/extension mismatch — declared type="image/png" while pointing at a .jpg.

Verification

  • pnpm tsc --noEmit clean
  • pnpm build succeeds
  • Served HTML on a production server confirmed to emit every meta/icon tag
  • All seven icon/manifest assets return HTTP 200 with correct content types
  • Icon confirmed to resolve on a nested route (/platform), covering the relative-path bug
  • 16px favicon inspected upscaled — the "M" silhouette stays legible at tab size

Notes for the reviewer

  • Brand naming is now inconsistent. Visible site copy still says "Mustaverse Studio" (navbar alt text, footer, hero eyebrow, and both locale files' taglineAurayale / rights / contact body). This PR only changes metadata to "Mustaverse Digital" as requested; a sitewide rename felt out of scope. Happy to follow up.
  • The logo is not composited into the OG image. Logo.svg is vector and no rasterizer was available in this environment, so the card uses typography instead. Drop a PNG of the logo lockup in and it can be added.
  • After merge + deploy, previews will need a forced re-scrape (X Post Inspector / Facebook Sharing Debugger) — the old text is cached. Favicons likewise need a hard reload locally.
  • An unrelated working-tree deletion of public/images/m_banner.png (3.2 MB, unreferenced anywhere in the codebase) was deliberately excluded from this branch.

🤖 Generated with Claude Code

chile109 and others added 2 commits August 19, 2026 16:16
The head only carried `<title>Aurayale</title>` with no description or
Open Graph tags, so link scrapers fell back to scraping visible DOM text
and produced a garbled preview built from concatenated nav labels.

Metadata:
- title and description now read Mustaverse Digital / 邁思達數位, with a
  one-line studio intro drawn from the existing landing hero copy
- full Open Graph set (type, site_name, title, description, url, locale
  + zh_TW alternate, image with dimensions and alt)
- twitter summary_large_image card via @MustaverseLab
- canonical link

Favicon, generated from the company logo:
- multi-res favicon.ico plus 16/32/192/512 PNGs and a 180px Apple touch
  icon, and a webmanifest referencing the 192/512 pair
- theme-color sampled from the logo background

Also fixes two pre-existing bugs in the old icon tag: the href was
relative (`img/favicon.jpg`), so it failed to resolve on nested routes,
and it declared type="image/png" while pointing at a .jpg.

og-cover.png is built from the layered-card art rather than the Aurayale
key art, whose wordmark collided with the type and read as a competing
logo.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aurayale-web Ready Ready Preview Aug 19, 2026 8:25am

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@MustaverseDigital MustaverseDigital left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM

@MustaverseDigital
MustaverseDigital merged commit 52b954a into main Aug 19, 2026
8 checks passed
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