add interactive 3D sample animated by threejs

This commit is contained in:
isUnknown 2024-09-23 18:34:02 +02:00
parent ee4e6adf06
commit 32dc56f9dd
17 changed files with 165 additions and 26 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -0,0 +1 @@
Uuid: OcfuImJZoRDv8tPB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View file

@ -0,0 +1,9 @@
Favoriteforusers:
----
Uuid: INXC9OOVmvBjPHZw
----
Template: inspiration

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View file

@ -0,0 +1,9 @@
Favoriteforusers:
----
Uuid: LDbC2tGWZmJYuyQR
----
Template: inspiration

View file

@ -0,0 +1,28 @@
Title: Autre inspiration
----
Cover: - file://OcfuImJZoRDv8tPB
----
Date: 2024-09-24
----
New: false
----
Description: Nulla arcu gravida sollicitudin suspendisse proin tincidunt eu erat fusce sem massa dolor lorem enim nisi commodo scelerisque diam hendrerit amet adipiscing amet aliquam congue. Nisi arcu nunc congue lacus sem quam nisi ex sit urna ac rutrum cursus suspendisse sit amet condimentum portaest amet elit ac felis eget id.
----
Media:
- file://LDbC2tGWZmJYuyQR
- file://INXC9OOVmvBjPHZw
----
Uuid: 7wws4Jxf2f5iR10B

View file

@ -28,6 +28,7 @@ tabs:
type: date
display: YY/MM
required: true
default: today
width: 2/12
new:
label: Nouveauté

View file

@ -1,9 +1,9 @@
<?php
return function($newPage, $oldPage) {
if ($newPage->template() != "project") return;
return function($page) {
if ($page->template() != "project") return;
$newPage->createChild([
$page->createChild([
'slug' => 'client-brief',
'template' => 'client-brief',
'content' => [
@ -11,7 +11,7 @@ return function($newPage, $oldPage) {
]
]);
$newPage->createChild([
$page->createChild([
'slug' => 'proposal',
'template' => 'proposal',
'content' => [
@ -19,7 +19,7 @@ return function($newPage, $oldPage) {
]
]);
$newPage->createChild([
$page->createChild([
'slug' => 'extended-brief',
'template' => 'extended-brief',
'content' => [
@ -27,7 +27,7 @@ return function($newPage, $oldPage) {
]
]);
$newPage->createChild([
$page->createChild([
'slug' => 'sample',
'template' => 'sample',
'content' => [