feat: 🚀 😃 convert repo into a monorepo 🚀 😃 (#51)

* Merge main into turbo-monrepo

* feat: rename apps

* feat: remove supbase videos and serve all from project

* feat: move supabase to root

* feat: update README

* docs: update link
This commit is contained in:
Rotimi Best
2023-11-25 21:56:02 +00:00
committed by GitHub
parent 03ca379094
commit 41e29014ef
806 changed files with 85853 additions and 5746 deletions
@@ -0,0 +1,42 @@
<script>
import TextField from '$lib/components/Form/TextField.svelte';
export let label;
export let value;
export let checked;
export let name;
export let isEditable = false;
export let disabled = false;
export let className = '';
export let onChange;
</script>
<label
class="{className} inline-flex items-center w-full {disabled
? 'cursor-not-allowed'
: 'cursor-pointer'}"
>
<input
type="checkbox"
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-offset-0 focus:ring-indigo-200 focus:ring-opacity-50"
{name}
{value}
disabled={disabled || isEditable}
bind:checked
/>
{#if isEditable}
<div class="w-2/4">
<TextField
bind:value={label}
placeholder="Your option"
className="ml-1"
type="text"
{onChange}
/>
</div>
{:else}
<span class="dark:text-white ml-2">{label}</span>
{/if}
<slot name="iconbutton" />
</label>