diff --git a/v1-com-officielle/public/DATA/Images/ura-bleu.png b/v1-com-officielle/public/DATA/Images/ura-bleu.png new file mode 100644 index 0000000..40f15ca Binary files /dev/null and b/v1-com-officielle/public/DATA/Images/ura-bleu.png differ diff --git a/v1-com-officielle/public/DATA/Images/ura-vert.png b/v1-com-officielle/public/DATA/Images/ura-vert.png new file mode 100644 index 0000000..4d8e40f Binary files /dev/null and b/v1-com-officielle/public/DATA/Images/ura-vert.png differ diff --git a/v1-com-officielle/public/DATA/peopleData.json b/v1-com-officielle/public/DATA/peopleData.json new file mode 100644 index 0000000..063f61d --- /dev/null +++ b/v1-com-officielle/public/DATA/peopleData.json @@ -0,0 +1,94 @@ +[ + { + "type": "folder", + "isSelected": false, + "caption": "Artistes DRAGs", + "description": "Si tu veux en savoir plus sur nos artistes drags, c'est par ici !", + "children": [ + { + "type": "folder", + "isSelected": false, + "caption": "Urazoria", + "description": "Urazoria est une Drag Creature de Limoges, et aussi une des fondatrice de drags & nerds, host de la 1ère édition", + "children": [ + { + "type": "image", + "isSelected": false, + "caption": "Urazoria003.star", + "description": "Urazoria dans son show à XXXX pour XXXX en 2025", + "src":"./DATA/Images/ura-bleu.png" + }, + { + "type": "text", + "isSelected": false, + "caption": "Urazoria.loveMsg", + "description": "Coucou !" + } + ] + }, + { + "type": "text", + "isSelected": false, + "caption": "Urazoria.loveMsg", + "description": "Coucou !" + } + ] + }, + { + "type": "folder", + "isSelected": false, + "caption": "Artistes NERDs", + "description": "Si tu veux en savoir plus sur nos artistes nerds, c'est par là !", + "children": [ + { + "type": "folder", + "isSelected": false, + "caption": "Théo", + "description": "Theo est un musicien qui construit des synthés modulaires", + "children": [ + { + "type": "link", + "isSelected": false, + "caption": "Theo.web", + "description": "Site internet de Theo", + "url":"https://drags-nerds.net" + }, + { + "type": "text", + "isSelected": false, + "caption": "Theo.loveMsg", + "description": "Hello !" + } + ] + } + ] + }, + { + "type": "folder", + "isSelected": false, + "caption": "Autres", + "description": "Dans ce dossier on met en vrac plein de trucs, qu'on trouve cool, sur nous (ou pas), nos valeurs etc. Allez fouiller si vous avez le temps ^^", + "children": [ + { + "type": "link", + "isSelected": false, + "caption": "Background.web", + "description": "Site internet du fond animé, en open source, allez checker ça l'équipe ! (et payer un café à son créateur si vous pouvez hihi)", + "url":"https://collidingscopes.github.io/liquid-shape-distortions" + }, + { + "type": "text", + "isSelected": false, + "caption": "DNN.loveMsg", + "description": "Hello again!" + }, + { + "type": "image", + "isSelected": false, + "caption": "Urazoria003.star", + "description": "Urazoria dans son show à XXXX pour XXXX en 2025", + "src":"./DATA/Images/ura-vert.png" + } + ] + } +] diff --git a/v1-com-officielle/src/data/peopleData.js b/v1-com-officielle/src/data/peopleData.js new file mode 100644 index 0000000..3b97fa9 --- /dev/null +++ b/v1-com-officielle/src/data/peopleData.js @@ -0,0 +1,4 @@ +export async function loadPeopleData() { + const pData = await fetch('/DATA/peopleData.json'); + return await pData.json(); +} diff --git a/v1-com-officielle/src/dataExchange.js b/v1-com-officielle/src/dataExchange.js index b232702..300a57f 100644 --- a/v1-com-officielle/src/dataExchange.js +++ b/v1-com-officielle/src/dataExchange.js @@ -12,5 +12,9 @@ export const dataStorage = reactive({ wasRead: false, isSelected: false, isEvent: false + }, + selectedImg: { + src: "", + caption: "" } }) diff --git a/v1-com-officielle/src/indieComponents/ArtistPannel.vue b/v1-com-officielle/src/indieComponents/ArtistPannel.vue index 6250ea5..a50776f 100644 --- a/v1-com-officielle/src/indieComponents/ArtistPannel.vue +++ b/v1-com-officielle/src/indieComponents/ArtistPannel.vue @@ -4,6 +4,7 @@ import FileIcon from '../assets/icons/file.svg' import ReloadIcon from '../assets/icons/reload.svg' import BackIcon from '../assets/icons/back.svg' + import { loadPeopleData } from '@/data/peopleData.js'