chore: debug enrollment on lms
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$: console.log('$globalStore in app.svelte', $globalStore);
|
||||||
$: coursesPath = $globalStore.isOrgSite
|
$: coursesPath = $globalStore.isOrgSite
|
||||||
? '/lms/mylearning'
|
? '/lms/mylearning'
|
||||||
: isCoursePage
|
: isCoursePage
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav
|
<nav
|
||||||
class="{navClass} flex w-full p-1 md:px-6 bg-primary-700 transition delay-150 duration-300 ease-in-out h-[48px]"
|
class="{navClass} bg-primary-700 flex h-[48px] w-full p-1 transition delay-150 duration-300 ease-in-out md:px-6"
|
||||||
>
|
>
|
||||||
<ul class="flex w-full items-center">
|
<ul class="flex w-full items-center">
|
||||||
<div class="flex items-center text-white">
|
<div class="flex items-center text-white">
|
||||||
@@ -81,7 +82,7 @@
|
|||||||
? $t('navigation.courses')
|
? $t('navigation.courses')
|
||||||
: $t('navigation.classroomio_home')}"
|
: $t('navigation.classroomio_home')}"
|
||||||
id="logo"
|
id="logo"
|
||||||
class="text-lg line-clamp-1"
|
class="line-clamp-1 text-lg"
|
||||||
>
|
>
|
||||||
{isCoursePage ? title : 'ClassroomIO'}
|
{isCoursePage ? title : 'ClassroomIO'}
|
||||||
</a>
|
</a>
|
||||||
@@ -90,7 +91,7 @@
|
|||||||
<span class="flex-grow" />
|
<span class="flex-grow" />
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<NotificationIcon size={20} class="text-white mr-2" />
|
<NotificationIcon size={20} class="mr-2 text-white" />
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<IconButton size="small" onClick={toggleDarkMode}>
|
<IconButton size="small" onClick={toggleDarkMode}>
|
||||||
|
|||||||
@@ -117,6 +117,7 @@
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$: console.log('$globalStore in root', $globalStore);
|
||||||
$: path = $page.url?.pathname?.replace('/', '');
|
$: path = $page.url?.pathname?.replace('/', '');
|
||||||
$: carbonTheme = $globalStore.isDark ? 'g100' : 'white';
|
$: carbonTheme = $globalStore.isDark ? 'g100' : 'white';
|
||||||
$: metaTags = merge(data.baseMetaTags, $page.data.pageMetaTags);
|
$: metaTags = merge(data.baseMetaTags, $page.data.pageMetaTags);
|
||||||
|
|||||||
Reference in New Issue
Block a user