Merge branch 'main' into CLASSROOMIO-T-84

This commit is contained in:
tunny17
2023-08-10 14:30:25 +01:00
12 changed files with 242 additions and 10 deletions
+7
View File
@@ -6,6 +6,7 @@
</script>
<div class="w-full flex flex-col">
<div class="flex items-center border-b-2 w-full">
<div class="flex items-center border-b-2 w-full">
{#each tabs as tab}
<button
@@ -35,6 +36,12 @@
? 'w-full'
: 'w-0'}"
/>
<span
class="absolute bottom-0 left-0 h-1 bg-blue-500 rounded-md transition-all ease-in-out duration-500 {currentTab ===
tab.value
? 'w-full'
: 'w-0'}"
/>
</button>
{/each}
</div>