Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-168

This commit is contained in:
Rotimi Best
2023-09-26 11:24:00 +01:00
12 changed files with 147 additions and 61 deletions
+11
View File
@@ -2,6 +2,7 @@
import { page } from '$app/stores';
import { Tabs, Tab, TabContent } from 'carbon-components-svelte';
import Profile from '$lib/components/LMS/components/Profile.svelte';
import Integrations from '$lib/components/Org/Settings/Integrations.svelte';
let selected = 0;
const tabs = [
@@ -10,6 +11,13 @@
label: 'Profile',
tabKey: '',
href: $page.url.pathname
},
{
key: 1,
label: 'Integrations',
tabKey: 'integrations',
href: `${$page.url.pathname}?tab=integrations`,
disabled: false
}
];
</script>
@@ -24,6 +32,9 @@
<TabContent>
<Profile />
</TabContent>
<TabContent>
<Integrations />
</TabContent>
</svelte:fragment>
</Tabs>
</div>