From b35694c730eba120aec6dfae6ba743f80f55b474 Mon Sep 17 00:00:00 2001 From: Didictateur Date: Mon, 24 Nov 2025 14:16:10 +0100 Subject: [PATCH] fortification --- public/game.html | 1 + public/index.html | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/game.html b/public/game.html index 3d43f41..755a40c 100644 --- a/public/game.html +++ b/public/game.html @@ -993,6 +993,7 @@ let imgSrc = null; if(cid === 'adoubement' || title.indexOf('adoub') !== -1) imgSrc = '/assets/img/cards/adoubement.png'; if(cid === 'folie' || title.indexOf('folie') !== -1 || title.indexOf('fou') !== -1) imgSrc = '/assets/img/cards/folie.png'; + if(cid === 'fortification' || title.indexOf('fortification') !== -1 || title.indexOf('fortif') !== -1) imgSrc = '/assets/img/cards/fortification.png'; if(imgSrc){ const img = document.createElement('img'); img.src = imgSrc; diff --git a/public/index.html b/public/index.html index 2178892..8ed6966 100644 --- a/public/index.html +++ b/public/index.html @@ -112,6 +112,7 @@ let imgSrc = null; if(cid === 'adoubement' || title.indexOf('adoub') !== -1) imgSrc = '/assets/img/cards/adoubement.png'; if(cid === 'folie' || title.indexOf('folie') !== -1 || title.indexOf('fou') !== -1) imgSrc = '/assets/img/cards/folie.png'; + if(cid === 'fortification' || title.indexOf('fortification') !== -1 || title.indexOf('fortif') !== -1) imgSrc = '/assets/img/cards/fortification.png'; if(imgSrc){ const img = document.createElement('img'); img.src = imgSrc; img.alt = c.title || cid || 'card'; img.className = 'card-art-img'; img.style.width = '100%'; img.style.height = '100%'; img.style.objectFit = 'cover'; art.appendChild(img); } }catch(_){ } top.appendChild(art); @@ -122,8 +123,6 @@ mid.appendChild(h); mid.appendChild(p); const footer = document.createElement('div'); footer.className = 'pokemon-card-footer'; - const playBtn = document.createElement('button'); playBtn.className = 'card-play-btn'; playBtn.textContent = 'Voir'; playBtn.disabled = true; // homepage view: disabled - footer.appendChild(playBtn); cardEl.appendChild(top); cardEl.appendChild(mid);