Ajout favicon R, retrait photo accueil et projet OTA
- Favicon R (SVG) ajoute sur toutes les pages (onglet navigateur) - Suppression de la photo d'accueil (placeholder) et du JS associe - Nouvelle fiche projet OTA (outil Bash d'hebergement web) + carte dans projets - README mis a jour (OTA dans la liste des pages)
This commit is contained in:
1 parent
02954eae4e
commit
c35933bdad
11 files changed
+188
-27
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="R">
|
||||
<circle cx="32" cy="32" r="31" fill="#0a0a0a"/>
|
||||
<text x="32" y="33" text-anchor="middle" dominant-baseline="central"
|
||||
font-family="Georgia, 'Times New Roman', serif" font-size="38" font-weight="600" fill="#fafaf7">R</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 328 B |
@@ -17,17 +17,6 @@
|
||||
});
|
||||
}
|
||||
|
||||
/* --- Photo d'accueil : repli si l'image est absente ---- */
|
||||
const heroImg = document.querySelector('.hero-photo img');
|
||||
if (heroImg) {
|
||||
heroImg.addEventListener('error', () => {
|
||||
const ph = document.createElement('div');
|
||||
ph.className = 'hero-photo-placeholder';
|
||||
ph.textContent = 'photo.jpg';
|
||||
heroImg.replaceWith(ph);
|
||||
});
|
||||
}
|
||||
|
||||
/* --- Formulaire de contact (statique, via client mail) - */
|
||||
const form = document.querySelector('form[data-contact]');
|
||||
if (form) {
|
||||
|
||||
Reference in new issue
Block a user