Skip to content

feat(web): add favicon icon#8

Merged
raphaelsalaja merged 2 commits intomainfrom
feat/favicon
Apr 23, 2026
Merged

feat(web): add favicon icon#8
raphaelsalaja merged 2 commits intomainfrom
feat/favicon

Conversation

@raphaelsalaja
Copy link
Copy Markdown
Owner

Summary

  • Adds a programmatic favicon at apps/web/app/icon.tsx using next/og's ImageResponse, picked up automatically by Next.js as the <link rel="icon"> for the site.
  • Mirrors the existing top-nav MusicNote logo: same SVG path, on a circular background using the same Geist tokens (--ds-gray-3 background, --ds-gray-8 fill) for consistency between the browser tab and the in-app logo.

Test plan

  • Run pnpm --filter @web-kits/website dev and confirm the favicon appears in the browser tab.
  • Visit /icon directly and verify the generated PNG renders the music note in a grey circle.
  • Inspect <head> and confirm <link rel="icon" href="/icon?..." type="image/png" sizes="32x32" /> is present.

Made with Cursor

Adds a programmatic favicon at app/icon.tsx using next/og's ImageResponse.
The icon mirrors the top-nav logo: a music note rendered on a circular
ds-gray-3 background with a ds-gray-8 fill, keeping branding consistent
across the browser tab and the in-app logo.

Made-with: Cursor
Copilot AI review requested due to automatic review settings April 23, 2026 12:22
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

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

Project Deployment Actions Updated (UTC)
audio Ready Ready Preview, Comment Apr 23, 2026 0:24am

Request Review

The file is already listed in .gitignore but was tracked from before the
ignore rule was added. Next.js rewrites this file between dev and build
runs (e.g. ./.next/types/routes.d.ts vs ./.next/dev/types/routes.d.ts),
producing noisy diffs that should never be committed.

Made-with: Cursor
@raphaelsalaja raphaelsalaja merged commit d3fe739 into main Apr 23, 2026
3 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a programmatically generated favicon route for the Next.js app (/icon) so the site gets a consistent tab icon without committing static .ico/.png assets.

Changes:

  • Introduces apps/web/app/icon.tsx using next/og’s ImageResponse to render a 32×32 PNG favicon.
  • Renders a music-note SVG on a circular background to match the in-app branding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/web/app/icon.tsx
Comment on lines +18 to +32
background: "#ebebeb",
borderRadius: "50%",
}}
>
<svg
width="18"
height="18"
viewBox="0 0 18 18"
xmlns="http://www.w3.org/2000/svg"
aria-label="Music note"
>
<path
d="M13.014,1.162l-3.5,.477h0c-.862,.118-1.513,.864-1.513,1.734v7.262c-.568-.398-1.256-.635-2-.635-1.93,0-3.5,1.57-3.5,3.5s1.57,3.5,3.5,3.5,3.5-1.57,3.5-3.5V6.405l3.987-.543c.862-.118,1.513-.864,1.513-1.734v-1.231c0-.505-.218-.986-.599-1.318-.381-.333-.894-.484-1.387-.416Z"
fill="#8f8f8f"
/>
Comment thread apps/web/app/icon.tsx
Comment on lines +29 to +31
<path
d="M13.014,1.162l-3.5,.477h0c-.862,.118-1.513,.864-1.513,1.734v7.262c-.568-.398-1.256-.635-2-.635-1.93,0-3.5,1.57-3.5,3.5s1.57,3.5,3.5,3.5,3.5-1.57,3.5-3.5V6.405l3.987-.543c.862-.118,1.513-.864,1.513-1.734v-1.231c0-.505-.218-.986-.599-1.318-.381-.333-.894-.484-1.387-.416Z"
fill="#8f8f8f"
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