diff --git a/src/pages/Program.jsx b/src/pages/Program.jsx index 48172805968ec5d3ad8fbc861bf993d5d0c74ef5..964dd645af4b62948f22356f6a8a17ab49ad9d3c 100644 --- a/src/pages/Program.jsx +++ b/src/pages/Program.jsx @@ -31,6 +31,7 @@ const Schedule = () => { {scheduleIds.map((id) => { const isCurrent = id === currentId; const entry = items[id]; + const fullTitle = `${entry.number}. ${entry.title}`; return ( <div className="flex flex-col md:flex-row my-4 duration-300 text-black" @@ -53,8 +54,8 @@ const Schedule = () => { </div> <div className="flex-grow w-full"> <h2 className="head-heavy-xs md:head-heavy-base mb-1"> - {isCurrent && <Link to="/">{entry.title}</Link>} - {!isCurrent && entry.title} + {isCurrent && <Link to="/">{fullTitle}</Link>} + {!isCurrent && fullTitle} </h2> <div className="flex space-x-2"> <strong>Navrhovatel:</strong>