Skip to content

fix: repair dead links across footer, routing, and guides - #5

Merged
BK5102 merged 1 commit into
mainfrom
fix/dead-links
Oct 2, 2026
Merged

BK5102 merged 1 commit into
mainfrom
fix/dead-links

Conversation

@BK5102

@BK5102 BK5102 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Fixes dead links found in a full audit of devilquant.com (every external URL was checked with curl, and internal routes were checked against the live site).

Problem Fix
Footer Getting Started / Internships / Campus Resources used plain <a href="/resources?...">. On GitHub Pages that path hits 404.html, HashRouter sees no #/ route and renders Home. Use <Link> (hash URLs). "Internships" → visible landing-a-quant-internship guide (the old landing-an-internship slug is hidden). "Campus Resources" removed: no such guide exists.
devilquant.com/about/ rendered a blank page. The build's dist/about/index.html copy loads ./assets/..., which resolves to /about/assets/... (404). Stop creating the copy. 404.html is now a redirect: /about → /#/about, /resources?guide=x → /#/resources?guide=x. If the URL already has a #/ route, that route wins.
Quant-internship guide linked discord.gg/devilquant, which Discord's API reports as an Unknown Invite. Use the working invite discord.com/invite/WJbhDmumXp.
Getting-started guide's QuantStart link returned 502. Removed the QuantStart callout.
Vaibhav Urs and Thomas Tse headshots were LinkedIn CDN URLs that expired 2026-02-19 (403). Set to null (placeholder) until real photo files are added. Removed Thomas's unverified LinkedIn link.

The footer GitHub link (github.com/DevilQuant) is intentionally left unchanged.

How it was tested

  • npm run build passes; dist/about/ is no longer generated.
  • Ran the 404.html redirect script against sample paths: /about, /about/, /resources?guide=…, /projects/.
  • Rendered the built site in headless Edge: footer links render as #/resources?guide=…, and the Internships link opens "Landing a Quant Internship".
  • After deploy, check devilquant.com/about and the footer Resources links on the live site.

Follow-ups

- Footer Resources links use <Link> (hash URLs) instead of plain hrefs that
  hit GitHub Pages' 404 and rendered Home. "Internships" now opens the
  visible quant-internship guide; "Campus Resources" removed (no such guide).
- 404.html now redirects plain paths to hash routes (/about -> /#/about),
  keeping an existing #/ route when present. Drop dist/about/index.html,
  which loaded assets from /about/assets/ and rendered a blank page.
- Quant-internship guide: replace invalid discord.gg/devilquant invite.
- Getting-started guide: remove QuantStart callout (site returns 502).
- leaders.json: drop expired LinkedIn CDN headshot URLs (Vaibhav Urs,
  Thomas Tse) and Thomas's unverified LinkedIn link.
@BK5102

BK5102 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Performance results

Lighthouse, mobile preset (simulated slow 4G, 4x CPU), median of 3 runs, local Edge build served with gzip. Compared with main built the same way.

Build Page Score FCP LCP TBT CLS Weight
main Home 94 2.50 s 2.50 s 0 ms 0.001 3,377 KB
main About 67 2.49 s 2.72 s 2,212 ms 0.014 2,202 KB
#5 Home 93 2.51 s 2.51 s 59 ms 0.001 3,431 KB
#5 About 63 2.47 s 2.70 s 3,692 ms* 0 2,202 KB

Verdict: no performance change expected or measured. This PR only changes links and the 404 redirect; About's code is identical to main. *About's blocking time varies by ±400 ms or more between runs on the old design, and a CPU benchmark was running during these runs, so the 3.7 s is noise, not a regression. The heavy pages (14 MB hero video, animated About decorations) are addressed in #6 and #8.

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