- Formulaire HTML5 avec validation (nom, prénom, email, entreprise, catégorie, objet, message) - Validation JavaScript côté client (FormValidator) - Persistance localStorage des données (AppState) - Intégration reCAPTCHA v3 avec dégradation gracieuse - Traitement PHP sécurisé (CSRF, validation, envoi email) - Feedback utilisateur AJAX (succès/erreur) - Liens contact secondaires (LinkedIn, GitHub, Email protégé) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
783 B
PHP
24 lines
783 B
PHP
<?php
|
|
/**
|
|
* Template Footer
|
|
*/
|
|
$currentYear = date('Y');
|
|
?>
|
|
<!-- Footer -->
|
|
<footer class="bg-surface border-t border-border py-8 mt-auto">
|
|
<div class="container-content text-center">
|
|
<p class="text-text-muted text-sm">
|
|
© <?= $currentYear ?> Portfolio. Tous droits réservés.
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Scripts -->
|
|
<?php if (defined('RECAPTCHA_SITE_KEY') && RECAPTCHA_SITE_KEY): ?>
|
|
<script>window.RECAPTCHA_SITE_KEY = '<?= htmlspecialchars(RECAPTCHA_SITE_KEY) ?>';</script>
|
|
<script src="https://www.google.com/recaptcha/api.js?render=<?= htmlspecialchars(RECAPTCHA_SITE_KEY) ?>" async defer></script>
|
|
<?php endif; ?>
|
|
<script src="/assets/js/main.js" defer></script>
|
|
</body>
|
|
</html>
|