diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..e95a1f65
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+root = true
+
+[*]
+indent_style = tab
+tab_width = 2
+end_of_line = lf
+charset = utf-8
+insert_final_newline = false
+trim_trailing_whitespace = true
+
+[{.*rc,*.yml,*.md,*.json,*.svg}]
+indent_style = space
+
+[*.md]
+trim_trailing_whitespace = false
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 5c173be8..6ea11cca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,18 +1,36 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+node_modules
+.pnp
+.pnp.js
+
+# testing
+coverage
+
+# next.js
+.next/
+out/
+build
+
+# misc
.DS_Store
-/node_modules/
-/src/node_modules/@sapper/
-yarn-error.log
-.svelte-kit/
+*.pem
+
+# debug
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# local env files
.env
-/dist/
-package-lock.json
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
-# Local Netlify folder
-.netlify
+# turbo
+.turbo
-# Sentry Auth Token
-.env.sentry-build-plugin
-
-/_supascripts/
-data.sql
-changes.sql
+# vercel
+.vercel
\ No newline at end of file
diff --git a/.npmrc b/.npmrc
index 1e86a945..1560b99c 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1 +1 @@
-npm_config_registry=https://registry.npmjs.org
\ No newline at end of file
+auto-install-peers = true
\ No newline at end of file
diff --git a/src/lib/components/Org/Settings/Account.svelte b/.prettierignore
similarity index 100%
rename from src/lib/components/Org/Settings/Account.svelte
rename to .prettierignore
diff --git a/.prettierrc b/.prettierrc
index 485ca627..6f8a88e3 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,16 +1,15 @@
{
- "useTabs": false,
- "singleQuote": true,
- "trailingComma": "none",
- "printWidth": 100,
- "overrides": [
- {
- "files": [
- "*.svelte"
- ],
- "options": {
- "svelteBracketNewLine": true
- }
- }
- ]
-}
\ No newline at end of file
+ "endOfLine": "lf",
+ "printWidth": 90,
+ "trailingComma": "all",
+ "semi": true,
+ "singleQuote": false,
+ "jsxSingleQuote": true,
+ "bracketSpacing": true,
+ "bracketSameLine": true,
+ "singleAttributePerLine": true,
+ "tabWidth": 2,
+ "useTabs": true,
+ "plugins": ["prettier-plugin-tailwindcss","prettier-plugin-svelte"],
+ "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
+}
diff --git a/README.md b/README.md
index 5ae1430e..74139dc1 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
## ✨ About ClassroomIO
-
+
ClassroomIO is a platform for bootcamps, individual educators, and training businesses that brings teaching and learning into one place while at the same time helping them be 10x more productive. With our platform, anyone can run multiple classes and cohorts all from one UI. The application is mobile-first, which means that students can access your lesson materials from any device.
@@ -69,6 +69,14 @@ Here is what you need to be able to run ClassroomIO.com
- [Docker](https://docs.docker.com/engine/install/)
- [NPM](https://www.npmjs.com/)
+### Project Structure
+
+This repo is a mono repo that consists of 3 projects:
+
+1. `classroomio-com`: The landing page of ClassroomIO hosted [here](https://classroomio.com)
+2. `dashboard`: The web application that runs the learning management system.
+3. `docs`: Official documentation of ClassroomIO hosted [here](https://docs.classroomio.com)
+
## Development
### Setup
@@ -101,6 +109,7 @@ Here is what you need to be able to run ClassroomIO.com
4. Set up your `.env` file
+ - Go to `apps/classroomio-com` and `apps/dashboard`
- Duplicate the `.env.example` file and rename it to `.env`
5. Setup Supabase.
@@ -141,15 +150,20 @@ Here is what you need to be able to run ClassroomIO.com
6. Install the required dependencies
```bash
- npm i
+ pnpm i
```
7. Run (in development mode)
```bash
- npm run dev
+ pnpm dev
```
+8. All projects should start running
+ - `classroomio-com`: [http://localhost:5173](http://localhost:5173)
+ - `dashboard`: [http://localhost:5174](http://localhost:5174)
+ - `docs`: [http://localhost:3000](http://localhost:3000)
+
## Related Repos
You can find other repos related to classroomio here:
diff --git a/apps/classroomio-com/.env.example b/apps/classroomio-com/.env.example
new file mode 100644
index 00000000..08864129
--- /dev/null
+++ b/apps/classroomio-com/.env.example
@@ -0,0 +1,4 @@
+PUBLIC_ENABLE_PRICING=1
+PUBLIC_ENABLE_FAQ=1
+PUBLIC_ENABLE_USERS_COMPANIES=
+PUBLIC_ENABLE_STATS=
\ No newline at end of file
diff --git a/apps/classroomio-com/.gitignore b/apps/classroomio-com/.gitignore
new file mode 100644
index 00000000..6635cf55
--- /dev/null
+++ b/apps/classroomio-com/.gitignore
@@ -0,0 +1,10 @@
+.DS_Store
+node_modules
+/build
+/.svelte-kit
+/package
+.env
+.env.*
+!.env.example
+vite.config.js.timestamp-*
+vite.config.ts.timestamp-*
diff --git a/apps/classroomio-com/.npmrc b/apps/classroomio-com/.npmrc
new file mode 100644
index 00000000..0c05da45
--- /dev/null
+++ b/apps/classroomio-com/.npmrc
@@ -0,0 +1,2 @@
+engine-strict=true
+resolution-mode=highest
diff --git a/apps/classroomio-com/README.md b/apps/classroomio-com/README.md
new file mode 100644
index 00000000..651a91a4
--- /dev/null
+++ b/apps/classroomio-com/README.md
@@ -0,0 +1,11 @@
+
+
+
+ Can’t find the answer you’re looking for?
+ Shoot us an email and we’ll get back to you ASAP.
+
+
+
+
+ {#each faqs as faq}
+
+
+ {faq.question}
+
+
+ {faq.answer}
+
+
+ {/each}
+
+
+
+
+ Supercharge your Classroom Today
+
+
+ Try before you buy. No credit card required.
+
+
+
+
+
+
diff --git a/apps/classroomio-com/src/lib/Faq/faqs.js b/apps/classroomio-com/src/lib/Faq/faqs.js
new file mode 100644
index 00000000..af45dc8f
--- /dev/null
+++ b/apps/classroomio-com/src/lib/Faq/faqs.js
@@ -0,0 +1,32 @@
+export const faqs = [
+ {
+ question: 'Who can benefit from ClassroomIO?',
+ answer:
+ 'We built ClassroomIO from the ground up for Educators, meaning if you teach online or in a physical classroom you are good to go. It works best for Educators who already have students and want an efficient way to manage their learning experience.',
+ },
+ {
+ question: 'Will I be able to set up ClassroomIO without technical skills?',
+ answer:
+ 'Most definitely. You can use ClassroomIO as a no-code tool to build your own LMS platform. We provide an intuitive user interface and documentation to help you give your students the best learning experience.',
+ },
+ {
+ question: 'How much customization can I do with ClassroomIO?',
+ answer:
+ 'Things like theming, organization name, landing pages, content that your students see and many more customization options to come.',
+ },
+ {
+ question: 'Is ClassroomIO suitable for a large number of students?',
+ answer:
+ 'Absolutely. ClassroomIO is built for a large number of students in any course. You can have multiple courses with as many students as you need.',
+ },
+ {
+ question: 'What kind of team plans does ClassroomIO offer?',
+ answer:
+ 'ClassroomIO offers a Team plan designed to cater to organizations of any size. Depending on the plan you select, you can invite other teachers into your organization.',
+ },
+ {
+ question: 'Can I try ClassroomIO before I buy it?',
+ answer:
+ 'Definitely. We’ve got a generous free plan to help you get started with the platform. As your requirements grow, we’ve got other plans that can grow with you.',
+ },
+];
diff --git a/apps/classroomio-com/src/lib/Footer/Footer.svelte b/apps/classroomio-com/src/lib/Footer/Footer.svelte
new file mode 100644
index 00000000..67b79beb
--- /dev/null
+++ b/apps/classroomio-com/src/lib/Footer/Footer.svelte
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+ The Open Source Platform for Tech Bootcamps
+
+ Making teaching and learning seamless for tech bootcamps
+