0.5.3 • Published 3 years ago

@coursemaker/gatsby-theme-coursemaker v0.5.3

Weekly downloads
193
License
MIT
Repository
github
Last release
3 years ago

gatsby-theme-coursemaker

Make Online Courses

Theme Status: Alpha

The theme is in alpha, and is subject to significant, breaking changes.

🗝 Elevator Pitch

This Gatsby theme allows you to create a fully-featured, commercial online course website for free. Key features:

  • Easily create courses and lectures using tools you love (git, markdown)
  • Sales pages out of the box, with easy configuration options
  • Gated content (via integration with Auth0's free plan and YouTube private videos)
  • Payments (via integration with Stripe Checkout)
  • Hosting (via Netlify, AWS or many other options)
  • Responsive design (looks good on mobile + tablets for your students)
  • SEO optimized
  • Google analytics integration
  • Blazing fast
  • Serious documentation & support - we use this theme for our commercial product. It's not going quiet. And naturally, we've created a course explaining how to use this theme ;)
  • Fully customizable via gatsby shadowing made even easier by our use of gatsby-theme-ui.

🚀 Hosted Option

Don't want to host it yourself, and want access to:

  • Truly gated videos
  • Student progress reports
  • Easy payment collection integration (Stripe)
  • Discount coupons
  • File downloads
  • Course dashboard
  • Easy memberships
  • 24/7 Support

Checkout CourseMaker


Installation

Dependencies

  • Ensure node.js >= v14 is installed
  • Install the gatsby-cli: npm install -g gatsby-cli
  • Create a new site: gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-hello-world
  • cd into your directory (in the above example it would be "gatsby-site"), then run the site: gatsby develop

Add the theme

  • Run yarn add @coursemaker/gatsby-theme-coursemaker
  • In your gatsby-config.js, add the theme to your plugins array as described in the docs here

There are many configuration options for the coursemaker theme which we discuss below.

🚀 Configuring A Course Website

note if you prefer a real code example, the course_demo_site contains just that.

Concepts

An entire site, potentially with many courses, is a school. When you install the @coursemaker/gatsby-theme-coursemaker theme and run gatsby develop, you will see a directory called "school" created in your project root. This houses all your courses and lecture data.

📚 School Config Options (all underneath siteMetaData)

Text fields

  • title: The school name
  • landing_page.contact_email: The contact email address which students are shown on the school landing page
  • landing_page.title_and_description.title: The School name that will appear on your overall landing page
  • landing_page.title_and_description.description: The School description that will appear on your overview section of the landing page
  • landing_page.primary_button.text: The call to action text on your school's main button, e.g. "View Course(s)"
  • landing_page.cta_button.text: The call to action text on your school's CTA button
  • landing_page.cta_section.title: The title of the call to action section on your school's landing page
  • landing_page.cta_section.description: The descriptive text of the call to action section on your school's landing page

🎉 How to Create & Configure a Course

  • Every directory directly underneath the school/courses directory represents a course.
  • Every course is configured via the index.mdx file in its root directory.

The Course index.mdx

Many aspects of your course are configured in the index.mdx file frontmatter at the course directory root. These include:

  • courseImage which looks in the /assets directory of your course folder for the file you indicate. This image will appear on your school and course landing pages.

💰 Gated Content Feature

  • GATSBY_ENABLE_PAYMENTS
  • GATSBY_USE_AUTH

Gotchas working with markdown and local data

When you delete courses or sections, they will still appear unless you delete the gatsby cache via the cli command gatsby clean

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.2.11

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.6

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.87

3 years ago

0.1.88

3 years ago

0.1.86

3 years ago

0.1.85

3 years ago

0.1.83

3 years ago

0.1.84

3 years ago

0.1.82

3 years ago

0.1.80

3 years ago

0.1.81

3 years ago

0.1.79

3 years ago

0.1.78

3 years ago

0.1.76

3 years ago

0.1.77

3 years ago

0.1.75

3 years ago

0.1.74

3 years ago

0.1.70

3 years ago

0.1.71

3 years ago

0.1.72

3 years ago

0.1.73

3 years ago

0.1.69

3 years ago

0.1.68

3 years ago

0.1.67

3 years ago

0.1.66

3 years ago

0.1.65

3 years ago

0.1.63

3 years ago

0.1.64

3 years ago

0.1.61

3 years ago

0.1.62

3 years ago

0.1.60

3 years ago

0.1.59

3 years ago

0.1.58

3 years ago

0.1.56

3 years ago

0.1.57

3 years ago

0.1.54

3 years ago

0.1.55

3 years ago

0.1.53

3 years ago

0.1.52

3 years ago

0.1.51

3 years ago

0.1.50

3 years ago

0.1.49

3 years ago

0.1.48

3 years ago

0.1.46

3 years ago

0.1.47

3 years ago

0.1.45

3 years ago

0.1.44

3 years ago

0.1.43

3 years ago

0.1.35

3 years ago

0.1.36

3 years ago

0.1.37

3 years ago

0.1.41

3 years ago

0.1.42

3 years ago

0.1.40

3 years ago

0.1.39

3 years ago

0.1.33

3 years ago

0.1.34

3 years ago

0.1.32

3 years ago

0.1.31

3 years ago

0.1.30

3 years ago

0.1.28

3 years ago

0.1.29

3 years ago

0.1.27

3 years ago

0.1.25

4 years ago

0.1.26

4 years ago

0.1.24

4 years ago

0.1.23

4 years ago

0.1.22

4 years ago

0.1.21

4 years ago

0.1.20

4 years ago

0.1.19

4 years ago

0.1.18

4 years ago

0.1.15

4 years ago

0.1.16

4 years ago

0.1.13

4 years ago

0.1.14

4 years ago

0.1.12

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago