portfolio : decouple animation direction from mockup position
All checks were successful
Deploy / Deploy to Production (push) Successful in 27s
All checks were successful
Deploy / Deploy to Production (push) Successful in 27s
refs #44 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fc1fa42e67
commit
4dc937addd
3 changed files with 15 additions and 4 deletions
|
|
@ -21,6 +21,7 @@ $specificData = [
|
|||
'mockupSrcset' => $mockupFile?->srcset('mockup'),
|
||||
'mockupWebp' => $mockupFile?->srcset('mockup-webp'),
|
||||
'galleryAnimationMode' => $project->galleryAnimationMode()->value() ?: 'vertical',
|
||||
'mockupPosition' => $project->mockupPosition()->value() ?: 'center',
|
||||
'secondsPerImage' => $project->secondsPerImage()->isNotEmpty() ? (int) $project->secondsPerImage()->value() : 8,
|
||||
'galleryBackgroundColor' => $project->galleryBackgroundColor()->value(),
|
||||
'galleryBackgroundImage' => $project->galleryBackgroundImage()->isNotEmpty() ? $project->galleryBackgroundImage()->toFile()->url() : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue