diff --git a/index.html b/index.html index 927edbd..d7d72c9 100644 --- a/index.html +++ b/index.html @@ -113,8 +113,6 @@
évènements
   → → → à venir :
-
-
diff --git a/public/typo/Velvelyne-Book.ttf b/public/typo/Velvelyne-Book.ttf new file mode 100644 index 0000000..7a4dd9e Binary files /dev/null and b/public/typo/Velvelyne-Book.ttf differ diff --git a/src/App.vue b/src/App.vue index b324744..97c3460 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,8 @@ - + + + + diff --git a/src/components/EventInfoPannel.vue b/src/components/EventInfoPannel.vue new file mode 100644 index 0000000..90de6a8 --- /dev/null +++ b/src/components/EventInfoPannel.vue @@ -0,0 +1,111 @@ + + + + + + + diff --git a/src/dataExchange.js b/src/dataExchange.js new file mode 100644 index 0000000..7042d10 --- /dev/null +++ b/src/dataExchange.js @@ -0,0 +1,12 @@ +import { reactive } from 'vue' + +export const dataStorage = reactive({ + selectedEvent: { + title: '', + date: '', + time: '', + subtitle: '', + desc: '' + }, + eventInfoActive: false +}) diff --git a/src/lolEvents.js b/src/lolEvents.js new file mode 100644 index 0000000..13a2748 --- /dev/null +++ b/src/lolEvents.js @@ -0,0 +1,34 @@ +import { reactive } from 'vue' + +export const lolEventsList = reactive( + [ + { + title: 'test-01', + date: '13/12/26', + time: '13h12', + subtitle: 'test event 001', + desc: 'ça marche !' + }, + { + title: 'test-02', + date: '13/12/26', + time: '13h12', + subtitle: 'test event 002', + desc: 'oui je crois bien' + }, + { + title: 'test-333', + date: '13/12/26', + time: '13h12', + subtitle: 'test event 333 \n test event 333 \n test event 333 \n test event 333', + desc: 'super !' + }, + { + title: 'test-004', + date: '13/12/26', + time: '13h12', + subtitle: 'test event 004', + desc: 'test de très longue description: \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.' + } + ] +) diff --git a/src/main.js b/src/main.js index 91dace5..a12480a 100644 --- a/src/main.js +++ b/src/main.js @@ -5,11 +5,17 @@ import './style.css' import App from './App.vue' // import composants import lolStatus from './components/lolStatus.vue' +import EventContent from './components/EventContent.vue' + +import EventInfoPannel from './components/EventInfoPannel.vue' // création app racine const app = createApp(App); //Composants app.component('lolStatusDiv', lolStatus); +app.component('eventDiv', EventContent); + +app.component('eventPannel', EventInfoPannel); //Démarrage dans div#app de index.html app.mount('#app'); diff --git a/src/style.css b/src/style.css index 96785ef..5eccf1b 100644 --- a/src/style.css +++ b/src/style.css @@ -23,7 +23,7 @@ @font-face { font-family: 'velvelyne'; - src: url('./typo/Velvelyne-Light.ttf') format('truetype'); + src: url('./typo/Velvelyne-Book.ttf') format('truetype'); font-weight: normal; } @@ -189,6 +189,82 @@ html, body{ color: var(--back-color); } +/*==============FENETRES*/ +.windowStyle{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + background-color: var(--back-color); + border-style: solid; + border-width: thin; + border-radius: 16.1px; + border-color: var(--main-color); + overflow: hidden; +} + +.zBase{ + z-index: 33; +} + +.zFocus{ + z-index: revert; + z-index: 1312; +} + +.windowTitle{ + width:100%; + height:50px; + background-color: var(--main-color); + border-radius: 0; + font-family: 'velvelyne'; + font-weight: bold; + text-transform: uppercase; + font-size: 22px; + color: var(--back-color); + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + box-sizing: border-box; + padding-left: 10px; + padding-right: 10px; + cursor: move; +} + + +.windowTitleLower{ + font-family: 'velvelyne'; + font-weight: bold; + font-size: 13.12px; +} + +.closeBtn{ + color: var(--back-color); + background-color: var(--main-color); + border-style: solid; + border-width: thin; + border-radius: 16.1px; + border-color: var(--back-color); + width: 33px; + height: 33px; + align-items: center; +} + +.closeBtn:hover{ + color: var(--main-color); + background-color: var(--back-color); +} + +.windowContent{ + height:77%; + width:100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; +} + /*=============INTERFACE*/ .uiStyle{ background-color: var(--back-color); @@ -569,26 +645,39 @@ html, body{ align-items: flex-start; justify-content: flex-start; box-sizing: border-box; + height: 50vh; #aboutText{ width: 60%; - height: 100%; - overflow-y: scroll; + height: auto; padding-left: 4.44px; padding-right: 13.12px; - box-sizing: border-box; + padding-bottom: 13.12px; + overflow-y: scroll; + + @media(min-width: 700px){ + height: 50vh; + } + @media(min-width: 1300px){ + height: 50vh; + } p{ font-family: 'velvelyne'; font-weight: normal; font-size: 13.12px; color: var(--main-color); + + @media(min-width: 1300px){ + font-size: 20px; + } } } #eventSection{ width: 40%; - height: auto; + height: 100%; + position: relative; #title{ height: 44px;