diff --git a/src/app.postcss b/src/app.postcss index a1939b6e..30f1edea 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -64,6 +64,7 @@ h6 { .dark .prose h5, .dark .prose h6, .dark .prose li, +.dark .prose strong, .dark .prose li::marker, .dark .prose p { color: #fff; diff --git a/src/lib/components/Navigation/app.svelte b/src/lib/components/Navigation/app.svelte index bd672d4e..fd0a5367 100644 --- a/src/lib/components/Navigation/app.svelte +++ b/src/lib/components/Navigation/app.svelte @@ -27,12 +27,12 @@ } } - function getPathName(_isCoursePage = false) { + function getPathName(_isCoursePage = false, slug = '') { if (!_isCoursePage) { return '/'; } - return $course.slug ? `${$page.url.host}/course/${$course.slug}` : `${$currentOrgPath}/courses`; + return slug ? `/course/${slug}` : `${$currentOrgPath}/courses`; } @@ -50,7 +50,7 @@ {/if}