Skip to content

Fix broken icon paths - #52

Open
Kota-Jagadeesh wants to merge 1 commit into
amfoss:developfrom
Kota-Jagadeesh:fix/socials-path
Open

Fix broken icon paths#52
Kota-Jagadeesh wants to merge 1 commit into
amfoss:developfrom
Kota-Jagadeesh:fix/socials-path

Conversation

@Kota-Jagadeesh

Copy link
Copy Markdown
Collaborator

Rn in the website, when navigating to an individual member page (e.g., https://amfoss.in/team/k-k-surendran) and reloading it, the icons fail to load correctly. The issue was caused by broken relative asset paths. Fixed by switching to absolute asset paths so that icons render properly on reload.

Copilot AI lite review requested due to automatic review settings August 12, 2026 06:38
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

@Kota-Jagadeesh is attempting to deploy a commit to the amFOSS Dev Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes social icon images failing to load on deep routes (e.g., individual member pages) after a reload by replacing relative icon asset paths with root-absolute paths, matching how other public assets are referenced in the Next.js app.

Changes:

  • Updated social icon image entries in content/socials.json from ./assets/... to /assets/... so they resolve correctly regardless of the current route.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Kota-Jagadeesh Kota-Jagadeesh added the bug Something isn't working label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants