CLASSROOMIO-T-95: Upload finishing touches
This commit is contained in:
@@ -135,12 +135,12 @@
|
||||
{#each $lessons as lesson (lesson.id)}
|
||||
<div
|
||||
bind:this={ref}
|
||||
class="h-32 relative m-auto rounded-md border-2 border-gray-100 py-3 px-5 mb-4 flex items-center dark:bg-gray-700"
|
||||
class="h-32 relative m-auto rounded-md border-2 border-gray-200 py-3 px-5 mb-4 flex items-center dark:bg-gray-800"
|
||||
>
|
||||
<div class="mr-5">
|
||||
<TextChip
|
||||
value={getLessonOrder(lesson.id)}
|
||||
size="xl"
|
||||
size="sm"
|
||||
shape="rounded-full"
|
||||
className="bg-blue-200 text-blue-600 text-xs"
|
||||
/>
|
||||
|
||||
@@ -69,14 +69,13 @@ const uploadToMuse = (s3Data, fileName, lessonId, fileUrl) => {
|
||||
.eq('id', lessonId)
|
||||
.select();
|
||||
if (error) {
|
||||
console.log('Error updating supabase configs');
|
||||
console.log('Error updating lesson', error);
|
||||
}
|
||||
console.log('update error', error);
|
||||
console.log('update data', data, data[0].videos);
|
||||
console.log('update data', data);
|
||||
}
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log('Upload error', error);
|
||||
console.log('Upload to Muse failed', error);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
<div class="flex items-center w-full">
|
||||
{#each sections as { id, title, items }, idx (id)}
|
||||
<div
|
||||
class="section rounded-md bg-gray-100 dark:bg-gray-700 border border-gray-50 p-3 h-80 mr-3 overflow-hidden"
|
||||
class="section rounded-md bg-gray-100 dark:bg-gray-800 border border-gray-50 p-3 h-80 mr-3 overflow-hidden"
|
||||
animate:flip={{ duration: flipDurationMs }}
|
||||
>
|
||||
<div class="flex items-center mb-2">
|
||||
|
||||
Reference in New Issue
Block a user