Commit graph

21 commits

Author SHA1 Message Date
isUnknown
6d71b353f3 Rename horizontalgallery block to horizontal-gallery
All checks were successful
Deploy / Deploy to Production (push) Successful in 13s
- Follow Kirby naming convention with dashes
- Update all references (blueprint, snippet, plugin registration)
- Rebuild plugin with new name

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00
isUnknown
a01323be39 Add default file blueprint with alt and caption fields
- Create default.yml blueprint for all files
- Add caption (legend) and alt (accessibility) fields
- Update image block blueprint: remove alt/caption fields
- Add help text in image block to remind filling these in image blueprint
- Improve image block UI: cards layout, huge size

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00
isUnknown
561932724b Refactor blocks architecture to modular approach
- Restore "1/2, 1/2" layout for flexible column combinations
- Simplify beforeafter block: remove toggle and text field, keep only image comparison
- Create new video block with URL support (YouTube/Vimeo/direct files)
- Create horizontal-gallery block for scrollable image galleries
- Add H4 heading level support
- All blocks now modular: combine with text blocks in 2-column layouts

Blocks available:
- Text, Heading (h2-h4), Image, Video
- Before/After comparison (no text)
- Horizontal gallery (with text below)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00
isUnknown
6251d8f09f Transform beforeafter block into generic image+text block
- Add toggle (isBeforeAfter) to switch between modes
- Mode simple: single image + text (2 columns layout)
- Mode comparison: before/after slider + text (2 columns layout)
- Remove "1/2, 1/2" layout from report blueprint (keep only "1/1")
- Update Vue component with 2-column grid preview
- Update PHP snippet to handle both modes
- Rename block to "Image avec texte"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00
isUnknown
5889b64c2d Invert image order in beforeafter block preview
- Image "before" now displays on top (left side, clipped at 50%)
- Image "after" displays below (visible on right side)
- Update text block to support bullet lists
- Add heading fieldset to report blueprint

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:33 +01:00
isUnknown
3d182a233d Add before/after comparison block plugin
- Create custom block plugin with Vue 3 + Composition API
- Use kirbyup for building Vue SFC components
- Block allows selecting two images with slider comparison UI
- Preview shows images overlapped at 50% in the panel
- Add beforeafter block to report blueprint
- Update report template to use authors field
- Change text block heading level from 4 to 3

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 19:33:32 +01:00
isUnknown
9c874f0af1 Update blueprints for multilingual support
- Extract investigations field to separate file for reusability
- Fix investigations query to work with multilingual pages
- Use site.find() instead of page() for multilingual compatibility

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 14:29:49 +01:00
Julie Blanc
48ded249a3 summary-investigation → delete slides, dynamic nav
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
2026-02-07 14:56:47 +01:00
Julie Blanc
849b506c50 add folders
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
2026-01-25 22:42:02 +01:00
isUnknown
9616e62906 investigation summary blueprint : add report section
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
2026-01-13 14:23:21 +01:00
isUnknown
0364f65771 Mettre à jour blueprint investigations et header pour le renommage
- Blueprint investigations.yml : utilise maintenant le template investigation-summary
- Header : utilise $site->url() au lieu d'une URL en dur pour le lien d'accueil

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 11:57:18 +01:00
isUnknown
1e6b241a98 Dynamiser template investigation-summary et nettoyer blueprint report
Dynamisation complète du template investigation-summary.php :
- Hero adaptatif (image simple, slider ou vidéo) selon heroType
- Lien automatique vers le rapport (sous-page de type report)
- Affichage dynamique des métadonnées (dates, lieu, conséquences, etc.)
- Section synthèse avec support KirbyText
- Section "en lien" avec enquêtes similaires (champ relatedInvestigations ou fallback sur les dernières enquêtes)
- Dates formatées en français via ICU

Nettoyage du blueprint report.yml :
- Suppression du champ indexTeam (remplacé par le champ team en tags)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 11:56:02 +01:00
isUnknown
b5c8a389c3 Renommer investigation en investigation-summary et créer blueprint complet
Renommage des fichiers investigation -> investigation-summary pour mieux
différencier le résumé d'enquête (investigation-summary) du rapport complet (report).

Création du blueprint investigation-summary.yml avec les champs :
- Type de hero (image, slider, vidéo)
- Images hero et URLs vidéo
- Visuel de couverture (cover)
- Synthèse, méthodologie, équipe
- Partenaires et enquêtes en lien

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 11:55:53 +01:00
isUnknown
b158d37cec CI : track header snippet 2026-01-13 11:20:05 +01:00
isUnknown
a2d918ed82 dynamize investigations template
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
2026-01-13 10:48:17 +01:00
Julie Blanc
0ab67c40b9 mise en place template investigation
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
2026-01-06 11:44:56 +01:00
isUnknown
ac2ccf01e2 remove gitlab ci, add forgejo ci
Some checks failed
Deploy / Deploy to Production (push) Failing after 6s
2026-01-05 11:10:44 +01:00
isUnknown
1637b26f58 support : integrate shop 2025-11-04 09:05:55 +01:00
isUnknown
ba0df6b5cb support : integration except products 2025-11-04 08:33:44 +01:00
isUnknown
85a3f0f7be back : add main pages 2025-10-07 16:21:26 +02:00
isUnknown
efa5624dab Initial commit 2025-10-03 07:46:23 +02:00