AI Ready: a course marketplace template your coding agent can build on
Waypoint is a Next.js template for a multi-instructor course platform where AI works at both ends: a lesson player with a tutor that answers from the lesson open on screen, and a course studio that drafts outlines and quizzes for teachers. It ships with the files a coding agent needs to keep building in the same style, so a page you add with Claude Code, Cursor or Copilot looks like it belongs.
What makes it AI Ready
- DESIGN.md at the project root, in Google’s DESIGN.md format: colours, type, radius, spacing, components, light and dark, motion and imagery in twelve sections of rules. Its values are generated from
app/globals.css, so they match the code exactly. - AGENTS.md: what an agent must know before touching the project, from the font command to the one line that sets the site’s address.
- Three agent skills: build a page, restyle the template, and review a design against DESIGN.md.
npm run designrewrites DESIGN.md from the CSS, andnpm run checkstops when the two drift apart.- Colours, corners and motion are tokens, so a hue or a pace changes in one place and every page follows.
Two versions, one download
- template/ is the Next.js version, built with the stack listed below.
- html/ is the same 17 pages as plain HTML5 with Tailwind CSS 4, Alpine.js 3 and Vite 7. The pages were captured from the Next.js build, so the markup, the copy and the look match, in light and in dark.
- The finished site in
html/dist/opens from a folder and needs no server. Editing it needs Node.js 20.19 or newer. A course, an instructor, a lesson and a path are one sample page each, and every card that leads to one opens that sample. - Each version has its own guide,
documentation/index.htmlanddocumentation/html.html, and its own AGENTS.md. DESIGN.md and the three agent skills are in the Next.js version.
New in 1.2.0
- The HTML version of every page, in the same download.
- A dark mode on every page, with its own near-black palette rather than an inverted one, switched from the footer and remembered.
- Every button, chip, tab and card answers a press.
- Six named motion tokens drive every transition on the site.
- DESIGN.md, AGENTS.md and three agent skills for AI coding tools.
- A share card drawn from the brand for every link, and a course, teacher or path shows its own photograph.
Pages
- Home: search, subjects, the tutor and the studio shown working, a path planner, instructors, pricing and FAQ.
- Course catalogue: filters in seven groups, sort, search with suggestions, grid and list views, compare, recently viewed and an empty state.
- Course page: a syllabus that opens before purchase, free preview lessons, a rating breakdown, the instructor, related courses and a buy card that follows the scroll.
- Lesson player: a scrubber and playback speeds, a contents list that ticks off, a transcript that seeks on click, notes stamped to the second, a quiz marked on the spot and the AI tutor panel.
- Learning paths: five courses toward a job, with prerequisites and a slider for hours a week that moves the finish date.
- Instructor directory and profiles: filters by field and verification; career, courses, reviews and upcoming cohorts.
- Teach: the revenue split, three steps, an earnings calculator and an application form.
- Course studio: an outline drafted from one line, a recording split into lessons, generated quiz questions to approve, revenue by course and drafts.
- Learner dashboard: courses under way, the learning path, certificates to download or share, and saved courses.
- Pricing: three plans, a monthly and yearly toggle, a full comparison, team seats and pricing FAQ.
- Checkout: three steps with real validation, a promo code, an order summary and a success screen.
- About, Contact with live desk hours and an office map, Sign in with a three-step password reset, Sign up in three steps, and a 404.
What is built in
- Light and dark mode on every route, opening light, with a switch in the footer.
- 36 courses, 15 instructors and 4 learning paths of mock data, all in TypeScript arrays a page reads from.
- Saved courses, progress, notes and path choices kept in the browser and shared across tabs.
- Course comparison, recently viewed, follow an instructor, cohort waitlist.
- Earnings calculator, plan picker, hours-a-week planner.
- Downloadable certificates with share links.
- Responsive from 320px to wide desktop.
- SEO: per-route titles and link previews, a sitemap, robots and JSON-LD.
Built with
- Next.js 16.3 (App Router) and React 19.2
- Tailwind CSS 4 and shadcn/ui on Base UI
- TypeScript and next-themes
- HugeIcons and Heroicons
What is not included
- No backend, database or payment processing. The forms validate and do not send, and the AI tutor and studio answer from prepared demo data.
- Photography is loaded from Unsplash and Lummi for the demo and is not part of the download.
- The heading font, Cabinet Grotesk, is free but cannot be redistributed. One command,
npm run fonts, downloads it from Fontshare. - No Figma file: the design lives in the code and in DESIGN.md.
- In the HTML version, lists that need a server (filtering, paging and search suggestions as you type) show the first page as drawn, and it ships no sitemap or robots file. Its guide lists what does not come across, and the Cabinet Grotesk steps are in
html/src/css/fontshare.css.