feat: support embed of generic links

This commit is contained in:
Rotimi Best
2024-04-04 14:38:18 +01:00
parent 2553d42dae
commit 136e057954
6 changed files with 131 additions and 7 deletions
@@ -298,7 +298,16 @@
width="lg:w-full xl:w-11/12"
className="overflow-x-hidden"
>
<Materials lessonId={data.lessonId} {mode} {prevMode} {toggleMode} bind:isSaving />
<!-- Shows Lesson Note / Slides / Video -->
<Materials
lessonId={data.lessonId}
{mode}
{prevMode}
{toggleMode}
bind:isSaving
{isStudent}
/>
{#if isStudent}
<div class="w-full hidden lg:flex flex-row-reverse mt-10">
<PrimaryButton