first commit

This commit is contained in:
Rotimi Best
2023-08-14 06:22:03 +01:00
parent 0ba6e92b0b
commit 2ce3063b83
10 changed files with 185 additions and 98 deletions
+2 -2
View File
@@ -2,7 +2,6 @@
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { user } from '$lib/utils/store/user';
import { appStore } from '$lib/utils/store/app';
import { isCoursePage } from '$lib/utils/functions/app';
import PrimaryButton from '$lib/components/PrimaryButton/index.svelte';
import { VARIANTS } from '$lib/components/PrimaryButton/constants';
@@ -10,6 +9,7 @@
export let disableLogin;
export let logo;
export let orgName;
export let isOrgSite = false;
let navClass = '';
@@ -54,7 +54,7 @@
<span class="flex-grow" />
{#if $user.isLoggedIn}
{#if $appStore.isStudentDomain}
{#if isOrgSite}
<li><a class="block" href="/lms"> Go to LMS </a></li>
{/if}
{:else}