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:
parent
d8a0fde34c
commit
69859cc60f
19 changed files with 63 additions and 76 deletions
|
|
@ -65,8 +65,8 @@
|
|||
|
||||
<!-- Fond : image + overlay, crossfade au changement de jeu -->
|
||||
<div class="play-bg" class:is-out={isOut} aria-hidden="true">
|
||||
{#if displayedGame?.background_image}
|
||||
<img class="play-bg-img" src={displayedGame.background_image} alt="" />
|
||||
{#if displayedGame?.backgroundImage}
|
||||
<img class="play-bg-img" src={displayedGame.backgroundImage} alt="" />
|
||||
{/if}
|
||||
<div class="play-bg-overlay"></div>
|
||||
</div>
|
||||
|
|
@ -99,8 +99,8 @@
|
|||
{/if}
|
||||
|
||||
<div class="play-actions">
|
||||
{#if displayedGame.play_links?.length}
|
||||
{#each displayedGame.play_links as link}
|
||||
{#if displayedGame.playLinks?.length}
|
||||
{#each displayedGame.playLinks as link}
|
||||
<a
|
||||
href={link.url}
|
||||
target="_blank"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue