{{ game.team1 }}
++ Sätze: {{ game.team1Wins }} +
+VS
+{{ game.team2 }}
++ Sätze: {{ game.team2Wins }} +
++ {{ + didWeWin(game) + ? "Gewonnen" + : didWeLose(game) + ? "Verloren" + : "Unentschieden" + }} +
+Result not available
+ + +Satz {{ setIndex + 1 }}
+{{ set[0] }} : {{ set[1] }}
+Noch keine Spiele
+ + + + + diff --git a/src/data.js b/src/data.js index 576ca08..a0bd0f0 100644 --- a/src/data.js +++ b/src/data.js @@ -1,146 +1,165 @@ 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"], - }, + { + 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, + { + date: "2024-09-21", + gameNr: 1, + team1: "Tv Saarwellingen", + team2: "DJK Saarbrücken-Rastpfuhl", + 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", + 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, + }, ];