From ace0a1e299f6a0ae958db1307a297660d54f0466 Mon Sep 17 00:00:00 2001 From: "LIABEUF, Stephane (External)" Date: Mon, 18 May 2026 02:26:31 +0200 Subject: [PATCH] fix: preserve ?cv= param on infra link and back-to-CV button Co-Authored-By: Claude Sonnet 4.6 --- index.html | 5 ++++- infrastructure.html | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index eba9396..88245f3 100644 --- a/index.html +++ b/index.html @@ -3072,7 +3072,7 @@ ${esc(id.nom)}${esc(id.prenom)}

${esc(id.accroche)}

-
⚡ Voir mon infrastructure
+
⚡ Voir mon infrastructure
${d.stats.map(s => `
@@ -3239,6 +3239,9 @@ const cvAllowed = ['ux', 'dsi']; const cvFile = cvAllowed.includes(cvParam) ? `cv-data-${cvParam}.json` : 'cv-data.json'; + const infraBtn = document.getElementById('infraBtn'); + if (infraBtn && cvParam) infraBtn.href = `infrastructure.html?cv=${cvParam}`; + fetch(cvFile) .then(r => { if (!r.ok) throw new Error('Impossible de charger ' + cvFile + ' (code ' + r.status + ')'); diff --git a/infrastructure.html b/infrastructure.html index 5295f73..264d4ce 100644 --- a/infrastructure.html +++ b/infrastructure.html @@ -716,7 +716,7 @@
- +

MON CODE. MON INFRASTRUCTURE. MA MAÎTRISE.

Liberté, performance et sécurité au service de mon identité professionnelle.

@@ -978,6 +978,10 @@
+ \ No newline at end of file