feat: add icon to create a new lesson from side nav (#145)
* feat: classroomio-issue-143 * issue 143: remove bg-color from the add icon * fix: hide the + icon for student --------- Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
co-authored by
Rotimi Best
parent
67db904dae
commit
cadfa81913
@@ -1,7 +0,0 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
export const appStore = writable({
|
||||
isDark: false,
|
||||
isOrgSite: false,
|
||||
orgSiteName: ''
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
export const globalStore = writable<{
|
||||
isDark: boolean;
|
||||
isOrgSite: boolean;
|
||||
orgSiteName: string;
|
||||
isStudent?: boolean;
|
||||
}>({
|
||||
isDark: false,
|
||||
isOrgSite: false,
|
||||
orgSiteName: '',
|
||||
isStudent: undefined
|
||||
});
|
||||
Reference in New Issue
Block a user