automatic-eureka

Pillars of Logic website

The sign-up site for Pillars of Logic, a live online logic class for ages 11 to 13. Built with Next.js, TypeScript and Tailwind, and published as plain HTML files (a static export) on Cloudflare Pages.

Run it on your computer

npm install
npm run dev

Then open http://localhost:3000.

Build it the way Cloudflare does

npm run build

The finished site lands in out/. Cloudflare Pages uses the same command and folder:

Setting Value
Framework preset Next.js (Static HTML Export)
Build command npx next build
Build output directory out

Where things live

What Where
Home page (sign-up) app/page.tsx
Topic list app/topics/page.tsx
Privacy notice app/privacy/page.tsx
Sign-up form (sends to the inbox through FormSubmit) components/signup-form.tsx
“Try a lesson” card components/sample-lesson.tsx
Colors and fonts app/globals.css (the @theme block) and app/layout.tsx
Structured data for search engines app/home-json-ld.ts
Images, robots.txt, llms.txt, Cloudflare headers public/
Future blog posts content/posts/