Les éléments .reveal démarraient à opacity: 0 et n'apparaissaient qu'une fois la classe is-visible ajoutée par JS : sans JavaScript, ces sections restaient invisibles. Un script inline (nonce CSP) remplace la classe no-js par js sur <html>, et le masquage initial ne s'applique plus que sous .js.
85 lines
5.1 KiB
PHP
85 lines
5.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr" data-theme="light" class="no-js">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<script nonce="<?= Security::cspNonce() ?>">document.documentElement.classList.replace('no-js', 'js');</script>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Tony AVERTY, développeur web freelance et fondateur de CodeBzh. Création de sites sur mesure, refonte, back-end et UI design. Code propre, livraison rigoureuse, réponse sous 24h.">
|
|
<meta name="author" content="Tony AVERTY">
|
|
<meta name="robots" content="index, follow">
|
|
|
|
<!-- Open Graph -->
|
|
<meta property="og:title" content="Tony AVERTY — Développeur Web Freelance">
|
|
<meta property="og:description" content="Développeur web freelance et fondateur de CodeBzh. Sites sur mesure, refonte, back-end, UI design.">
|
|
<meta property="og:url" content="https://tony-averty.dev/">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:locale" content="fr_FR">
|
|
|
|
<title>Tony AVERTY — Développeur Web Freelance | Sites sur mesure & Applications</title>
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" href="/assets/img/favicon.svg" type="image/svg+xml">
|
|
|
|
<!-- Styles -->
|
|
<link rel="stylesheet" href="assets/css/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Barre de progression scroll -->
|
|
<div class="scroll-progress" id="scrollProgress" aria-hidden="true"></div>
|
|
|
|
<!-- Navigation -->
|
|
<nav class="navbar" id="navbar" role="navigation" aria-label="Navigation principale">
|
|
<div class="navbar__container">
|
|
<a href="#hero" class="navbar__logo" aria-label="Retour à l'accueil">
|
|
<span class="navbar__logo-text">Tony<span class="navbar__logo-accent">.</span></span>
|
|
</a>
|
|
|
|
<ul class="navbar__menu" id="navMenu" role="menubar">
|
|
<li role="none"><a href="#about" class="navbar__link" role="menuitem">À propos</a></li>
|
|
<li role="none"><a href="#skills" class="navbar__link" role="menuitem">Compétences</a></li>
|
|
<li role="none"><a href="#projects" class="navbar__link" role="menuitem" id="navProjects">Projets</a></li>
|
|
<li role="none"><a href="#services" class="navbar__link" role="menuitem">Services</a></li>
|
|
<li role="none"><a href="#contact" class="navbar__link navbar__link--cta" role="menuitem">Contact</a></li>
|
|
</ul>
|
|
|
|
<div class="navbar__actions">
|
|
<!-- Lien BackOffice (admin connecté uniquement) -->
|
|
<?php if (!empty($_SESSION['admin_id'])): ?>
|
|
<a href="/admin/dashboard.php" class="navbar__admin-link" aria-label="Accéder au BackOffice">
|
|
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>
|
|
BackOffice
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<!-- Theme switch -->
|
|
<button class="theme-switch" id="themeSwitch" type="button" aria-label="Changer de thème">
|
|
<span class="theme-switch__icon theme-switch__icon--sun" aria-hidden="true">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="5"></circle>
|
|
<line x1="12" y1="1" x2="12" y2="3"></line>
|
|
<line x1="12" y1="21" x2="12" y2="23"></line>
|
|
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
|
|
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
|
|
<line x1="1" y1="12" x2="3" y2="12"></line>
|
|
<line x1="21" y1="12" x2="23" y2="12"></line>
|
|
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
|
|
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
|
|
</svg>
|
|
</span>
|
|
<span class="theme-switch__icon theme-switch__icon--moon" aria-hidden="true">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
|
|
</svg>
|
|
</span>
|
|
</button>
|
|
|
|
<!-- Burger mobile -->
|
|
<button class="navbar__burger" id="navBurger" type="button" aria-label="Ouvrir le menu" aria-expanded="false" aria-controls="navMenu">
|
|
<span class="navbar__burger-line"></span>
|
|
<span class="navbar__burger-line"></span>
|
|
<span class="navbar__burger-line"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|