Commit graph

316 commits

Author SHA1 Message Date
sarahgarcin1
ebe6bb6401 ajout de la page formulaire
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-07-14 19:32:39 +02:00
sarahgarcin1
4926fa8ead ajustement design geoformat
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-14 18:48:24 +02:00
sarahgarcin1
daa70f183c ajustement design geoformat
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-14 18:37:59 +02:00
sarahgarcin1
0990e4765b ajout d'un block gallery avec choix du nombre de colonne dans la grille + ajout de glightbpx sur la galerie + meilleur design des geoformats
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-07-14 18:28:56 +02:00
sarahgarcin1
1e16d13f16 Embed video dans marker cover + Ajout d'un snippet image cover pour le site vitrine avec prise en compte du point focal
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-14 16:48:15 +02:00
sarahgarcin1
78c86ed254 partie web: ajout du même gestionnaire dans le gui que sur la partie print + changement ordre introduction dans gui + Ajout plugin notes de bas de page (et css) + Ajout d'une Vue Grande Carte dans la page Projet
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
2026-07-14 13:26:26 +02:00
sarahgarcin1
657563b619 changer l'aspect-ratio des images sur le site vitrine
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-07-09 10:50:01 +02:00
sarahgarcin1
e5a7ca10f8 changer l'aspect-ratio des images sur le site vitrine
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-07-09 10:46:59 +02:00
sarahgarcin1
350fb0a96e changé l'ordre des éléments dans panneau édition web
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 26s
2026-07-09 10:19:46 +02:00
sarahgarcin1
2bbd2d6b53 fix bug bouton connexion
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 23s
2026-07-06 09:01:22 +02:00
sarahgarcin1
445c6c8211 ajoutd d'un fond sur bouton éditer le print
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-05 19:35:53 +02:00
sarahgarcin1
a2bff99be6 ajout d'un bouton retour vers geoproject dans page projet 2026-07-05 19:34:18 +02:00
sarahgarcin1
5e7ff13ba5 peaufiner le responsive (menu burger notamment) + clean snippet nav-web.php 2026-07-05 19:31:52 +02:00
sarahgarcin1
8b62c92873 ajout des balises meta pour rs
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
2026-07-05 19:12:37 +02:00
sarahgarcin1
900b24825b ajout balises meta et favicon header-web.php 2026-07-05 19:09:49 +02:00
sarahgarcin1
4d79d2b072 design des geoformats
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 5m21s
2026-07-05 18:57:08 +02:00
sarahgarcin1
a6a08c5cf4 amélioration panneau CSS récit web
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-07-05 18:43:16 +02:00
sarahgarcin1
6407e58e28 affichage des pages préface et des pages carte dans récit web
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-07-05 18:28:23 +02:00
sarahgarcin1
2dce02bdc4 ameliorations du gui custom css
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-07-05 17:55:15 +02:00
sarahgarcin1
4fd7f69b76 amélioration du design par défault du récit web
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 5m20s
2026-07-05 16:40:18 +02:00
sarahgarcin1
749ccadccc amélioration de l'interface des récits web : 1) amélioration du paneau d'édition des styles 2) amélioration du design du menu du récit
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
2026-07-05 16:22:24 +02:00
sarahgarcin1
e45bd0dd1c amélioration du panneau css + possibilité d'appliquer ou non le CSS print sur le web
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-03 17:40:36 +02:00
sarahgarcin1
34c981e865 Merge branch 'main' of https://forge.studio-variable.com/studio-variable/geoproject-app
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 20s
2026-07-03 17:01:44 +02:00
sarahgarcin1
7c09362914 ajout de son et vidéos dans les marqueurs + style 2026-07-03 17:01:02 +02:00
sarahgarcin1
da46596385 Marqueurs : support image / vidéo / audio dans le champ cover
marker.yml : label et help mis à jour, accepte image/vidéo/audio

narrative-web.php :
- Article marqueur (colonne droite) : détection du mime type (str_starts_with)
  → image : <img> dans nw-map-marker__cover (comportement actuel)
  → vidéo : <video controls muted loop> dans nw-map-marker__cover--video
  → audio : <figure class="player"> dans nw-map-marker__body (green-audio-player)
  → sinon : numéro sans cover
- Données PHP : ajout coverMime dans le tableau $mData
- Popup MapLibre (JS) : rendu selon coverMime
  → image : <img> (comportement actuel)
  → vidéo : <video controls muted loop> dans nw-popup-cover--video
  → audio : <audio controls> dans nw-popup-audio
- GreenAudioPlayer.init('.player') appelé au DOMContentLoaded

web.css :
- .nw-map-marker__cover--video video : object-fit contain, pleine hauteur
- .nw-map-marker__audio : margin sous le player
- .nw-popup-cover--video, .nw-popup-audio : styles popup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-03 16:54:18 +02:00
isUnknown
9249334dfb fix(map-editor): avoid slug collision when creating a marker after gaps
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 25s
Marker numbering used existingMarkers count + 1, which collides with
an existing slug whenever a prior marker was deleted (e.g. only
"marqueur-2" remains as the sole marker, so the next create attempt
also targets "marqueur-2" and Kirby rejects the duplicate URL id).
Now searches for the next free slug instead, keeping the same list
append position.

#48
2026-07-03 09:15:46 +02:00
isUnknown
e060dc4ad3 fix(narrative): render citation HTML and respect external image source
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
QuoteBlock rendered block.citation as escaped text instead of HTML,
so inline markup like <em> showed as literal tags.

narrative.json.php always resolved the image block's internal file
field regardless of the location toggle, ignoring the external src
field when location=web (unlike snippets/blocks/image.php, which
already handled both cases correctly).
2026-07-02 20:20:26 +02:00
isUnknown
766ef75a6a fix(print): start carte & article on a recto page like geoformat
Section page breaks are driven by stylesheet.print.css (the only CSS that
reaches the PagedJS iframe), where only .geoformat had break-before: right.
Carte and article therefore flowed straight onto the cover page. Add them
to the rule so a narrative opening with a map or préface gets cover → blank
verso → content.

Also document in PagedJsWrapper.vue that its <style> block does not control
page breaks (Vite injects it into the main document, not the iframe).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 20:19:41 +02:00
isUnknown
6216c6a076 merge 2026-07-02 19:35:31 +02:00
isUnknown
3a076f383f feat(article): add Préface page type (print-only)
New article blueprint/template with shared blocks-builder field (also
refactored into chapter.yml via extends). Article items appear in the
narrative JSON, the print renderer, and the content tree (label "Prém."),
but are silently skipped in the web renderer. article.php redirects to
the parent narrative like other leaf-page templates.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 19:34:50 +02:00
isUnknown
2724b006ca feat(intro): isolate cover intro paragraphs as p.intro selector
Add class="intro" to each <p> in the intro field so getSelectorFromElement
returns p.intro instead of p, scoping element settings to intro paragraphs only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 19:34:50 +02:00
sarahgarcin1
d660a29ad1 ajout de vidéo dans les récits
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
2026-07-02 19:26:00 +02:00
sarahgarcin1
3199a22557 ajout d'un player audio avec css custom
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 21s
2026-07-02 19:20:30 +02:00
sarahgarcin1
5583e4437c clean panel
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
2026-07-02 18:33:49 +02:00
sarahgarcin1
20100a765e info projects.yml
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 23s
2026-07-02 17:36:12 +02:00
sarahgarcin1
1c4463d0c1 site vitrine
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 26s
2026-07-02 17:31:57 +02:00
sarahgarcin1
9cbb44c2ca Footer sticky bas de page : hp-wrapper flex-column + hp-footer margin-top auto
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 17:30:08 +02:00
sarahgarcin1
a1ad20a72f Home : section actualités alignée sur actus.php, suppression hp-news-*
- home.php : remplace hp-news-grid/hp-news-card par hp-grid--3/hp-card
  avec cover, date, chapo excerpt (= même code que actus.php) ;
  lien "Toutes les actualités" affiché si > 3 actus et page actus existe ;
  requête filtrée sur intendedTemplate='actu' triée par date desc
- home.css : supprime le bloc hp-news-* (60 lignes de CSS mort)
  + ajoute .hp-section__more (lien "voir tout")
- web.css : ajoute .hp-grid--3 (3 colonnes) + responsive intégré

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 17:22:41 +02:00
sarahgarcin1
33817b1ac6 Fix YAML : guillemets autour du help contenant un ':'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 17:06:59 +02:00
sarahgarcin1
e8c1f55ba9 Ajout filtre par catégorie sur la page tutos
- tuto.yml : champ categories (type: tags, libre)
- tutos.php : collecte des catégories uniques, boutons filtre,
  data-categories sur chaque carte, hp-card__top-meta (date + tags),
  JS vanilla IntersectionObserver-free : toggle is-hidden + compteur
- tuto.php : affiche les catégories en tags dans le header d'article
- home.css : styles hp-filter, hp-filter__btn (actif/hover avec accent),
  hp-filter__count, hp-card__top-meta, hp-card__cats, hp-tag,
  hp-card.is-hidden, hp-article__tags

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 17:04:16 +02:00
sarahgarcin1
ac2239d0c8 Ajout templates tutos/tuto/actus/actu + blueprints + featured project home
Snippets partagés :
- nav-web.php : navigation commune à toutes les pages vitrine
- footer-web.php : footer commun

Blueprints :
- home.yml : champ featuredProject (pages picker) + aboutTitle/aboutText
- tutos.yml : champ intro + tri par date
- tuto.yml : date, chapô (writer), texte (blocks)
- actus.yml : champ intro + tri par date
- actu.yml : date, cover, chapô (writer), texte (blocks)

Templates :
- tutos.php / actus.php : grille hp-grid avec hp-card (= design projects.php)
  actus.php affiche la cover image dans la carte
- tuto.php / actu.php : article type blog avec date, chapô, blocks
  (= design about.php), lien retour vers la section parente
  actu.php : cover pleine largeur en tête

home.php : featuredProject utilise le champ panel sinon premier projet

CSS (home.css) :
- Ajout règles tutos/actus (margin-top 100px)
- Styles hp-article (tuto/actu) : cover, meta, date, back-link, titre,
  chapô séparé par bordure, corps blocks
- hp-section__intro pour les intros de section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 16:52:48 +02:00
sarahgarcin1
15f1beac8b Scrollytelling : ouvre la popup MapLibre au scroll sur le marqueur actif
- deactivate() ferme la popup si elle est ouverte (popup.remove())
- activate() ouvre la popup 750ms après flyTo (après la fin de l'animation)
  avec vérification que l'article est toujours actif avant l'ouverture

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 22:31:59 +02:00
sarahgarcin1
9b13b2a967 Split-screen scrollytelling sur narrative-web : carte fixe + marqueurs au scroll
- web.css : .nw-section--map passe en flex split-screen (50/50) ;
  .nw-map-sticky position:sticky height:100vh gauche ;
  .nw-map-scroll colonne droite scrollable ;
  .nw-map-marker passe en flex-column (suppression grille alternée) ;
  .nw-map-marker.is-active highlight accent au scroll ;
  .nw-marker-active sur l'élément MapLibre (couleur + scale) ;
  responsive 900px : empilement vertical
- narrative-web.php : restructure HTML map en nw-map-sticky + nw-map-scroll ;
  data-marker-uid + data-map-id pour le scrollytelling ;
  window._nwMapRegistry expose map + marker instances pour chaque carte ;
  script scrollytelling IntersectionObserver : active marqueur + flyTo au scroll

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 22:21:00 +02:00
sarahgarcin1
5d7782e727 Ajout panneau CSS web sur narrative-web.php
- narrative.yml : nouveau champ customCssWeb (onglet "CSS Web")
- web2print/index.php : routes GET + POST /narratives/(:all)/css-web
- header-web.php : charge customCssWeb après customCss pour narrative-web
- narrative-web.php : panneau GUI + CSS éditable (auth uniquement)
  · Bouton trigger fixe bas-gauche
  · 5 sections : Page, Textes, Colonnes, Marqueurs, Popups
  · Sync bidirectionnelle GUI ↔ textarea CSS
  · Preview live via <style> injecté dans <head>
  · Sauvegarde via fetch → Kirby (CSRF protégé)
  · Variables CSS --nw-web-* générées dans :root {}

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 21:56:26 +02:00
sarahgarcin1
816e0f6f48 Refactoring CSS : unification des variables et composants partagés
- web.css : variables unifiées --w-* + échelle typo --fs-* ; composants
  partagés hp-* (header, card, grid, section, footer, boutons) ;
  nw-* deviennent des alias vers --w-*
- home.css : réduit aux sections spécifiques (featured, about, archive,
  news) — 713 → 337 lignes
- projet.css : passe sur --w-*, pj-card aligné visuellement sur hp-card
  (même border accent, même typographie, mêmes tailles)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 21:26:15 +02:00
sarahgarcin1
13849291c9 Ajout template home + CSS page d'accueil (savepoint avant refactoring CSS)
Nouvelle page d'accueil avec navigation, projet à la une, grille projets,
archives et actualités. Blueprints pour les nouvelles pages (about, actus,
projects, tutos). Savepoint avant refactoring/unification des CSS web.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 21:15:43 +02:00
ef3ce3a678 Merge pull request 'Ajout typo + background patterns / re-design du panel / fix-impression / panzoom' (#49) from typo-motif into main
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 24s
Reviewed-on: #49
2026-06-29 17:03:34 +00:00
Julie Blanc
b41930ffcc uninstall panzoom + details ARCHITECTURE.md 2026-06-28 00:39:30 +02:00
Julie Blanc
7a4e8ccefd add account to gitignore 2026-06-28 00:33:51 +02:00
Julie Blanc
7be7204870 add panzoom / zoom fluide, pan horizontal et centrage automatique 2026-06-28 00:31:34 +02:00