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,11 @@
<script>
import { Footer, Navigation } from '$lib';
import '../app.css';
</script>
<div class="overflow-hidden">
<Navigation />
<slot />
<Footer />
</div>
@@ -0,0 +1,23 @@
<script>
import {
Body,
Faq,
Hero,
Pricing,
StudentDashboard,
MoreFeatures,
} from '$lib';
import { PUBLIC_ENABLE_PRICING, PUBLIC_ENABLE_FAQ } from '$env/static/public';
</script>
<Hero />
<Body />
<StudentDashboard />
<MoreFeatures />
{#if PUBLIC_ENABLE_PRICING}
<Pricing />
{/if}
{#if PUBLIC_ENABLE_FAQ}
<Faq />
{/if}
@@ -0,0 +1,12 @@
import { redirect } from '@sveltejs/kit';
import { client } from '$lib/utils/posthog';
export const load = ({ request }) => {
client.capture({
distinctId:
request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
event: 'cal.com page visited',
});
throw redirect(301, 'https://cal.com/classroomio/demo');
};
@@ -0,0 +1,12 @@
import { redirect } from '@sveltejs/kit';
import { client } from '$lib/utils/posthog';
export const load = ({ request }) => {
client.capture({
distinctId:
request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
event: 'discord page visited',
});
throw redirect(301, 'https://discord.gg/NJqaZNuD');
};
@@ -0,0 +1,12 @@
import { redirect } from '@sveltejs/kit';
import { client } from '$lib/utils/posthog';
export const load = async ({ request }) => {
client.capture({
distinctId:
request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
event: 'github page visited',
});
throw redirect(301, 'https://github.com/rotimi-best/classroomio');
};
@@ -0,0 +1,15 @@
import { redirect } from '@sveltejs/kit';
import { client } from '$lib/utils/posthog';
export const load = async ({ request }) => {
client.capture({
distinctId:
request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
event: 'privacy page visited',
});
throw redirect(
301,
'https://app.enzuzo.com/policies/privacy/958fc978-5477-11ee-a03b-7b111830c594'
);
};
@@ -0,0 +1,15 @@
import { redirect } from '@sveltejs/kit';
import { client } from '$lib/utils/posthog';
export const load = async ({ request }) => {
client.capture({
distinctId:
request.headers.get('x-forwarded-for') || new Date().getTime().toString(),
event: 'privacy page visited',
});
throw redirect(
301,
'https://app.enzuzo.com/policies/tos/958fc978-5477-11ee-a03b-7b111830c594'
);
};