Skip to content

Fix favicon rendering in portfolio project cards - #32

Merged
DavidAlexandre93 merged 1 commit into
mainfrom
codex/fix-fav-icon-loading-issue
Mar 7, 2026
Merged

Fix favicon rendering in portfolio project cards#32
DavidAlexandre93 merged 1 commit into
mainfrom
codex/fix-fav-icon-loading-issue

Conversation

@DavidAlexandre93

Copy link
Copy Markdown
Owner

Motivation

  • Project card favicons were often broken because the code fetched favicon.ico directly from raw.githubusercontent.com/<owner>/<repo>/..., which frequently does not exist.

Description

  • Use the Google S2 favicon service instead by generating the image URL with https://www.google.com/s2/favicons?sz=256&domain_url=${encodeURIComponent(repository.homepage || repository.html_url)} in src/components/sections/Portfolio/index.tsx so cards use the repository homepage (or repository URL) as a reliable favicon source.

Testing

  • Ran npm run build which failed with vite: not found, ran npm ci which failed with 403 Forbidden when fetching packages, and attempted a Playwright screenshot which failed with ERR_EMPTY_RESPONSE, so no successful local build/test could be completed in this environment.

Codex Task

@vercel

vercel Bot commented Mar 7, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 7 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/david-alexandre-fernandes-projects?upgradeToPro=build-rate-limit

@DavidAlexandre93
DavidAlexandre93 merged commit ef14ac1 into main Mar 7, 2026
0 of 2 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant