diff --git a/src/lib/components/Icons/CommunityIcon.svelte b/src/lib/components/Icons/CommunityIcon.svelte index 2d87592a..da7b294e 100644 --- a/src/lib/components/Icons/CommunityIcon.svelte +++ b/src/lib/components/Icons/CommunityIcon.svelte @@ -2,7 +2,14 @@ export let color = 'currentColor'; - + - + -
{#if $currentOrg.avatar_url} diff --git a/src/lib/components/LMS/components/Learning.svelte b/src/lib/components/LMS/components/Learning.svelte new file mode 100644 index 00000000..00e555d4 --- /dev/null +++ b/src/lib/components/LMS/components/Learning.svelte @@ -0,0 +1,58 @@ + + +
+

Currently Learning

+ + {#if courseInProgress === false} +
+ +

No courses progress yet

+

Once you start a course, your progress will reflect here

+
+ {:else} +
+ {#each mockData as data, index} +
+ + +
+

{data.title}

+

{data.description}

+
+ +
+
+
+
+
+ {/each} +
+ {/if} + +
diff --git a/src/lib/components/LMS/components/Student.svelte b/src/lib/components/LMS/components/Student.svelte new file mode 100644 index 00000000..74ba2a44 --- /dev/null +++ b/src/lib/components/LMS/components/Student.svelte @@ -0,0 +1,80 @@ + + +
+

Your Schedule

+ + + + {#if $isMobile} +
+ + + +
+ {:else} +

+ {formatDate($store?.selected)} +

+ {/if} + {#if formatDate($store?.selected) == 'Today'} + +

2:30pm

+
+ +

+ The essence of design collaboration +

+ Figma Introduction +
+ +
+
+ {:else} +

No Lesson on this day

+ {/if} +
+
diff --git a/src/lib/components/LMS/components/store.js b/src/lib/components/LMS/components/store.js new file mode 100644 index 00000000..5c1a5c66 --- /dev/null +++ b/src/lib/components/LMS/components/store.js @@ -0,0 +1 @@ +export const courseInProgress = false; diff --git a/src/routes/lms/+page.svelte b/src/routes/lms/+page.svelte index ecb14607..ab96db80 100644 --- a/src/routes/lms/+page.svelte +++ b/src/routes/lms/+page.svelte @@ -1,15 +1,69 @@ -
-

Dashboard

+ + Student Dashboard - ClassroomIO + -
-
-

Student section

+
+

Dashboard

+
+ +

+ Today is another day to bring you closer to your learning goals. Don’t give up, the more you + learn the better you get. +

+ goto('/lms/mylearning')} + /> +
+ +
+
+
+
-
-

Currently Learning

+ +
+
+ +
+
+ student Learning score +
+ +

Your Progress

+ {#if courseInProgress} +

2/15 lessons completed

+ {:else} +

No lessons started

+ {/if} +
+

+ {courseInProgress ? 1 : 0} % +

+
+
diff --git a/static/digital.png b/static/digital.png new file mode 100644 index 00000000..ace32085 Binary files /dev/null and b/static/digital.png differ diff --git a/static/images/student-learning.svg b/static/images/student-learning.svg new file mode 100644 index 00000000..9113d0b7 --- /dev/null +++ b/static/images/student-learning.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/static/images/target.svg b/static/images/target.svg new file mode 100644 index 00000000..aa3067bb --- /dev/null +++ b/static/images/target.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/static/painting.png b/static/painting.png new file mode 100644 index 00000000..4caae879 Binary files /dev/null and b/static/painting.png differ