Skip to content

perf: replace Font Awesome with inline SVGs, add og-image and sitemap#17

Merged
arjun7965 merged 1 commit intomasterfrom
feat/performance-seo
Mar 15, 2026
Merged

perf: replace Font Awesome with inline SVGs, add og-image and sitemap#17
arjun7965 merged 1 commit intomasterfrom
feat/performance-seo

Conversation

@arjun7965
Copy link
Owner

@arjun7965 arjun7965 commented Mar 15, 2026

Summary

  • Remove Font Awesome dependency (~75KB CSS eliminated): All icons replaced with inline SVGs — hamburger menu, moon/sun theme toggle, briefcase, graduation cap, X/Twitter, LinkedIn, GitHub
  • Add dedicated og:image (1200x630 PNG): Proper social share preview image replacing the tiny apple-touch-icon
  • Add sitemap.xml: Helps search engines index the site

Test plan

  • Verify all icons render correctly on index, books, and 404 pages
  • Verify theme toggle switches between moon and sun SVGs
  • Verify dark mode works on all pages
  • Check Network tab confirms no Font Awesome requests
  • Validate sitemap.xml at /sitemap.xml

🤖 Generated with Claude Code

- Remove Font Awesome CSS dependency (~75KB), use inline SVG icons instead
- Update theme.js to swap SVG paths instead of FA class names
- Add dedicated 1200x630 og-image.png for social share previews
- Update og:image and twitter:image meta tags across all pages
- Add sitemap.xml for search engine indexing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arjun7965 arjun7965 self-assigned this Mar 15, 2026
@arjun7965 arjun7965 merged commit c16db32 into master Mar 15, 2026
1 check passed
@arjun7965 arjun7965 deleted the feat/performance-seo branch March 15, 2026 22:22
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