Reusable page style for lectures

This commit is contained in:
Ibitoye Rotimi Best
2021-07-01 09:31:26 +03:00
parent e14c84a1bf
commit b76d1c9647
12 changed files with 290 additions and 203 deletions
+22
View File
@@ -0,0 +1,22 @@
<script>
// import
</script>
<div class="m-3">
{#if $$slots.header}
<div
class="head flex bg-white items-center justify-between sticky right-0 w-full"
>
<slot name="header" />
</div>
{/if}
<slot />
</div>
<style>
.head {
top: 63px;
z-index: 2;
}
</style>