mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-01-28 16:10:00 +00:00
add sport icon in html output
This commit is contained in:
@ -154,7 +154,7 @@ const generateOutputPage = () => {
|
||||
html.push("<table>");
|
||||
SPORTS.map((sport) => {
|
||||
html.push("<tr class=\"even:bg-slate-200\">");
|
||||
html.push(`<th class="font-bold text-left">${sport.name}</td>`);
|
||||
html.push(`<th class="font-bold text-left">${getSportIcon(sport.key)} ${sport.name}</td>`);
|
||||
html.push("<td>");
|
||||
html.push(`<a href="${sport.key}/general.ics" class="${linkClass}">Full schedule</a>`);
|
||||
sport.NOCS.sort().forEach((noc) => {
|
||||
|
||||
Reference in New Issue
Block a user