Skip to content

Conversation

@hexawulf
Copy link
Owner

This commit addresses an issue where favicons were not displaying correctly. The root cause was identified as the use of className (a React-specific attribute) instead of class within the public/favicon.svg file.

Changes:

  • Modified public/favicon.svg to replace all className= attributes with class=.
  • Re-generated all PNG favicons (favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png) from the corrected public/favicon.svg to ensure they reflect the valid SVG structure.
  • Re-created public/favicon.ico using the updated PNGs.

The links in client/index.html were already correct and did not require changes. This change should allow browsers to correctly render the SVG favicon and, by extension, ensure the derived PNGs/ICO are accurate.

This commit addresses an issue where favicons were not displaying correctly. The root cause was identified as the use of `className` (a React-specific attribute) instead of `class` within the `public/favicon.svg` file.

Changes:
- Modified `public/favicon.svg` to replace all `className=` attributes with `class=`.
- Re-generated all PNG favicons (`favicon-16x16.png`, `favicon-32x32.png`, `apple-touch-icon.png`) from the corrected `public/favicon.svg` to ensure they reflect the valid SVG structure.
- Re-created `public/favicon.ico` using the updated PNGs.

The links in `client/index.html` were already correct and did not require changes. This change should allow browsers to correctly render the SVG favicon and, by extension, ensure the derived PNGs/ICO are accurate.
@hexawulf hexawulf merged commit 756a601 into main May 31, 2025
1 check failed
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