CLASSROOMIO-T-5: Educators Settings CRUD

Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com>

Merge-request: CLASSROOMIO-MR-7
Merged-by: Digdippa Team <digdippa@gmail.com>
This commit is contained in:
Rotimi Best
2023-05-02 23:55:26 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 01a1f0f907
commit 5f14b36ef8
27 changed files with 832 additions and 89 deletions
+1 -15
View File
@@ -1,6 +1,5 @@
<script>
import { goto } from '@sapper/app';
import Avatar from '../Avatar/index.svelte';
import { user, profile } from '../../utils/store/user';
import PrimaryButton from '../PrimaryButton/index.svelte';
import { VARIANTS } from '../PrimaryButton/constants';
@@ -76,20 +75,7 @@
<span class="flex-grow" />
<li>
{#if $user.isLoggedIn}
<a
class="block"
aria-current={segment === 'profile' ? 'page' : undefined}
href={`/profile/${$profile.id}`}
>
<Avatar
src={$profile.avatar_url}
name={$profile.username}
width="w-7"
height="h-7"
/>
</a>
{:else if !disableLogin}
{#if !disableLogin}
<div class="flex">
<PrimaryButton
label="Login"