diff --git a/src/App.vue b/src/App.vue index 97c3460..8bad7d2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,3 +1,8 @@ + + @@ -6,15 +11,86 @@ - + + + + + + + + + + + + + - + + import CloseIcon from '../assets/icons/close.svg' + + + + + + + + Liens utiles + + + + + + + + + {{item.title}}{{item.desc}} + + + + + + + + diff --git a/src/components/PlayerPannel.vue b/src/components/PlayerPannel.vue new file mode 100644 index 0000000..0b1fa24 --- /dev/null +++ b/src/components/PlayerPannel.vue @@ -0,0 +1,198 @@ + + + + + + + + + + + {{selectedSong.track}} — {{selectedSong.artist}} + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/data/audioData.js b/src/data/audioData.js new file mode 100644 index 0000000..4281640 --- /dev/null +++ b/src/data/audioData.js @@ -0,0 +1,25 @@ +import audio01 from './juste-tek.mp3' +import audio02 from './sinking-into-.mp3' +import audio03 from './technoloooogia.mp3' + +export async function loadAudioData() { + let audioFiles = [ + { + track: 'the sink', + artist: '333', + src: audio02 + }, + { + track: 'just tek', + artist: '333', + src: audio01 + }, + { + track: 'Technolooooogia', + artist: '333', + src: audio03 + } + ] + //console.log(audioFiles); + return audioFiles +} diff --git a/src/data/juste-tek.mp3 b/src/data/juste-tek.mp3 new file mode 100644 index 0000000..4c2e954 Binary files /dev/null and b/src/data/juste-tek.mp3 differ diff --git a/src/data/sinking-into-.mp3 b/src/data/sinking-into-.mp3 new file mode 100644 index 0000000..f7e847f Binary files /dev/null and b/src/data/sinking-into-.mp3 differ diff --git a/src/data/technoloooogia.mp3 b/src/data/technoloooogia.mp3 new file mode 100644 index 0000000..cbb0311 Binary files /dev/null and b/src/data/technoloooogia.mp3 differ diff --git a/src/dataExchange.js b/src/dataExchange.js index 7042d10..3c4a8db 100644 --- a/src/dataExchange.js +++ b/src/dataExchange.js @@ -8,5 +8,6 @@ export const dataStorage = reactive({ subtitle: '', desc: '' }, - eventInfoActive: false + activePannels: [], + focus: '' }) diff --git a/src/lolLinks.js b/src/lolLinks.js new file mode 100644 index 0000000..bc128b0 --- /dev/null +++ b/src/lolLinks.js @@ -0,0 +1,31 @@ +import { reactive } from 'vue' + +export const lolLinkList = reactive( + [ + { + title: 'test', + desc: 'blah blah description du truc test', + href: '#' + }, + { + title: 'test 0002', + desc: 'blah blah description du truc test', + href: '#' + }, + { + title: 'test 333', + desc: 'encore une autre description du truc test', + href: '#' + }, + { + title: 'test 0002', + desc: 'blah blah description du truc test', + href: '#' + }, + { + title: 'test 333', + desc: 'encore une autre description du truc test', + href: '#' + } + ] +) diff --git a/src/main.js b/src/main.js index a12480a..c7c79d1 100644 --- a/src/main.js +++ b/src/main.js @@ -8,6 +8,8 @@ import lolStatus from './components/lolStatus.vue' import EventContent from './components/EventContent.vue' import EventInfoPannel from './components/EventInfoPannel.vue' +import PlayerPannel from './components/PlayerPannel.vue' +import LinkPannel from './components/LinkPannel.vue' // création app racine const app = createApp(App); @@ -16,6 +18,8 @@ app.component('lolStatusDiv', lolStatus); app.component('eventDiv', EventContent); app.component('eventPannel', EventInfoPannel); +app.component('playerPannel', PlayerPannel); +app.component('linkPannel', LinkPannel); //Démarrage dans div#app de index.html app.mount('#app'); diff --git a/src/style.css b/src/style.css index 8f66ea2..0478f4b 100644 --- a/src/style.css +++ b/src/style.css @@ -204,7 +204,7 @@ html, body{ } .zBase{ - z-index: 33; + z-index: 333; } .zFocus{ @@ -329,7 +329,7 @@ html, body{ height: 200px; position: absolute; top: 55px; - right: 7.77px; + right: 3.33px; z-index: 3; .textBtnStyle{
+ Liens utiles +
{{item.title}}{{item.desc}}