Skip to content

Commit d628c69

Browse files
roger704claude
andcommitted
Host Slidev deck on GitHub Pages
Adds a deploy workflow that builds the deck with base path /YZR-Team/ and publishes to GitHub Pages on push to main. Also commits the deck source (slides, lockfile, exported PDF) and the narrative doc. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 6bcbf4d commit d628c69

10 files changed

Lines changed: 11091 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Deploy Slidev deck to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'presentation/**'
8+
- '.github/workflows/deploy.yml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: false
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
defaults:
24+
run:
25+
working-directory: presentation
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 20
32+
cache: npm
33+
cache-dependency-path: presentation/package-lock.json
34+
35+
- name: Install dependencies
36+
run: npm ci
37+
38+
- name: Build deck
39+
run: npx slidev build --base /YZR-Team/ --out dist
40+
41+
- name: SPA fallback (copy index.html → 404.html)
42+
run: cp dist/index.html dist/404.html
43+
44+
- uses: actions/configure-pages@v5
45+
46+
- uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: presentation/dist
49+
50+
deploy:
51+
needs: build
52+
runs-on: ubuntu-latest
53+
environment:
54+
name: github-pages
55+
url: ${{ steps.deployment.outputs.page_url }}
56+
steps:
57+
- id: deployment
58+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.claude/
33
node_modules/
44
*.log
5+
presentation/dist/
6+
presentation/.slidev/

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ The 10 seconds between an AI agent asking for the go-ahead and the owner tapping
88

99
Interactive mock-up built with Lovable → [**roger704/hands-free-help**](https://github.com/roger704/hands-free-help)
1010

11+
## Presentation
12+
13+
Slidev deck that pulls the live Lovable mock via iframe — see [`presentation/`](./presentation/).
14+
15+
```bash
16+
cd presentation && npm install && npm run dev
17+
```
18+
1119
## Contents
1220

1321
| File | What it is |

presentation/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
dist/
3+
.slidev/
4+
*.log
5+
slides-export.pdf

presentation/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Tap to Trust — Deck
2+
3+
Web-based Slidev deck. Embeds the Lovable mock **live** in an iframe, so whenever the prototype updates the deck updates too.
4+
5+
## Run it
6+
7+
```bash
8+
cd presentation
9+
npm install
10+
npm run dev
11+
```
12+
13+
Opens at `http://localhost:3030`.
14+
15+
## Export
16+
17+
```bash
18+
npm run build # static site → dist/
19+
npm run export # → slides-export.pdf
20+
```
21+
22+
## Edit
23+
24+
Everything lives in [`slides.md`](./slides.md). Each `---` is a slide. Markdown + Vue + Tailwind.
25+
26+
## The Lovable URL
27+
28+
The iframes point to `https://hands-free-help.lovable.app`. If Lovable publishes the app at a different URL, swap it in `slides.md` (two places: the Live Prototype slide and the Walkthrough slide).
29+
30+
## Deck flow
31+
32+
1. Title
33+
2. The 10-second problem
34+
3. Target user (3 personas)
35+
4. The response spectrum (7 ways)
36+
5. The 6-step shape
37+
6. **Live prototype (iframe)**
38+
7. Scenario walkthrough (fish supply chain) + iframe
39+
8. The feel (context / customer / handoff / tone)
40+
9. Voice mode
41+
10. Learning loops
42+
11. Failure modes
43+
12. Closing + links

0 commit comments

Comments
 (0)