Commit graph

10 commits

Author SHA1 Message Date
isUnknown
967afa28c3 characters : refacto clean code, découpage en modules ES
Noms de variables et fonctions explicites (sans abréviation), fonctions
unitaires, paths SVG construits via template literals avec constantes nommées.
Découpage en assets/js/characters/jump.js et pupilTracking.js, importés dans
script.js. Clamp de la rotation des pieds pour éviter le bounce à l'atterrissage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 08:11:47 +02:00
isUnknown
e7b8bf7aa7 menu : supprimer le curseur custom, bouton fermer fixe en haut à droite
All checks were successful
Deploy / Deploy to Production (push) Successful in 5s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 19:37:15 +02:00
isUnknown
b2d81852e7 menu : curseur 'fermer' custom qui suit la souris, masqué sur éléments interactifs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 19:18:15 +02:00
isUnknown
8df354bfcb menu : toggle open/close, scroll lock, transitions CSS, touche échap, clic extérieur
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 19:08:05 +02:00
isUnknown
da3fd9db2f characters : physique gravité, déclenchement au survol, refactor JS
- Remplace le ressort principal par une cinématique gravité constante (900 SVG/s²) pour un décollage vif et une chute naturelle
- L'animation de saut se déclenche en boucle au mouseenter et s'arrête au mouseleave (atterrissage propre en cours de vol)
- Extrait la logique d'animation dans characters.js, script.js garde uniquement le scroll
- SVG : groupe #right-character-body pour dissocier corps/tête des jambes lors de la compression
- CSS : overflow visible sur le SVG pour le débordement pendant le saut

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 18:18:39 +02:00
isUnknown
fc07d19d6b characters : animer la height identiquement à la width
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 08:28:15 +02:00
isUnknown
3ec0dde771 characters : animer le width du svg de 304px à 150px au scroll, ajouter viewBox pour permettre le resize
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 08:00:03 +02:00
isUnknown
52958b5a8c header : intégrer logo dans le header, animation scroll via CSS variable
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 15:19:31 +02:00
isUnknown
46f170ee86 Reorganize SVG structure and clean up scroll animation
- Restructure characters SVG with proper #right-character and #left-character groups, named IDs on all paths
- Remove pupil tracking experiment from script.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 18:19:01 +02:00
isUnknown
c85e0c5a1a Setup frontend — fonts, SCSS structure, header scroll animation
- Add Bartok font-faces (Regular, Poster, Highlight)
- Structure SCSS with reset, variables, global, header, home partials
- Build fixed header with characters SVG and scroll-driven offset animation
- Add home template wiring snippets
- Update .gitignore to track src/ and exclude local/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 17:53:54 +02:00