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:
@@ -0,0 +1,33 @@
|
||||
<script>
|
||||
import Modal from '../Modal/index.svelte';
|
||||
import { writable } from 'svelte/store';
|
||||
import { onMount, onDestroy } from 'svelte';
|
||||
import { welcomeModalStore } from './store';
|
||||
import { goto } from '$app/navigation';
|
||||
import { currentOrgPath } from '$lib/utils/store/org';
|
||||
|
||||
const closeModal = () => {
|
||||
$welcomeModalStore.open = false;
|
||||
goto($currentOrgPath + '/courses?create=true');
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal
|
||||
onClose={closeModal}
|
||||
bind:open={$welcomeModalStore.open}
|
||||
width="w-9/12"
|
||||
modalHeading="Welcome"
|
||||
>
|
||||
<p class="text-black dark:text-white text-sm md:text-base lg:text-lg">
|
||||
We at <a
|
||||
href="https://app.classroomio.com/"
|
||||
class="text-primary-700 no-underline hover:no-underline">ClassroomIO</a
|
||||
>
|
||||
are a small team with a large mission to empower educators with great technology to help them train
|
||||
the future generation. Education is the most powerful gift you can give anyone, and it makes so much
|
||||
sense to give you all the tools you need to give more people this GIFT.
|
||||
<span class="text-primary-700">Thank you for choosing us;</span> we deeply appreciate it and are
|
||||
at your service.
|
||||
</p>
|
||||
<img src="/images/welcome-img.svg" alt="A welcome banner" class="w-full my-6" />
|
||||
</Modal>
|
||||
@@ -0,0 +1,5 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
export const welcomeModalStore = writable({
|
||||
open: false
|
||||
});
|
||||
Reference in New Issue
Block a user