Technical blueprint for the GitHub Pages website — file structure, design system, task breakdown, KaTeX integration, and deployment verification
This document describes the complete deployment plan for transforming the "How Math Powers AI in Everyday Finance" talk plan into a live GitHub Pages website.
| Property | Value |
|---|---|
| Plan Version | 1.0 |
| Target Repository | Digital-AI-Finance/mathematics-for-ai |
| Live URL | https://digital-ai-finance.github.io/mathematics-for-ai/ |
| GitHub Pages | Main branch, root path (/) |
| Status | Ready for Execution |
| Created | 2026-02-18 |
Transform the talk plan content into a visually stunning, responsive, single-page website that serves as both a talk companion and standalone educational resource.
https://digital-ai-finance.github.io/mathematics-for-ai/<header>, <nav>, <section>, <footer>)cdn.jsdelivr.net/npm/katex@0.16.9$...$ and $$...$$Total: 5 files + 1 directory structure. Minimal.
mathematics-for-ai/
|-- .nojekyll # Prevent Jekyll processing (empty file)
|-- index.html # Main (and only) page
|-- css/
| |-- style.css # All styles
|-- js/
| |-- main.js # Navigation, smooth scroll, interactions
|-- images/
| |-- (empty initially -- site uses CSS/SVG/emoji for visuals)
|-- README.md # Repo description (brief, links to site)
Seven sequential tasks with clear dependencies. Tasks 3, 4, and 5 reference the same HTML structure and can be developed in parallel once Task 2 establishes the class/ID naming.
Estimated time: 2 minutes
gh repo create Digital-AI-Finance/mathematics-for-ai --publiccss/, js/, images/.nojekyll file to prevent Jekyll processinggithub.com/Digital-AI-Finance/mathematics-for-aiEstimated time: 15–20 minutes
This is the largest task. The HTML contains ALL content from the talk plan, structured for web presentation: navigation, hero, 10 section cards, math concepts table, cheat sheet, history timeline, BankBot journey, interactive elements, resources, and speaker notes.
Estimated time: 15–20 minutes
Complete responsive stylesheet with CSS custom properties for theming, mobile-first breakpoints at 768px / 1024px / 1400px, and all component styles for cards, timeline, tables, formula display, navigation, and hero.
Estimated time: 8–10 minutes
Vanilla JavaScript with six features: mobile navigation toggle, scroll spy via IntersectionObserver, smooth scroll with fixed-nav offset, scroll-triggered reveal animations, navbar background on scroll, and KaTeX auto-render initialization. No external JS libraries.
Estimated time: 2 minutes
Brief README with talk title and subtitle, link to the live site, brief description (2–3 sentences), tech stack mention (HTML/CSS/JS, KaTeX), and link to the GitHub org.
Estimated time: 3 minutes
git add -A && git commit -m "Initial site"git push origin maingh api — source: main branch, root pathgh api repos/.../pagesEstimated time: 5 minutes (includes waiting for GitHub Pages build)
All 8 LaTeX strings used across the site, rendered here for verification.
| Time | Section | Duration | Energy |
|---|---|---|---|
| 0:00 – 3:00 | Opening Hook | 3 min | HIGH |
| 3:00 – 7:00 | You Already Think Like an AI | 4 min | WARM |
| 7:00 – 15:30 | Fraud Detection | 8.5 min | HIGH |
| 15:30 – 17:00 | How Does the AI Learn? | 1.5 min | MEDIUM |
| 17:00 – 21:00 | Interactive: Spot the Fraud | 4 min | PEAK |
| 21:00 – 28:00 | Credit Scoring | 7 min | MEDIUM |
| 28:00 – 32:00 | Interactive: Live Demo | 4 min | PEAK |
| 32:00 – 34:00 | Recommendation Engines | 2 min | HIGH |
| 34:00 – 37:00 | Interactive: Design Your Own AI | 3 min | PEAK |
| 37:00 – 42:00 | Ethics, Careers, and Closing | 5 min | HIGH |
| 42:00 – 45:00 | Buffer / Q&A | 3 min | — |
| # | Type | Time | Description |
|---|---|---|---|
| 1 | Hand raise | 0:30 | “Raise your hand if you KNEW that” |
| 2 | Hand raise | ~10:00 | Mid-section prompt: “Should the AI block this?” |
| 3 | Audience vote | 17:00 | “Spot the Fraud” — 3 scenarios |
| 4 | Thumbs up/down | 28:00 | Predictions during demo |
| 5 | Shout response | 34:00 | “USE IT or SKIP IT” exercise |
| Stage | Section | Quote | State |
|---|---|---|---|
| Intro | 1 | “I analyzed your breakfast. You are 94% human.” | Overconfident |
| Smug | 4 (warmup) | “Too easy. Next.” | Cocky |
| Nightmare | 3 | (sweating on boundary) | Stressed |
| Learning | 3.5 | “FRAUD!” → “Most things are fine” → “Let me calculate…” | Growing |
| False Positive | 4 | “FRAUD DETECTED!” / “…suspicious flowers.” | Humbled |
| Recommendation | 7 | “Plant parents are savers.” | Observant |
| Skeptic | 8 | (shaking head at social media data) | Critical |
| Final Form | 10 | “I am 73% confident. But I defer to the human.” | Wise |
| Criterion | How to Verify |
|---|---|
| Site is live | GET https://digital-ai-finance.github.io/mathematics-for-ai/ returns 200 |
| All formulas render | Visual check of all 7+ KaTeX formulas |
| Responsive | Browser dev tools at 375px, 768px, 1200px |
| Navigation works | Click each nav link, verify smooth scroll |
| Content complete | Verify all 10 sections, 8 historians, 7 formulas, BankBot, resources |
| Fast loading | No heavy assets, KaTeX from CDN |
| Accessible | Heading hierarchy (h1 > h2 > h3), semantic HTML, alt text |
| No errors | Browser console clean |
| Risk | Likelihood | Mitigation |
|---|---|---|
| KaTeX CDN down | Very low | Pin specific version, fallback to plain text |
| GitHub Pages build fails | Low | Pure static HTML has no build step to fail |
| Formula rendering issues | Medium | Test each formula individually, use KaTeX documentation for escaping |
| Mobile layout breaks | Medium | Test at all breakpoints during development |
gh CLI auth issues |
Low | Verify auth before starting: gh auth status |