Skip to content
VibeFather
Sign up free

About this template

A focused online learning workspace opening immediately on a learner's active mid-course dashboard—complete with a 12-day study streak, weekly focus tracker, active course progress bars, and one-click Resume Lesson. Explore a filterable catalog of three complete fictional courses (topic, level, length) with full syllabi, instructor bios, and learner reviews; launch an interactive Lesson Player where animated HTML5 Canvas diagrams stand in for video with chapter jumps, playback speed (1×–2×), toggleable live captions, localStorage per-lesson notes, and instant-feedback quizzes; and print a clean completion certificate.

The template prompt

The live demo was built from exactly this text — nothing added.

# Online Learning Platform

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build an interactive online course platform for [PLATFORM_NAME] signed in as active learner [LEARNER_NAME] with a [STREAK_DAYS]-day study streak. Palette: deep ink (#161A33), sunflower (#FFC93C), sky blue (#5AB2FF), and warm paper (#FBFAF5). CRITICAL: Frame 1 MUST open directly on #/dashboard showing [LEARNER_NAME] mid-course (not an empty catalog)—displaying active streak, weekly goal progress, three enrolled courses with real completion percentages, and a prominent 'Resume Lesson' card. Sync five hash routes bidirectionally with window.location.hash: (1) #/dashboard — Active mid-course learner dashboard with streak calendar strip (Mon–Sun, no dates), study stats, active course cards with illustrated covers, and quick Resume button; (2) #/catalog — Filterable Course Catalog (Topic, Level, Length) covering three complete seeded fictional courses ('Visual Data Storytelling', 'Systems Design for Product Builders', 'Everyday Sound & Acoustics') with real multi-chapter outlines, instructor bios, and student reviews; (3) #/course — Full Course Detail page with syllabus outline, learning outcomes, instructor bio, reviews, and lesson launcher; (4) #/player — Interactive Lesson Player featuring live animated HTML5 Canvas visual diagrams tailored to each course (live animated charts, system-architecture packet flows, or harmonic soundwave interference) with Play/Pause, timeline scrubber, chapter markers, speed selector (1×/1.25×/1.5×/2×), toggleable live synced Captions bar, per-lesson Markdown Notes saved to localStorage, Mark Complete button, and an interactive graded Quiz with instant explanations; (5) #/certificate — Clean printable completion certificate for [LEARNER_NAME] with course selector, serial ID, total hours, and window.print() button (zero calendar dates or 4-digit years). Bundle all 4 cohesive illustrated course cover WebP images under public/images/.

- Audience: Self-paced learners, cohort educators, and online course creators.
- Goal: Deliver an energizing, distraction-free learning workspace that feels genuinely alive mid-course from the very first pixel.
- Tone: Warm, encouraging editorial academy—structured clarity with tactile study craft.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/plus-jakarta-sans (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Set base: './' and build: { sourcemap: false } in vite.config.ts.
  - Import @fontsource/plus-jakarta-sans (600, 700), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (500, 600) in src/main.tsx.
  - Bundle all 4 generated cohesive editorial illustration WebP files in public/images/ and document them in ASSETS.md.
  - Persist completed lesson IDs, quiz scores, and per-lesson notes in localStorage and sync routes (#/dashboard, #/catalog, #/course, #/player, #/certificate) with window.location.hash.

## Variables
- [PLATFORM_NAME] — Platform Name (default: "Brightleaf Academy"). Fictional online course platform name
- [LEARNER_NAME] — Active Learner Name (default: "Samira Chen"). Fictional learner displayed on dashboard and certificate
- [STREAK_DAYS] — Active Streak Days (default: "12"). Current study streak counter on dashboard
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/online-learning-platform in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro template

Unlock the full prompt and the source code

  • The full prompt: design, sections, motion, assets
  • Source code of every live demo
  • Commercial license

The live demo and DESIGN.md stay free.

From $9/month · launch sale on yearly and lifetime

DESIGN.md

The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.

---
name: "Online Learning Platform"
colors:
  academy_paper: "#FBFAF5"
  deep_ink: "#161A33"
  sunflower_gold: "#FFC93C"
  clear_sky: "#5AB2FF"
typography:
  headings_course_titles: { family: "Plus Jakarta Sans", weights: [600, 700] }
  lesson_prose_captions_notes: { family: "Inter", weights: [400, 500, 600] }
  timers_progress_serial_ids: { family: "JetBrains Mono", weights: [500, 600] }
spacing: "Crisp top navigation bar + generous 1280px workspace grid with clear card hierarchy and print-specific CSS for the Certificate view."
radius: "16px rounded study cards with crisp 1px ink/12 borders."
---

# Online Learning Platform — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Academy Paper** `#FBFAF5` — Warm reading and dashboard canvas
- **Deep Ink** `#161A33` — Primary text, player stage, and structural accents
- **Sunflower Gold** `#FFC93C` — Streaks, active highlights, and primary action accent
- **Clear Sky** `#5AB2FF` — Progress meters, active chapters, and quiz highlights

## Typography
- **Headings & Course Titles** — Plus Jakarta Sans (OFL), weights 600/700. Self-host the font files.
- **Lesson Prose, Captions & Notes** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Timers, Progress % & Serial IDs** — JetBrains Mono (OFL), weights 500/600. Self-host the font files.

## Spacing & shape
- Spacing: Crisp top navigation bar + generous 1280px workspace grid with clear card hierarchy and print-specific CSS for the Certificate view.
- Radius: 16px rounded study cards with crisp 1px ink/12 borders.

## Motion
- Real-time animated Canvas visual lessons synced to timeline scrubber, speed (1×–2×), and chapter markers.
- Instant quiz grading feedback and live localStorage note autosave.

## Imagery
Four cohesive flat-geometric editorial illustrations from one unified palette (deep ink #161A33, sunflower #FFC93C, sky #5AB2FF, cream #FBFAF5) for the three seeded courses plus the learner studio banner—zero text inside images.

## Tone
Warm, encouraging editorial academy—structured clarity with tactile study craft.

---
— Prompt by VibeFather · https://vibefather.ai/t/online-learning-platform · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

Make it yours

  • A solo course creator: set PLATFORM_NAME to your academy, LEARNER_NAME to a sample student, and swap the three seeded courses for your own syllabi and instructor bio.
  • A coding bootcamp: keep the dashboard and lesson player, replace the Systems Design course with your curriculum and link the certificate page to your cohort completion records.
  • A corporate training team: rename the platform to your internal academy and rewrite the catalog filters for compliance, onboarding and tool training tracks.
  • A music or science educator: use the Everyday Sound and Acoustics course as a base, adjust the Canvas soundwave lesson and quiz explanations to match your own topic.

Online Learning Platform: questions and answers

How do I add wine club signup to a winery website built with AI?

The Online Learning Platform template is built for course delivery, not winery signups, so a wine club form is not one of its sections. You can reuse the learner dashboard pattern by repurposing the enrolled course cards into membership tiers and linking a signup button to your mailing list. For a winery site, start from a template that already includes a signup form.

What does the Online Learning Platform template include on its five pages?

The Online Learning Platform template includes five routes: a learner dashboard with a streak calendar strip, weekly goal progress and three enrolled courses; a filterable catalog of three fictional courses with syllabi, instructor bios and reviews; a course detail page; an interactive lesson player with animated Canvas diagrams, captions, speed controls, notes and quizzes; and a printable certificate.

Can I change the learner name, platform name and streak count in the prompt?

Yes. The prompt exposes three variables: PLATFORM_NAME defaults to Brightleaf Academy, LEARNER_NAME defaults to Samira Chen, and STREAK_DAYS defaults to 12. Replace them with your own values and rewrite every headline, label and image caption to match, keeping the same layout, colors and motion. The demo built by Gemini 4 Neon in Antigravity uses the default values.

How do the animated lessons and quizzes work without video files?

The lesson player uses animated HTML5 Canvas diagrams in place of video: live charts for Visual Data Storytelling, packet flows for Systems Design for Product Builders and soundwave interference for Everyday Sound and Acoustics. Playback includes play and pause, a timeline scrubber, chapter markers, speed from 1× to 2×, toggleable captions and instant-feedback quizzes with explanations.

Where are lesson notes and quiz scores saved, and can I print certificates?

Per-lesson Markdown notes, completed lesson IDs and quiz scores are saved in the browser's localStorage, so progress stays on the device you study on. The certificate page offers a course selector, serial ID and total hours, plus a print button that opens the browser print dialog for a clean completion certificate.

How do I build an online learning platform with AI?

Copy the full prompt (Pro) from this page or run npx vibefather add online-learning-platform, replace the variables with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.

Which AI model built the Online Learning Platform demo?

The Brightleaf Academy case was built by Gemini 4 Neon in Antigravity. Each build used the published prompt with nothing added.

What tech stack and pages does the Online Learning Platform template use?

Online Learning Platform is a 5-page site built with React, Tailwind CSS and Typescript, with micro-interactions and interactive canvas. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.

Is the Online Learning Platform template free to use?

Online Learning Platform is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.

Does the Online Learning Platform template work on mobile?

Yes. Every Online Learning Platform build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.