mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-01-29 00:21:04 +00:00
add medal to todays events
This commit is contained in:
@ -304,7 +304,7 @@ const generateTodayPage = () => {
|
||||
html.push(`<div class="event py-4" data-start="${event.DTSTART}" data-end="${event.DTEND}" data-noc="${event._NOCS.join(",")}">`);
|
||||
html.push(" <div class=\"time w-1/4 align-top text-right inline-block text-5xl text-center pr-2 border-r border-slate-900/10\">__:__</div>");
|
||||
html.push(" <div class=\"w-3/5 align-top inline-block text-black pl-2\">");
|
||||
html.push(` <div class="text-2xl">${sport.name.toUpperCase()}</div>`);
|
||||
html.push(` <div class="text-2xl">${sport.name.toUpperCase()} ${event._MEDAL ? "🏅" : ""}</div>`);
|
||||
html.push(` <div class="">${summary}`);
|
||||
if (event._COMPETITORS) {
|
||||
event._COMPETITORS.forEach((competitor) => {
|
||||
|
||||
Reference in New Issue
Block a user