This commit is contained in:
isUnknown 2024-10-09 16:32:10 +02:00
parent 276876cec9
commit 4b71e9cf04
37 changed files with 501 additions and 169 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

View file

@ -0,0 +1,17 @@
Sort: 1
----
Description:
----
Tags:
----
Uuid: ZdgqcVCafi92fjRW
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View file

@ -0,0 +1,17 @@
Sort: 3
----
Description:
----
Tags:
----
Uuid: uWljp1hhLgTQkrvg
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View file

@ -0,0 +1,17 @@
Sort: 2
----
Description:
----
Tags:
----
Uuid: 0gTu4wj3Iq8gE6cj
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

View file

@ -0,0 +1,17 @@
Sort: 4
----
Description:
----
Tags:
----
Uuid: lVip0zLI79UQE1Pc
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

View file

@ -0,0 +1,17 @@
Sort: 5
----
Description:
----
Tags:
----
Uuid: CUXmToJVgdHg1g9p
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View file

@ -0,0 +1,17 @@
Sort: 6
----
Description:
----
Tags:
----
Uuid: Ym4SblduGqd0sZmk
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

View file

@ -0,0 +1,17 @@
Sort: 7
----
Description:
----
Tags:
----
Uuid: MXGiJkPHmzL0pTOk
----
Template: image

View file

@ -0,0 +1,5 @@
Title: Matériauthèque
----
Uuid: sYmWEXRPBE9Ym4nn

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View file

@ -0,0 +1,17 @@
Sort: 9
----
Description:
----
Tags:
----
Uuid: l8GM0TOyCeoOcg6A
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View file

@ -0,0 +1,17 @@
Sort: 8
----
Description:
----
Tags:
----
Uuid: gqDPuygWKUv8YcbN
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

View file

@ -0,0 +1,17 @@
Sort: 10
----
Description:
----
Tags:
----
Uuid: QnWXvnSCu3J6XB1b
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

View file

@ -0,0 +1,17 @@
Sort: 11
----
Description:
----
Tags:
----
Uuid: QXGjkFuYnruANPOn
----
Template: image

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View file

@ -0,0 +1,17 @@
Sort: 12
----
Description:
----
Tags:
----
Uuid: BLdRee9ptVDV3ysH
----
Template: image

View file

@ -2,7 +2,7 @@ Description: test de description
----
Tags:
Tags: forme & design, coloris & nuances, parachèvements
----

View file

@ -0,0 +1,11 @@
title: Images ressources
tabs:
contenTab:
label: Contenu
sections:
filesSection:
label: Images
type: files
layout: cards
template: image

View file

@ -0,0 +1,21 @@
<?php
$images = [];
foreach ($page->files() as $image) {
$images[] = [
'url' => $image->url(),
'uuid' => (string) $image->uuid(),
'tags' => $image->tags()->split(),
'name' => $image->filename(),
'description' => $image->description()->value(),
];
}
$specificData = [
"images" => $images
];
$data = array_merge($genericData, $specificData);
echo json_encode($data);

View file

@ -0,0 +1 @@
<?php snippet('generic-template') ?>