diff --git a/public/content/creations/black-1984277_1280.jpg b/public/content/creations/black-1984277_1280.jpg new file mode 100644 index 0000000..8cb0aa6 Binary files /dev/null and b/public/content/creations/black-1984277_1280.jpg differ diff --git a/public/content/creations/black-1984277_1280.jpg.txt b/public/content/creations/black-1984277_1280.jpg.txt new file mode 100644 index 0000000..1052190 --- /dev/null +++ b/public/content/creations/black-1984277_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 1 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: ZdgqcVCafi92fjRW + +---- + +Template: image \ No newline at end of file diff --git a/public/content/creations/creations.txt b/public/content/creations/images-resources.txt similarity index 100% rename from public/content/creations/creations.txt rename to public/content/creations/images-resources.txt diff --git a/public/content/creations/perfume-1042715_1280.jpg b/public/content/creations/perfume-1042715_1280.jpg new file mode 100644 index 0000000..38cae17 Binary files /dev/null and b/public/content/creations/perfume-1042715_1280.jpg differ diff --git a/public/content/creations/perfume-1042715_1280.jpg.txt b/public/content/creations/perfume-1042715_1280.jpg.txt new file mode 100644 index 0000000..67a0842 --- /dev/null +++ b/public/content/creations/perfume-1042715_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 3 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: uWljp1hhLgTQkrvg + +---- + +Template: image \ No newline at end of file diff --git a/public/content/creations/perfume-144546_1280.jpg b/public/content/creations/perfume-144546_1280.jpg new file mode 100644 index 0000000..ba16ec9 Binary files /dev/null and b/public/content/creations/perfume-144546_1280.jpg differ diff --git a/public/content/creations/perfume-144546_1280.jpg.txt b/public/content/creations/perfume-144546_1280.jpg.txt new file mode 100644 index 0000000..e331e55 --- /dev/null +++ b/public/content/creations/perfume-144546_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 2 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: 0gTu4wj3Iq8gE6cj + +---- + +Template: image \ No newline at end of file diff --git a/public/content/creations/perfume-2643349_1280.jpg b/public/content/creations/perfume-2643349_1280.jpg new file mode 100644 index 0000000..e9b3bbb Binary files /dev/null and b/public/content/creations/perfume-2643349_1280.jpg differ diff --git a/public/content/creations/perfume-2643349_1280.jpg.txt b/public/content/creations/perfume-2643349_1280.jpg.txt new file mode 100644 index 0000000..cedb3ab --- /dev/null +++ b/public/content/creations/perfume-2643349_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 4 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: lVip0zLI79UQE1Pc + +---- + +Template: image \ No newline at end of file diff --git a/public/content/creations/perfume-2721147_1280.jpg b/public/content/creations/perfume-2721147_1280.jpg new file mode 100644 index 0000000..3d06644 Binary files /dev/null and b/public/content/creations/perfume-2721147_1280.jpg differ diff --git a/public/content/creations/perfume-2721147_1280.jpg.txt b/public/content/creations/perfume-2721147_1280.jpg.txt new file mode 100644 index 0000000..7b2ca7f --- /dev/null +++ b/public/content/creations/perfume-2721147_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 5 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: CUXmToJVgdHg1g9p + +---- + +Template: image \ No newline at end of file diff --git a/public/content/creations/perfume-4718455_1280.jpg b/public/content/creations/perfume-4718455_1280.jpg new file mode 100644 index 0000000..82312ed Binary files /dev/null and b/public/content/creations/perfume-4718455_1280.jpg differ diff --git a/public/content/creations/perfume-4718455_1280.jpg.txt b/public/content/creations/perfume-4718455_1280.jpg.txt new file mode 100644 index 0000000..eb528f6 --- /dev/null +++ b/public/content/creations/perfume-4718455_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 6 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: Ym4SblduGqd0sZmk + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/black-1984277_1280.jpg b/public/content/materials/black-1984277_1280.jpg new file mode 100644 index 0000000..8cb0aa6 Binary files /dev/null and b/public/content/materials/black-1984277_1280.jpg differ diff --git a/public/content/materials/black-1984277_1280.jpg.txt b/public/content/materials/black-1984277_1280.jpg.txt new file mode 100644 index 0000000..0d99cd6 --- /dev/null +++ b/public/content/materials/black-1984277_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 7 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: MXGiJkPHmzL0pTOk + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/images-resources.txt b/public/content/materials/images-resources.txt new file mode 100644 index 0000000..4b89c32 --- /dev/null +++ b/public/content/materials/images-resources.txt @@ -0,0 +1,5 @@ +Title: Matériauthèque + +---- + +Uuid: sYmWEXRPBE9Ym4nn \ No newline at end of file diff --git a/public/content/materials/materials.txt b/public/content/materials/materials.txt deleted file mode 100644 index 882638a..0000000 --- a/public/content/materials/materials.txt +++ /dev/null @@ -1 +0,0 @@ -Uuid: sYmWEXRPBE9Ym4nn \ No newline at end of file diff --git a/public/content/materials/perfume-1042715_1280.jpg b/public/content/materials/perfume-1042715_1280.jpg new file mode 100644 index 0000000..38cae17 Binary files /dev/null and b/public/content/materials/perfume-1042715_1280.jpg differ diff --git a/public/content/materials/perfume-1042715_1280.jpg.txt b/public/content/materials/perfume-1042715_1280.jpg.txt new file mode 100644 index 0000000..250194c --- /dev/null +++ b/public/content/materials/perfume-1042715_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 9 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: l8GM0TOyCeoOcg6A + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/perfume-144546_1280.jpg b/public/content/materials/perfume-144546_1280.jpg new file mode 100644 index 0000000..ba16ec9 Binary files /dev/null and b/public/content/materials/perfume-144546_1280.jpg differ diff --git a/public/content/materials/perfume-144546_1280.jpg.txt b/public/content/materials/perfume-144546_1280.jpg.txt new file mode 100644 index 0000000..1109d67 --- /dev/null +++ b/public/content/materials/perfume-144546_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 8 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: gqDPuygWKUv8YcbN + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/perfume-2643349_1280.jpg b/public/content/materials/perfume-2643349_1280.jpg new file mode 100644 index 0000000..e9b3bbb Binary files /dev/null and b/public/content/materials/perfume-2643349_1280.jpg differ diff --git a/public/content/materials/perfume-2643349_1280.jpg.txt b/public/content/materials/perfume-2643349_1280.jpg.txt new file mode 100644 index 0000000..52a89f0 --- /dev/null +++ b/public/content/materials/perfume-2643349_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 10 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: QnWXvnSCu3J6XB1b + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/perfume-2721147_1280.jpg b/public/content/materials/perfume-2721147_1280.jpg new file mode 100644 index 0000000..3d06644 Binary files /dev/null and b/public/content/materials/perfume-2721147_1280.jpg differ diff --git a/public/content/materials/perfume-2721147_1280.jpg.txt b/public/content/materials/perfume-2721147_1280.jpg.txt new file mode 100644 index 0000000..db3c88c --- /dev/null +++ b/public/content/materials/perfume-2721147_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 11 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: QXGjkFuYnruANPOn + +---- + +Template: image \ No newline at end of file diff --git a/public/content/materials/perfume-4718455_1280.jpg b/public/content/materials/perfume-4718455_1280.jpg new file mode 100644 index 0000000..82312ed Binary files /dev/null and b/public/content/materials/perfume-4718455_1280.jpg differ diff --git a/public/content/materials/perfume-4718455_1280.jpg.txt b/public/content/materials/perfume-4718455_1280.jpg.txt new file mode 100644 index 0000000..8321efb --- /dev/null +++ b/public/content/materials/perfume-4718455_1280.jpg.txt @@ -0,0 +1,17 @@ +Sort: 12 + +---- + +Description: + +---- + +Tags: + +---- + +Uuid: BLdRee9ptVDV3ysH + +---- + +Template: image \ No newline at end of file diff --git a/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/perfume-2721147_1280.jpg.txt b/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/perfume-2721147_1280.jpg.txt index 5e232a5..4fef9da 100644 --- a/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/perfume-2721147_1280.jpg.txt +++ b/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/perfume-2721147_1280.jpg.txt @@ -2,7 +2,7 @@ Description: test de description ---- -Tags: +Tags: forme & design, coloris & nuances, parachèvements ---- diff --git a/public/site/blueprints/pages/images-resources.yml b/public/site/blueprints/pages/images-resources.yml new file mode 100644 index 0000000..980a5c1 --- /dev/null +++ b/public/site/blueprints/pages/images-resources.yml @@ -0,0 +1,11 @@ +title: Images ressources + +tabs: + contenTab: + label: Contenu + sections: + filesSection: + label: Images + type: files + layout: cards + template: image diff --git a/public/site/templates/images-resources.json.php b/public/site/templates/images-resources.json.php new file mode 100644 index 0000000..7a56453 --- /dev/null +++ b/public/site/templates/images-resources.json.php @@ -0,0 +1,21 @@ +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); \ No newline at end of file diff --git a/public/site/templates/images-resources.php b/public/site/templates/images-resources.php new file mode 100644 index 0000000..4ed6305 --- /dev/null +++ b/public/site/templates/images-resources.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/site/templates/materials.php b/public/site/templates/materials.php deleted file mode 100644 index e69de29..0000000 diff --git a/src/components/project/ClientBrief/AddImagesModal.vue b/src/components/project/ClientBrief/AddImagesModal.vue index 57c4ba1..de69784 100644 --- a/src/components/project/ClientBrief/AddImagesModal.vue +++ b/src/components/project/ClientBrief/AddImagesModal.vue @@ -9,145 +9,22 @@