Add closing slide section with QR codes and styling enhancements

- Introduced a new closing slide section in index.html to thank the audience and provide QR codes for easy access to the repository and slides.
- Added corresponding CSS styles in custom.css to enhance the presentation of the closing slide elements, including layout and typography adjustments.
- Implemented QR code generation for the repository and slides using JavaScript for improved user engagement.
This commit is contained in:
Le Prévost-Corvellec Arnault
2026-04-09 01:07:41 +02:00
parent 4b45521f01
commit 3a52131d1e
2 changed files with 106 additions and 0 deletions

View File

@@ -667,8 +667,31 @@ spec:
honnêtes, plus que chaque ligne du deck.</p>
</aside>
</section>
<section class="slide-fin">
<h1>Merci</h1>
<p class="slide-fin-thanks">Merci pour votre attention.</p>
<p class="slide-fin-cta">Des questions ?</p>
<p class="slide-fin-hint">Dépôt des sources et page daccueil des slides — à scanner pour repartir avec les
liens.</p>
<div class="slide-fin-qr-grid">
<figure class="slide-fin-qr-block">
<figcaption>Dépôt</figcaption>
<div id="qrcode-fin-repo" class="qrcode-fin-wrap" aria-hidden="true"></div>
</figure>
<figure class="slide-fin-qr-block">
<figcaption>Slides — accueil</figcaption>
<div id="qrcode-fin-site" class="qrcode-fin-wrap" aria-hidden="true"></div>
</figure>
</div>
<aside class="notes">
<p>Slide de clôture : laisser le temps de photographier les QR. Rappeler à voix haute le dépôt et lURL des
slides si la salle est loin de lécran.</p>
</aside>
</section>
</div>
<footer class="deck-footer">
<a href="../">Accueil</a>
<span class="deck-footer-sep" aria-hidden="true">·</span>
<a href="https://specificat.io/" rel="noopener noreferrer" target="_blank">Specificat.io</a>
<span class="deck-footer-sep" aria-hidden="true">·</span>
<span class="deck-footer-rights">All rights reserved</span>
@@ -799,6 +822,22 @@ spec:
});
})();
</script>
<script src="https://cdn.jsdelivr.net/npm/qrcodejs/qrcode.min.js"></script>
<script>
(function () {
if (typeof QRCode === "undefined") return;
var repoUrl = "https://git.specificat.io/arnault/Talks";
var talksHome = new URL("../", window.location.href);
talksHome.hash = "";
var siteUrl = talksHome.href;
var repoEl = document.getElementById("qrcode-fin-repo");
var siteEl = document.getElementById("qrcode-fin-site");
var qrOpts = { width: 150, height: 150 };
if (repoEl) new QRCode(repoEl, Object.assign({ text: repoUrl }, qrOpts));
if (siteEl) new QRCode(siteEl, Object.assign({ text: siteUrl }, qrOpts));
})();
</script>
</body>
</html>