This commit is contained in:
Tomas Dvorak
2024-10-23 19:42:22 +02:00
parent 9760c84b4d
commit 74e9b1c9dc
3 changed files with 33 additions and 2 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

+2 -2
View File
@@ -451,7 +451,7 @@
<span class="lte-team-count">14 <span>:</span>4 </span> <!-- oba tymy skore 1. bizoni 2. ten druhy -->
<span class="lte-team-name lte-team-2 lte-header">
<span class="lte-team-count-mob">4</span>AC Napoleon Prace <span class="lte-team-logo"> <!-- druhy tym skore -->
<img decoding="async" src="https://is1.fotbal.cz/media/kluby/59452859-3d56-48ce-826b-121c4ccf8400/59452859-3d56-48ce-826b-121c4ccf8400_crop.jpg"> <!-- druhy tym obrazek -->
<img decoding="async" src="./img/prace.png"> <!-- druhy tym obrazek -->
</span>
</span>
</div>
@@ -1112,7 +1112,7 @@
<h4 class="lte-header">Radek Janečka</h4>
</a>
<p class="lte-subheader">
<span>Golfman</span>
<span>Brankář</span>
</p>
<div class="lte-btn-wrap">
<a href="/nicholas-roberts/" class="lte-btn btn-main btn-xs">
+31
View File
@@ -0,0 +1,31 @@
const newMatch = {
homeTeam: {
name: "FC Bizoni UH",
logo: "./img/logo.png",
score: 0
},
awayTeam: {
name: "Žabinští Vlci Brno B",
logo: "https://is1.fotbal.cz/media/kluby/59452859-3d56-48ce-826b-121c4ccf8400/59452859-3d56-48ce-826b-121c4ccf8400_crop.jpg",
score: 0
},
date: "Neděle 3. 11. 2024",
time: "20:00",
location: "SH Uherské Hradiště",
matchLink: "zapasy/bizoni-vlci.html"
};
// Update content dynamically using JavaScript
document.getElementById('home-team').textContent = newMatch.homeTeam.name;
document.getElementById('home-logo').src = newMatch.homeTeam.logo;
document.getElementById('home-score').textContent = newMatch.homeTeam.score;
document.getElementById('away-team').textContent = newMatch.awayTeam.name;
document.getElementById('away-logo').src = newMatch.awayTeam.logo;
document.getElementById('away-score').textContent = newMatch.awayTeam.score;
document.getElementById('score').innerHTML = `${newMatch.homeTeam.score} <span>:</span> ${newMatch.awayTeam.score}`;
document.getElementById('match-date').textContent = `${newMatch.date}, ${newMatch.location}`;
document.getElementById('match-time').textContent = newMatch.time;
document.getElementById('match-link').href = newMatch.matchLink;