mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
better lecture ui
This commit is contained in:
@@ -21,6 +21,9 @@ export function getLectureUrl(courseName: string, lectureDate: string) {
|
||||
encodeURIComponent(lectureDate)
|
||||
);
|
||||
}
|
||||
export function getLecturePreviewUrl(courseName: string, lectureDate: string) {
|
||||
return getLectureUrl(courseName, lectureDate) + "/preview";
|
||||
}
|
||||
|
||||
export function getCourseUrl(courseName: string) {
|
||||
return "/course/" + encodeURIComponent(courseName);
|
||||
|
||||
Reference in New Issue
Block a user