Compare commits
No commits in common. "c0a50e547deab613818fc43da8b45f565cc19b9f" and "9ec9dbf085c763a012c47093a4b50a9b55a0e327" have entirely different histories.
c0a50e547d
...
9ec9dbf085
6 changed files with 374 additions and 839 deletions
37
src/App.vue
37
src/App.vue
|
|
@ -12,11 +12,6 @@
|
||||||
<SectionContainer title="Anstehende Spiele">
|
<SectionContainer title="Anstehende Spiele">
|
||||||
<GameDisplay :games="games" />
|
<GameDisplay :games="games" />
|
||||||
</SectionContainer>
|
</SectionContainer>
|
||||||
|
|
||||||
<!-- PastGames Component -->
|
|
||||||
<SectionContainer title="Vergangene Spiele">
|
|
||||||
<PastGames :games="games" />
|
|
||||||
</SectionContainer>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -24,22 +19,20 @@
|
||||||
<script>
|
<script>
|
||||||
import DutyDisplay from "./components/DutyDisplay.vue";
|
import DutyDisplay from "./components/DutyDisplay.vue";
|
||||||
import GameDisplay from "./components/GameDisplay.vue";
|
import GameDisplay from "./components/GameDisplay.vue";
|
||||||
import SectionContainer from "./components/SectionContainer.vue";
|
import SectionContainer from "./components/SectionContainer.vue"; // New reusable container
|
||||||
import PastGames from "./components/PastGames.vue";
|
import { duties, games } from "./data"; // Importing duties and games
|
||||||
import { duties, games } from "./data";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
components: {
|
components: {
|
||||||
DutyDisplay,
|
DutyDisplay,
|
||||||
GameDisplay,
|
GameDisplay,
|
||||||
PastGames,
|
SectionContainer, // Reusable container for sections
|
||||||
SectionContainer,
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
duties,
|
duties, // Use imported duties data
|
||||||
games,
|
games, // Use imported games data
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
@ -49,17 +42,17 @@ export default {
|
||||||
#app {
|
#app {
|
||||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: var(--color-background);
|
background-color: #f4f4f9;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center; /* Center content vertically */
|
||||||
align-items: center;
|
align-items: center; /* Center content horizontally */
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: var(--color-text);
|
color: #34495e;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
@ -67,30 +60,30 @@ h1 {
|
||||||
|
|
||||||
.main-container {
|
.main-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column; /* Stack items vertically */
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
align-items: center;
|
align-items: center; /* Center the containers horizontally */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
#app {
|
#app {
|
||||||
padding: 10px;
|
padding: 10px; /* Reduce padding on mobile */
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2em; /* Smaller heading on mobile */
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-container {
|
.main-container {
|
||||||
gap: 20px;
|
gap: 20px; /* Consistent spacing between sections */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 1.8em;
|
font-size: 1.8em; /* Further reduce font size for smaller screens */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,205 +1,26 @@
|
||||||
:root {
|
.section-container {
|
||||||
--color-primary: #e9f1fa;
|
background-color: white;
|
||||||
--color-secondary: #00abe4;
|
padding: 20px;
|
||||||
--color-accent: #dc3f03;
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
--color-heading: #34495e;
|
border-radius: 10px;
|
||||||
--color-background: #ffffff;
|
width: 100%;
|
||||||
--color-text: #000000;
|
max-width: 500px;
|
||||||
--color-light-green: #27ae60;
|
margin: 0 auto;
|
||||||
--color-light-red: #dc3545;
|
|
||||||
|
|
||||||
--font-size-h1: 2.5em;
|
|
||||||
--font-size-h2: 1.8em;
|
|
||||||
--font-size-h3: 1.5em;
|
|
||||||
--font-size-h4: 1.3em;
|
|
||||||
--font-size-base: 1em;
|
|
||||||
--font-size-small: 0.9em;
|
|
||||||
|
|
||||||
--box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
||||||
--box-shadow-small: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
||||||
--box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
box-sizing: border-box;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2 {
|
||||||
h3,
|
color: #34495e;
|
||||||
h4 {
|
|
||||||
font-family: "Helvetica Neue", Arial, sans-serif;
|
|
||||||
color: var(--color-text);
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: var(--font-size-h1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: var(--font-size-h2);
|
font-size: 1.8em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border-bottom: 2px solid var(--color-primary);
|
border-bottom: 2px solid #16a085;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: var(--font-size-h3);
|
|
||||||
z-index: 2;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: var(--font-size-h4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-container {
|
|
||||||
padding: 20px;
|
|
||||||
max-width: 800px;
|
|
||||||
margin: 0 auto;
|
|
||||||
background-color: var(--color-primary);
|
|
||||||
box-shadow: var(--box-shadow-small);
|
|
||||||
border-radius: 10px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-container-base {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
gap: 20px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-column {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-row {
|
|
||||||
align-items: flex-start;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-base {
|
|
||||||
background: var(--color-background);
|
|
||||||
padding: 20px;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: var(--box-shadow);
|
|
||||||
width: 100%;
|
|
||||||
max-width: 350px;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
position: relative;
|
color: #16a085;
|
||||||
overflow: hidden;
|
|
||||||
margin: 10px;
|
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-base:hover {
|
|
||||||
transform: translateY(-10px);
|
|
||||||
box-shadow: var(--box-shadow-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-base::before {
|
|
||||||
display: ;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-base h3 {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-large {
|
|
||||||
max-width: 700px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-small {
|
|
||||||
max-width: 45%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-cards {
|
|
||||||
display: flex;
|
|
||||||
gap: 20px;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-card {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 150px;
|
|
||||||
background-color: var(--color-primary);
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 10px;
|
|
||||||
text-align: center;
|
|
||||||
box-shadow: var(--box-shadow-small);
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-card:hover {
|
|
||||||
transform: translateY(-5px);
|
|
||||||
box-shadow: var(--box-shadow-hover);
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-card::before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 5px;
|
|
||||||
height: 100%;
|
|
||||||
background-color: var(--color-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-top-right {
|
|
||||||
position: absolute;
|
|
||||||
top: 15px;
|
|
||||||
right: 15px;
|
|
||||||
font-size: 1.5em;
|
|
||||||
color: var(--color-secondary);
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.teams {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin: 30px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 1.1em;
|
|
||||||
color: var(--color-text);
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team i {
|
|
||||||
margin-right: 10px;
|
|
||||||
font-size: 1.5em;
|
|
||||||
color: var(--color-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.team p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.versus {
|
|
||||||
font-size: 1em;
|
|
||||||
color: var(--color-secondary);
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.host {
|
|
||||||
font-size: 1.1em;
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
@ -211,37 +32,9 @@ h4 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-container {
|
.section-container {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-base {
|
|
||||||
padding: 15px;
|
|
||||||
margin: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-base h3 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-top-right {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.teams {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team,
|
|
||||||
.versus {
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
|
|
@ -256,9 +49,4 @@ h4 {
|
||||||
.section-container {
|
.section-container {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-base {
|
|
||||||
padding: 10px;
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,40 +1,30 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex-container-base flex-row">
|
<div class="duty-container">
|
||||||
<div class="card-base card-small">
|
<div class="duty-section">
|
||||||
<div class="icon-top-right">
|
<div class="icon-top-right">
|
||||||
<i class="fa-solid fa-house"></i>
|
<i class="fa-solid fa-house"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="section-header">
|
<div class="section-header">
|
||||||
<h3>Hallendienst</h3>
|
<h3>Hallendienst</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-cards">
|
<ul>
|
||||||
<div
|
<li v-for="person in currentDuties.courtDuty" :key="person">
|
||||||
v-for="person in currentDuties.courtDuty"
|
|
||||||
:key="person"
|
|
||||||
class="small-card"
|
|
||||||
>
|
|
||||||
<i class="fas fa-user"></i>
|
|
||||||
{{ person }}
|
{{ person }}
|
||||||
</div>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-base card-small">
|
<div class="duty-section">
|
||||||
<div class="icon-top-right">
|
<div class="icon-top-right">
|
||||||
<i class="fas fa-money-bill-wave"></i>
|
<i class="fas fa-money-bill-wave"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="section-header">
|
<div class="section-header">
|
||||||
<h3>Kassendienst</h3>
|
<h3>Kassendienst</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-cards">
|
<ul>
|
||||||
<div
|
<li v-for="person in currentDuties.cashDuty" :key="person">
|
||||||
v-for="person in currentDuties.cashDuty"
|
|
||||||
:key="person"
|
|
||||||
class="small-card"
|
|
||||||
>
|
|
||||||
<i class="fas fa-user"></i>
|
|
||||||
{{ person }}
|
{{ person }}
|
||||||
</div>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -56,20 +46,91 @@ export default {
|
||||||
return Math.ceil(diff / oneWeek);
|
return Math.ceil(diff / oneWeek);
|
||||||
},
|
},
|
||||||
currentDuties() {
|
currentDuties() {
|
||||||
return (
|
return this.duties.find(
|
||||||
this.duties.find(
|
(duty) => duty.week === (this.currentWeek + 6) % this.duties.length
|
||||||
(duty) => duty.week - 1 === (this.currentWeek + 6) % this.duties.length
|
|
||||||
) || {}
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.duties {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 40px;
|
||||||
|
padding: 0 15px; /* Add padding to prevent cut-off */
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #34495e;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-size: 2em;
|
||||||
|
font-weight: bold;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
text-align: center; /* Ensure h2 is centered */
|
||||||
|
}
|
||||||
|
|
||||||
|
.duty-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 20px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto; /* Center the container */
|
||||||
|
}
|
||||||
|
|
||||||
|
.duty-section {
|
||||||
|
background: linear-gradient(145deg, #dfe4ea, #f1f2f6);
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
||||||
|
width: 100%;
|
||||||
|
max-width: 45%;
|
||||||
|
text-align: left;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
margin: 0 auto; /* Center the card */
|
||||||
|
}
|
||||||
|
|
||||||
|
.duty-section::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: -40px;
|
||||||
|
right: -40px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
background-color: rgba(0, 123, 255, 0.15);
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.duty-section:hover {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-top-right {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 10px;
|
||||||
|
font-size: 1.8em;
|
||||||
|
color: #2980b9;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
color: #16a085;
|
||||||
|
font-size: 1.5em;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
@ -91,16 +152,19 @@ li:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.flex-container-base.flex-column {
|
.duty-container {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-base.card-small {
|
.duty-section {
|
||||||
max-width: 100%;
|
max-width: 100%; /* Take full width on small screens */
|
||||||
margin: 0 auto;
|
margin: 0 auto; /* Center the card */
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h2 {
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-if="upcomingGames.length" class="flex-container-base flex-column">
|
<div v-if="upcomingGames.length" class="game-cards">
|
||||||
<div
|
<div class="game-card" v-for="(game, index) in upcomingGames" :key="index">
|
||||||
class="card-base card-large"
|
|
||||||
v-for="(game, index) in upcomingGames"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<div class="icon-top-right">
|
<div class="icon-top-right">
|
||||||
<i class="fa-solid fa-volleyball"></i>
|
<i class="fa-solid fa-volleyball"></i>
|
||||||
</div>
|
</div>
|
||||||
<h3>
|
<h3>{{ formatDate(game.date) }} - Spiel {{ game.gameNr }}</h3>
|
||||||
{{ formatDate(game.date) }} - {{ game.time }} Uhr - Spiel
|
|
||||||
{{ game.gameNr }}
|
|
||||||
</h3>
|
|
||||||
<div class="teams">
|
<div class="teams">
|
||||||
<div class="team">
|
<div class="team">
|
||||||
<i :class="getIconClass(game.team1)"></i>
|
<i :class="getIconClass(game.team1)"></i>
|
||||||
|
|
@ -72,47 +65,155 @@ export default {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-container-base.flex-row {
|
.games {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #34495e;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
font-size: 2em;
|
||||||
|
font-weight: bold;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-cards {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-card {
|
||||||
|
background: linear-gradient(145deg, #dfe4ea, #f1f2f6);
|
||||||
|
padding: 20px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
||||||
|
width: 100%;
|
||||||
|
max-width: 600px;
|
||||||
|
text-align: left;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 0 auto;
|
||||||
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-card::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: -40px;
|
||||||
|
right: -40px;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
background-color: rgba(0, 123, 255, 0.15);
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-card:hover {
|
||||||
|
transform: translateY(-10px);
|
||||||
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-top-right {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 10px;
|
||||||
|
font-size: 1.8em;
|
||||||
|
color: #2980b9;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-card h3 {
|
||||||
|
color: #16a085;
|
||||||
|
font-size: 1.3em;
|
||||||
|
z-index: 2;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.teams {
|
.teams {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
z-index: 2;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team {
|
.team {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 1.1em;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.team i {
|
||||||
|
margin-right: 10px;
|
||||||
|
font-size: 1.5em;
|
||||||
|
color: #2980b9; /* Color of the icon */
|
||||||
|
}
|
||||||
|
.team span {
|
||||||
|
margin-right: 10px;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.versus {
|
.versus {
|
||||||
|
font-size: 1.2em;
|
||||||
|
color: #e74c3c;
|
||||||
|
font-weight: bold;
|
||||||
|
z-index: 2;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.host {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.1em;
|
||||||
|
color: #2980b9;
|
||||||
|
z-index: 2;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
.game-cards {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 15px;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-card {
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.8em;
|
||||||
|
}
|
||||||
|
|
||||||
.teams {
|
.teams {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team,
|
.team,
|
||||||
.versus {
|
.versus {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 10px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.team {
|
.icon-top-right {
|
||||||
font-size: 1em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.versus {
|
.game-card h3 {
|
||||||
font-size: 1em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,315 +0,0 @@
|
||||||
<template>
|
|
||||||
<div v-if="previousGames.length" class="flex-container-base flex-column">
|
|
||||||
<div
|
|
||||||
class="card-base card-large"
|
|
||||||
v-for="(game, index) in previousGames"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<!-- Conditional Icon Display -->
|
|
||||||
<div class="icon-top-right">
|
|
||||||
<i
|
|
||||||
:class="{
|
|
||||||
'fa-solid fa-trophy': didWeWin(game),
|
|
||||||
'fa-solid fa-poo': !didWeWin(game),
|
|
||||||
}"
|
|
||||||
></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>{{ formatDate(game.date) }} - Spiel {{ game.gameNr }}</h3>
|
|
||||||
|
|
||||||
<!-- Teams and Sets Won Display -->
|
|
||||||
<div class="teams">
|
|
||||||
<div
|
|
||||||
class="team"
|
|
||||||
:class="{
|
|
||||||
'our-team': game.team1 === ourTeam,
|
|
||||||
'winning-team': isWinner(game, game.team1),
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<p class="team-name">{{ game.team1 }}</p>
|
|
||||||
<p class="sets-won" v-if="game.team1Wins !== null">
|
|
||||||
Sätze: {{ game.team1Wins }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<p class="versus">VS</p>
|
|
||||||
<div
|
|
||||||
class="team"
|
|
||||||
:class="{
|
|
||||||
'our-team': game.team2 === ourTeam,
|
|
||||||
'winning-team': isWinner(game, game.team2),
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<p class="team-name">{{ game.team2 }}</p>
|
|
||||||
<p class="sets-won" v-if="game.team2Wins !== null">
|
|
||||||
Sätze: {{ game.team2Wins }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Winner Display -->
|
|
||||||
<p
|
|
||||||
class="winner"
|
|
||||||
:class="{
|
|
||||||
won: didWeWin(game),
|
|
||||||
lost: didWeLose(game),
|
|
||||||
}"
|
|
||||||
v-if="game.winner !== null"
|
|
||||||
>
|
|
||||||
<strong>{{
|
|
||||||
didWeWin(game)
|
|
||||||
? "Gewonnen"
|
|
||||||
: didWeLose(game)
|
|
||||||
? "Verloren"
|
|
||||||
: "Unentschieden"
|
|
||||||
}}</strong>
|
|
||||||
</p>
|
|
||||||
<p v-else class="winner"><strong>Result not available</strong></p>
|
|
||||||
|
|
||||||
<!-- Set Results Card-based Display -->
|
|
||||||
<div class="sets" v-if="game.results && game.results.sets">
|
|
||||||
<h4>Satzergebnisse:</h4>
|
|
||||||
<div class="small-cards">
|
|
||||||
<div
|
|
||||||
class="small-card"
|
|
||||||
v-for="(set, setIndex) in Object.values(game.results.sets)"
|
|
||||||
:key="setIndex"
|
|
||||||
:class="{
|
|
||||||
'team1-wins': set[0] > set[1],
|
|
||||||
'team2-wins': set[1] > set[0],
|
|
||||||
draw: set[0] === set[1],
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<p class="set-number">Satz {{ setIndex + 1 }}</p>
|
|
||||||
<div class="set-scores">
|
|
||||||
<p class="score">{{ set[0] }} : {{ set[1] }}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Additional Data Links (YouTube/Instagram) as Buttons with Logos -->
|
|
||||||
<div
|
|
||||||
v-if="
|
|
||||||
game.results &&
|
|
||||||
game.results.additional_data &&
|
|
||||||
game.results.additional_data.length
|
|
||||||
"
|
|
||||||
class="additional-data"
|
|
||||||
>
|
|
||||||
<h4>Links:</h4>
|
|
||||||
<div class="button-group">
|
|
||||||
<button
|
|
||||||
v-for="(data, dataIndex) in game.results.additional_data"
|
|
||||||
:key="dataIndex"
|
|
||||||
@click="openLink(data.url)"
|
|
||||||
class="link-button"
|
|
||||||
>
|
|
||||||
<i
|
|
||||||
:class="{
|
|
||||||
'fab fa-youtube': data.type === 'YouTube',
|
|
||||||
'fab fa-instagram': data.type === 'Instagram',
|
|
||||||
}"
|
|
||||||
></i>
|
|
||||||
{{ data.title }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Separator between cards -->
|
|
||||||
<hr
|
|
||||||
class="game-card-separator"
|
|
||||||
v-if="index !== previousGames.length - 1"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<p v-else>Noch keine Spiele</p>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
props: {
|
|
||||||
games: {
|
|
||||||
type: Array,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
ourTeam: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
previousGames() {
|
|
||||||
const today = new Date();
|
|
||||||
return this.games
|
|
||||||
.filter((game) => {
|
|
||||||
const gameDate = new Date(game.date);
|
|
||||||
return gameDate < today;
|
|
||||||
})
|
|
||||||
.map((game) => {
|
|
||||||
let team1Wins = null;
|
|
||||||
let team2Wins = null;
|
|
||||||
let winner = null;
|
|
||||||
if (game.results && game.results.sets) {
|
|
||||||
team1Wins = 0;
|
|
||||||
team2Wins = 0;
|
|
||||||
Object.values(game.results.sets).forEach((set) => {
|
|
||||||
if (set[0] > set[1]) {
|
|
||||||
team1Wins++;
|
|
||||||
} else if (set[1] > set[0]) {
|
|
||||||
team2Wins++;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (team1Wins > team2Wins) {
|
|
||||||
winner = game.team1;
|
|
||||||
} else if (team2Wins > team1Wins) {
|
|
||||||
winner = game.team2;
|
|
||||||
} else {
|
|
||||||
winner = "Draw";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
...game,
|
|
||||||
team1Wins,
|
|
||||||
team2Wins,
|
|
||||||
winner,
|
|
||||||
};
|
|
||||||
});
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
formatDate(dateStr) {
|
|
||||||
const date = new Date(dateStr);
|
|
||||||
return date.toLocaleDateString(undefined, {
|
|
||||||
year: "numeric",
|
|
||||||
month: "long",
|
|
||||||
day: "numeric",
|
|
||||||
});
|
|
||||||
},
|
|
||||||
isWinner(game, team) {
|
|
||||||
return game.winner === team;
|
|
||||||
},
|
|
||||||
didWeWin(game) {
|
|
||||||
return game.winner === this.ourTeam;
|
|
||||||
},
|
|
||||||
didWeLose(game) {
|
|
||||||
return (
|
|
||||||
game.winner !== null &&
|
|
||||||
game.winner !== this.ourTeam &&
|
|
||||||
game.winner !== "Draw"
|
|
||||||
);
|
|
||||||
},
|
|
||||||
openLink(url) {
|
|
||||||
window.open(url, "_blank");
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.teams {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: stretch;
|
|
||||||
margin: 20px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex: 1;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 8px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
.team.winning-team {
|
|
||||||
border: 2px solid var(--color-light-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
.team-name {
|
|
||||||
font-size: 1.1em;
|
|
||||||
font-weight: bold;
|
|
||||||
color: var(--color-text);
|
|
||||||
text-align: center;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sets-won {
|
|
||||||
font-size: 1em;
|
|
||||||
color: var(--color-light-green);
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.versus {
|
|
||||||
font-size: 1em;
|
|
||||||
font-weight: bold;
|
|
||||||
color: var(--color-secondary);
|
|
||||||
margin: 0 10px;
|
|
||||||
align-self: center;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.winner {
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin-top: 15px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.winner.won {
|
|
||||||
color: var(--color-light-green);
|
|
||||||
}
|
|
||||||
|
|
||||||
.winner.lost {
|
|
||||||
color: var(--color-light-red);
|
|
||||||
}
|
|
||||||
|
|
||||||
.set-number {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 0.9em;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.set-scores .score {
|
|
||||||
font-size: 1.2em;
|
|
||||||
font-weight: bold;
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-group {
|
|
||||||
display: flex;
|
|
||||||
gap: 10px;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-button {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
background-color: var(--color-secondary);
|
|
||||||
color: white;
|
|
||||||
padding: 6px 12px;
|
|
||||||
border: none;
|
|
||||||
border-radius: 5px;
|
|
||||||
cursor: pointer;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-button i {
|
|
||||||
font-size: 1.2em;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-button:hover {
|
|
||||||
background-color: var(--color-primary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.game-card-separator {
|
|
||||||
border: 0;
|
|
||||||
height: 1px;
|
|
||||||
margin: 20px 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
366
src/data.js
366
src/data.js
|
|
@ -1,242 +1,146 @@
|
||||||
export const duties = [
|
export const duties = [
|
||||||
{
|
{
|
||||||
week: 1,
|
week: 1,
|
||||||
courtDuty: ["Jason", "Tim", "Jacob"],
|
courtDuty: ["Jason", "Tim", "Jacob"],
|
||||||
cashDuty: ["Simon", "Max", "Dima"],
|
cashDuty: ["Simon", "Max", "Dima"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
week: 2,
|
week: 2,
|
||||||
courtDuty: ["Niclas", "Bruno"],
|
courtDuty: ["Niclas, Bruno"],
|
||||||
cashDuty: ["Oleksandr", "Volodymyr", "Jonathan"],
|
cashDuty: ["Oleksandr", "Volodymyr", "Jonathan"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
week: 3,
|
week: 3,
|
||||||
courtDuty: ["Benedikt", "MJ"],
|
courtDuty: ["Benedikt", "MJ"],
|
||||||
cashDuty: ["Jason", "Tim", "Jacob"],
|
cashDuty: ["Jason", "Tim", "Jacob"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
week: 4,
|
week: 4,
|
||||||
courtDuty: ["Ali", "Niklas"],
|
courtDuty: ["Ali", "Niklas"],
|
||||||
cashDuty: ["Niclas", "Bruno"],
|
cashDuty: ["Niclas", "Bruno"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
week: 5,
|
week: 5,
|
||||||
courtDuty: ["Daniel", "Stephan"],
|
courtDuty: ["Daniel", "Stephan"],
|
||||||
cashDuty: ["Benedikt", "MJ"],
|
cashDuty: ["Benedikt", "MJ"],
|
||||||
},
|
},
|
||||||
{ week: 6, courtDuty: ["Kieran", "Marcel"], cashDuty: ["Ali", "Niklas"] },
|
{ week: 6, courtDuty: ["Kieran", "Marcel"], cashDuty: ["Ali, Niklas"] },
|
||||||
{
|
{
|
||||||
week: 7,
|
week: 7,
|
||||||
courtDuty: ["Simon", "Max", "Dima"],
|
courtDuty: ["Simon", "Max", "Dima"],
|
||||||
cashDuty: ["Daniel", "Stephan"],
|
cashDuty: ["Daniel", "Stephan"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
week: 8,
|
week: 8,
|
||||||
courtDuty: ["Oleksandr", "Volodymyr", "Jonathan"],
|
courtDuty: ["Oleksandr", "Volodymyr", "Jonathan"],
|
||||||
cashDuty: ["Kieran", "Marcel"],
|
cashDuty: ["Kieran", "Marcel"],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const games = [
|
export const games = [
|
||||||
{
|
{
|
||||||
date: "2024-09-21",
|
date: "2024-09-21",
|
||||||
time: "19:00",
|
gameNr: 1,
|
||||||
gameNr: 1,
|
team1: "Tv Saarwellingen",
|
||||||
team1: "Tv Saarwellingen",
|
team2: "DJK Saarbrücken-Rastpfuhl",
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
host: 1,
|
||||||
host: 1,
|
|
||||||
results: {
|
|
||||||
sets: {
|
|
||||||
1: [25, 15],
|
|
||||||
2: [25, 13],
|
|
||||||
3: [25, 14],
|
|
||||||
},
|
|
||||||
additional_data: [
|
|
||||||
{
|
|
||||||
type: "YouTube",
|
|
||||||
title: "Replay",
|
|
||||||
url: "https://youtu.be/IaTdoH1HPVk",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "Instagram",
|
|
||||||
title: "Highlight Saarwellingen",
|
|
||||||
url: "https://www.instagram.com/reel/DAV1mC9sB45/?utm_source=ig_web_copy_link&igsh=MzRlODBiNWFlZA==",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
date: "2024-09-28",
|
||||||
date: "2024-09-28",
|
gameNr: 1,
|
||||||
time: "14:30",
|
team1: "DJK Saarbrücken-Rastpfuhl",
|
||||||
gameNr: 1,
|
team2: "SVK Blieskastel-Zweibrücken",
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
host: 1,
|
||||||
team2: "SVK Blieskastel-Zweibrücken",
|
|
||||||
host: 1,
|
|
||||||
results: {
|
|
||||||
sets: {
|
|
||||||
1: [25, 23],
|
|
||||||
2: [21, 25],
|
|
||||||
3: [23, 25],
|
|
||||||
4: [24, 26],
|
|
||||||
},
|
|
||||||
additional_data: [],
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
date: "2024-09-28",
|
||||||
date: "2024-09-28",
|
gameNr: 2,
|
||||||
time: "14:30",
|
team1: "DJK Saarbrücken-Rastpfuhl",
|
||||||
gameNr: 2,
|
team2: "TV Klarenthal",
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
host: 1,
|
||||||
team2: "TV Klarenthal",
|
|
||||||
host: 1,
|
|
||||||
results: {
|
|
||||||
sets: {
|
|
||||||
1: [25, 22],
|
|
||||||
2: [26, 24],
|
|
||||||
3: [25, 23],
|
|
||||||
},
|
|
||||||
additional_data: [],
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
date: "2024-11-02",
|
||||||
date: "2024-11-02",
|
gameNr: 1,
|
||||||
time: "19:00",
|
team1: "TV Düppenweiler",
|
||||||
gameNr: 1,
|
team2: "DJK Saarbrücken-Rastpfuhl",
|
||||||
team1: "TV Düppenweiler",
|
host: 1,
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
results: {
|
|
||||||
sets: {
|
|
||||||
1: [25, 23],
|
|
||||||
2: [23, 25],
|
|
||||||
3: [25, 10],
|
|
||||||
4: [25, 14],
|
|
||||||
},
|
|
||||||
additional_data: [],
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
date: "2024-11-09",
|
||||||
date: "2024-11-09",
|
gameNr: 1,
|
||||||
time: "18:30",
|
team1: "DJK Saarbrücken-Rastpfuhl",
|
||||||
gameNr: 1,
|
team2: "TV Brebach",
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
host: 1,
|
||||||
team2: "TV Brebach",
|
|
||||||
host: 1,
|
|
||||||
results: {
|
|
||||||
sets: {
|
|
||||||
1: [22, 25],
|
|
||||||
2: [22, 25],
|
|
||||||
3: [16, 25],
|
|
||||||
},
|
|
||||||
additional_data: [
|
|
||||||
{
|
|
||||||
type: "YouTube",
|
|
||||||
title: "Replay",
|
|
||||||
url: "https://www.youtube.com/watch?v=7vRUhVHEAcQ",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
{
|
||||||
{
|
date: "2024-11-09",
|
||||||
date: "2024-11-09",
|
gameNr: 2,
|
||||||
time: "18:30",
|
team1: "DJK Saarbrücken-Rastpfuhl",
|
||||||
gameNr: 2,
|
team2: "TV 06 Limbach",
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
host: 1,
|
||||||
team2: "TV 06 Limbach",
|
},
|
||||||
host: 1,
|
{
|
||||||
results: {
|
date: "2024-11-30",
|
||||||
sets: {
|
gameNr: 2,
|
||||||
1: [20, 25],
|
team1: "TV Saarwellingen 2",
|
||||||
2: [22, 25],
|
team2: "DJK Saarbrücken-Rastpfuhl",
|
||||||
3: [23, 25],
|
host: 1,
|
||||||
},
|
},
|
||||||
additional_data: [
|
{
|
||||||
{
|
date: "2024-12-14",
|
||||||
type: "YouTube",
|
gameNr: 2,
|
||||||
title: "Replay",
|
team1: "TV Wiesbach 2",
|
||||||
url: "https://youtu.be/L4yv4clg-XQ",
|
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,
|
||||||
},
|
},
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2024-11-30",
|
|
||||||
time: "19:00",
|
|
||||||
gameNr: 2,
|
|
||||||
team1: "TV Saarwellingen 2",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2024-12-14",
|
|
||||||
time: "14:00",
|
|
||||||
gameNr: 2,
|
|
||||||
team1: "TV Wiesbach 2",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-01-11",
|
|
||||||
time: "19:00",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "TV Klarenthal",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-01-18",
|
|
||||||
time: "16:00",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "TV Brebach",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-02-01",
|
|
||||||
time: "14:30",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
team2: "TV Düppenweiler",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-02-01",
|
|
||||||
time: "14:30",
|
|
||||||
gameNr: 2,
|
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
team2: "TV Wiesbach 2",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-02-15",
|
|
||||||
time: "15:00",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "TV 06 Limbach",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-03-08",
|
|
||||||
time: "15:00",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "SVK Blieskastel-Zweibrücken",
|
|
||||||
team2: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-03-15",
|
|
||||||
time: "18:30",
|
|
||||||
gameNr: 1,
|
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
team2: "TV Saarwellingen",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: "2025-03-15",
|
|
||||||
time: "18:30",
|
|
||||||
gameNr: 2,
|
|
||||||
team1: "DJK Saarbrücken-Rastpfuhl",
|
|
||||||
team2: "TV Saarwellingen 2",
|
|
||||||
host: 1,
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue