mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
Move GitHub token server-side, add privacy note, fix LinkedIn icon
Adds a small server/ proxy so the GitHub token never reaches the browser (server holds it, client calls /api/contributions), with rate limiting and response caching. Adds a collapsible UK GDPR privacy note to the Contact footer. Strips the background badge from the LinkedIn icon so it matches GitHub's bare-silhouette style. Removes em dashes and tightens some project copy. Increases the light-mode contrast between the 0 and 1 commit levels in the contribution graph. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
655e2cd32c
commit
7d1d2feccb
13 files changed
+1229
-118
No files matched your search
@@ -12,5 +12,5 @@ So either:
|
||||
1. name your file exactly "Bob-CV.pdf", or
|
||||
2. change profile.cvUrl in src/content.js to match your filename.
|
||||
|
||||
No build config changes needed — Vite serves everything in public/ as-is,
|
||||
No build config changes needed. Vite serves everything in public/ as-is,
|
||||
in dev and in the production build (and inside a container later).
|
||||
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
@@ -0,0 +1,6 @@
|
||||
(function () {
|
||||
try {
|
||||
var saved = localStorage.getItem("theme");
|
||||
if (saved === "dark") document.documentElement.dataset.theme = "dark";
|
||||
} catch (e) {}
|
||||
})();
|
||||
Reference in new issue
Block a user