Upload avatar

This commit is contained in:
rotimi-best
2021-08-26 13:35:56 +03:00
parent 26798f1e93
commit 05ed2b74ee
16 changed files with 290 additions and 77 deletions
+4 -2
View File
@@ -38,7 +38,7 @@
</svelte:fragment>
</PageNav>
<PageBody>
<PageBody width="max-w-3xl px-3">
{#if mode === MODES.edit}
<EditContent
writeLabel="Note"
@@ -50,6 +50,8 @@
}}
/>
{:else}
{@html marked($course.overview || '', { breaks: true, gfm: true })}
<article class="preview prose prose-sm sm:prose p-2">
{@html marked($course.overview || '')}
</article>
{/if}
</PageBody>