Refactor: snake_case → camelCase dans blueprints, templates et vues

- Blueprints : renommage des champs (member_name, related_articles,
  background_video, play_links, images_gallery, external_links) et
  des noms de sections
- Templates JSON PHP : clés de sortie et appels ->method() en camelCase
- Vues Svelte (Play, Portfolio) : accès aux données alignés

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-09 13:40:33 +01:00
parent d8a0fde34c
commit 69859cc60f
19 changed files with 63 additions and 76 deletions

View file

@ -10,10 +10,10 @@ $specificData = [
'impact' => $page->impact()->split(','),
'category' => $page->category()->value(),
'platforms' => $page->platforms()->split(','),
'client_name' => $page->client_name()->value(),
'apple_link' => $page->apple_link()->value(),
'android_link' => $page->android_link()->value(),
'web_link' => $page->web_link()->value(),
'clientName' => $page->clientName()->value(),
'appleLink' => $page->appleLink()->value(),
'androidLink' => $page->androidLink()->value(),
'webLink' => $page->webLink()->value(),
'prev' => $page->prev() ? [
'title' => $page->prev()->title()->value(),
'url' => $page->prev()->url()
@ -22,7 +22,7 @@ $specificData = [
'title' => $page->next()->title()->value(),
'url' => $page->next()->url()
] : null,
'parent_url' => $page->parent()->url()
'parentUrl' => $page->parent()->url()
];
$pageData = array_merge($genericData, $specificData);