Skip to content

Conversation

@acfranzen
Copy link
Owner

@acfranzen acfranzen commented Feb 5, 2026

Problem

The icon.tsx was recreating the logo SVG inline with transform attributes that don't render correctly at small sizes in Chrome tabs.

Solution

Replace with a static icon.png in src/app/ which Next.js will automatically use as the favicon.

Before/After

Before: Broken/clipped favicon in Chrome tabs
After: Clean PNG favicon that renders correctly at all sizes


Note

Low Risk
Simple asset/UI change that removes an edge-rendered icon generator; main risk is missing/incorrect icon.png placement causing a broken favicon/logo.

Overview
Stops generating the app icon via src/app/icon.tsx (Next ImageResponse SVG) and instead relies on a static icon.png asset for more reliable favicon rendering.

Updates DashboardHeader to display the new PNG logo next to the title and tweaks the title typography (weight/tracking).

Written by Cursor Bugbot for commit 94bacb3. This will update automatically on new commits. Configure here.

The icon.tsx was recreating the logo SVG inline with transform attributes
that don't render correctly at small sizes in Chrome tabs.

Replaced with a static icon.png in src/app/ which Next.js will use
automatically as the favicon.
@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
glance Ready Ready Preview, Comment Feb 5, 2026 4:33pm

Request Review

@acfranzen acfranzen merged commit 9737e22 into main Feb 5, 2026
7 checks passed
@acfranzen acfranzen deleted the zeus/fix-favicon branch February 5, 2026 16:33
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

src="/icon.png"
alt="Glance"
className="h-8 w-8"
/>
Copy link

Choose a reason for hiding this comment

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

Logo image references non-existent public file path

Medium Severity

The <img src="/icon.png"> element references a file at the URL path /icon.png, which requires the file to exist in the public/ directory. However, the PR description states the icon.png is being placed in src/app/ for favicon purposes. Files in src/app/ are served by Next.js's file-based metadata conventions (for favicons) but are not accessible at root URLs for <img> elements. The public/ directory currently contains icon.svg but no icon.png, so this image will fail to load with a 404 error.

Fix in Cursor Fix in Web

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