Create a beautiful course website in seconds with our SvelteKit-powered CLI tool. Choose from multiple templates and customize your content through a simple file structure.
Each template has its own component set in `src/lib/components/[template-name]/`. The active template is determined by the `VITE_TEMPLATE` environment variable.
### Navigation & Site Settings
Update `src/lib/data/pages.json` to customize your site settings. The file contains an array of three main page configurations:
```json
[
{
"id":"shared-page",
"title":"Shared",
"slug":"#",
"sections":[
// Global components like SEO, navigation, and footer
]
},
{
"id":"home-page",
"title":"Home Page",
"slug":"/",
"sections":[
// Home page specific sections like hero, features, testimonials
]
},
{
"id":"courses-page",
"title":"Courses Page",
"slug":"/courses",
"sections":[
// Course page specific sections
]
}
]
```
Each page configuration includes:
1.**Shared Page** (`shared-page`):
- Contains global components used across all pages
- Configures SEO settings, main navigation, and footer
- Always present regardless of the current route
2.**Home Page** (`home-page`):
- Landing page configuration (`/` route)
- Includes sections like header, about, featured courses, instructors, FAQ, testimonials, and CTAs
- Configurable marketing sections to showcase your platform