diff --git a/README.md b/README.md index 8c69050..1feccd5 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,29 @@ -# hallendienst +# Volleyball ## Project setup + ``` npm install ``` ### Compiles and hot-reloads for development + ``` npm run serve ``` ### Compiles and minifies for production + ``` npm run build ``` ### Lints and fixes files + ``` npm run lint ``` ### Customize configuration + See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/src/App.vue b/src/App.vue index 7de7a92..b20ae86 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,17 @@ @@ -13,190 +19,71 @@ - diff --git a/src/assets/global.css b/src/assets/global.css new file mode 100644 index 0000000..a40a941 --- /dev/null +++ b/src/assets/global.css @@ -0,0 +1,52 @@ +.section-container { + background-color: white; + padding: 20px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + border-radius: 10px; + width: 100%; + max-width: 500px; + margin: 0 auto; +} + +h1, +h2 { + color: #34495e; + font-weight: bold; +} + +h2 { + font-size: 1.8em; + text-transform: uppercase; + border-bottom: 2px solid #16a085; + padding-bottom: 10px; + text-align: left; + color: #16a085; +} + +@media (max-width: 768px) { + h1 { + font-size: 2em; + } + + h2 { + font-size: 1.5em; + } + + .section-container { + padding: 15px; + } +} + +@media (max-width: 480px) { + h1 { + font-size: 1.8em; + } + + h2 { + font-size: 1.3em; + } + + .section-container { + padding: 10px; + } +} diff --git a/src/components/DutyDisplay.vue b/src/components/DutyDisplay.vue index d8113ec..b27c9a2 100644 --- a/src/components/DutyDisplay.vue +++ b/src/components/DutyDisplay.vue @@ -1,33 +1,30 @@ diff --git a/src/components/GameDisplay.vue b/src/components/GameDisplay.vue index 75a9ba2..320ab5b 100644 --- a/src/components/GameDisplay.vue +++ b/src/components/GameDisplay.vue @@ -1,35 +1,28 @@ + + diff --git a/src/data.js b/src/data.js new file mode 100644 index 0000000..576ca08 --- /dev/null +++ b/src/data.js @@ -0,0 +1,146 @@ +export const duties = [ + { + week: 1, + courtDuty: ["Jason", "Tim", "Jacob"], + cashDuty: ["Simon", "Max", "Dima"], + }, + { + week: 2, + courtDuty: ["Niclas, Bruno"], + cashDuty: ["Oleksandr", "Volodymyr", "Jonathan"], + }, + { + week: 3, + courtDuty: ["Benedikt", "MJ"], + cashDuty: ["Jason", "Tim", "Jacob"], + }, + { + week: 4, + courtDuty: ["Ali", "Niklas"], + cashDuty: ["Niclas", "Bruno"], + }, + { + week: 5, + courtDuty: ["Daniel", "Stephan"], + cashDuty: ["Benedikt", "MJ"], + }, + { week: 6, courtDuty: ["Kieran", "Marcel"], cashDuty: ["Ali, Niklas"] }, + { + week: 7, + courtDuty: ["Simon", "Max", "Dima"], + cashDuty: ["Daniel", "Stephan"], + }, + { + week: 8, + courtDuty: ["Oleksandr", "Volodymyr", "Jonathan"], + cashDuty: ["Kieran", "Marcel"], + }, +]; + +export const games = [ + { + date: "2024-09-21", + gameNr: 1, + team1: "Tv Saarwellingen", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2024-09-28", + gameNr: 1, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "SVK Blieskastel-Zweibrücken", + host: 1, + }, + { + date: "2024-09-28", + gameNr: 2, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "TV Klarenthal", + host: 1, + }, + { + date: "2024-11-02", + gameNr: 1, + team1: "TV Düppenweiler", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2024-11-09", + gameNr: 1, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "TV Brebach", + host: 1, + }, + { + date: "2024-11-09", + gameNr: 2, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "TV 06 Limbach", + host: 1, + }, + { + date: "2024-11-30", + gameNr: 2, + team1: "TV Saarwellingen 2", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2024-12-14", + gameNr: 2, + team1: "TV Wiesbach 2", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2025-01-11", + gameNr: 1, + team1: "TV Klarenthal", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2025-01-18", + gameNr: 1, + team1: "TV Brebach", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2025-02-01", + gameNr: 1, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "TV Düppenweiler", + host: 1, + }, + { + date: "2025-02-01", + gameNr: 2, + team1: "DJK Saarbrücken-Rastpfuhl", + team2: "TV Wiesbach 2", + host: 1, + }, + { + date: "2025-02-15", + gameNr: 1, + team1: "TV 06 Limbach", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 1, + }, + { + date: "2025-03-08", + gameNr: 1, + team1: "SVK Blieskastel-Zweibrücken", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 2, + }, + { + date: "2025-03-08", + gameNr: 2, + team1: "TV Saarwellingen", + team2: "DJK Saarbrücken-Rastpfuhl", + host: 2, + }, +]; diff --git a/src/main.js b/src/main.js index 01433bc..4611ed9 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,5 @@ -import { createApp } from 'vue' -import App from './App.vue' +import { createApp } from "vue"; +import App from "./App.vue"; +import "./assets/global.css"; -createApp(App).mount('#app') +createApp(App).mount("#app");