From f47acf3e15149369a2bc33d8861086e6f3d96b9b Mon Sep 17 00:00:00 2001
From: Dorian Koch <doriank@fsmpi.rwth-aachen.de>
Date: Thu, 4 Jul 2024 18:45:35 +0200
Subject: [PATCH] Fix links in upcoming lectures, Closes #44

---
 src/pages/index.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 9333b9e..2ba590a 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -184,11 +184,9 @@ function UpcomingUploads({ homepageData }: { homepageData: ResourceType<GetHomep
                                         minute: "2-digit",
                                     })
                                 }{" "}
-                                <a href={`/modern/${course_data.id_string}`}>
-                                    {course_data.full_name}
-                                </a>
+                                <a href={`/${course_data.id_string}`}>{course_data.full_name}</a>
                                 {": "}
-                                <a href={`/modern/${course_data.id_string}#lecture-${lecture.id}`}>
+                                <a href={`/${course_data.id_string}#lecture-${lecture.id}`}>
                                     {lecture.title}
                                 </a>
                                 {` (${lecture.location}) `}
-- 
GitLab