Files
classroomio/src/routes/lms/settings/+page.svelte
T
tunny17 4a406e2bbd CLASSROOMIO-T-182: Get Notified On Telegram
CLASSROOMIO-T-182: Resolved Feedback

CLASSROOMIO-T-182: Resolved Feedbacks

CLASSROOMIO-T-182: Deletion Functionality

CLASSROOMIO-T-182: Get Notified On Telegram


Co-authored-by: Tunji Adeyemi <[email protected]>


Merge-request: CLASSROOMIO-MR-78
Merged-by: Best Admin <[email protected]>
2023-09-26 09:01:53 +00:00

42 lines
999 B
Svelte

<script>
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 = [
{
key: 0,
label: 'Profile',
tabKey: '',
href: $page.url.pathname
},
{
key: 1,
label: 'Integrations',
tabKey: 'integrations',
href: `${$page.url.pathname}?tab=integrations`,
disabled: false
}
];
</script>
<section class="max-w-6xl mx-auto">
<div class="m-2 md:m-5">
<Tabs autoWidth bind:selected>
{#each tabs as tab}
<Tab label={tab.label} href={tab.href} />
{/each}
<svelte:fragment slot="content">
<TabContent>
<Profile />
</TabContent>
<TabContent>
<Integrations />
</TabContent>
</svelte:fragment>
</Tabs>
</div>
</section>