Skip to content

Commit 32b23ca

Browse files
colmariusampagent
andcommitted
Add docs landing page and serve-docs script
Amp-Thread-ID: https://ampcode.com/threads/T-019c1a49-d3f8-735d-9a74-09277bf222ce Co-authored-by: Amp <amp@ampcode.com>
1 parent 84c2fa5 commit 32b23ca

6 files changed

Lines changed: 28 additions & 4 deletions

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Upload artifact
3131
uses: actions/upload-pages-artifact@v3
3232
with:
33-
path: 'docs'
33+
path: "docs"
3434

3535
- name: Deploy to GitHub Pages
3636
id: deployment

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
project/
1818
├── AGENTS.md # This file - project instructions
1919
├── README.md # Project overview
20+
├── docs/ # GitHub Pages landing page
2021
├── .agents/
2122
│ ├── reference/ # External repos (gitignored)
2223
│ │ ├── mobster/ # Original dillonkearns/mobster clone

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Or open `MobCrew/MobCrew.xcodeproj` in Xcode and use ⌘B (build), ⌘R (run),
2828
```bash
2929
# Build and run
3030
./scripts/run.sh
31+
32+
# Serve docs locally
33+
./scripts/serve-docs.sh
3134
```
3235

3336
## Manual Testing
115 KB
Loading

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</style>
3131
</head>
3232
<body class="min-h-screen text-white font-sans">
33+
<div class="max-w-6xl mx-auto">
3334
<!-- Header -->
3435
<header class="container mx-auto px-6 py-6">
3536
<nav class="flex items-center justify-between">
@@ -46,7 +47,7 @@
4647
<section class="container mx-auto px-6 py-16 md:py-24 text-center">
4748
<h1 class="text-4xl md:text-6xl font-bold mb-6">Your Mob Programming Companion</h1>
4849
<p class="text-xl md:text-2xl text-gray-400 mb-8 max-w-2xl mx-auto">A native macOS timer for pair and mob programming sessions</p>
49-
50+
5051
<div class="flex flex-col items-center gap-4 mb-12">
5152
<a href="https://github.com/colmarius/mobcrew/releases" class="bg-mob-blue hover:bg-blue-600 text-white px-8 py-4 rounded-xl text-lg font-medium transition-colors inline-flex items-center gap-2">
5253
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.008-.866-.013-1.7-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.831.092-.646.35-1.086.636-1.336-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.269 2.75 1.025A9.578 9.578 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.743 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg>
@@ -66,7 +67,7 @@ <h1 class="text-4xl md:text-6xl font-bold mb-6">Your Mob Programming Companion</
6667
<!-- Features Section -->
6768
<section class="container mx-auto px-6 py-16 md:py-24">
6869
<h2 class="text-3xl md:text-4xl font-bold text-center mb-12">Features</h2>
69-
70+
7071
<div class="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
7172
<!-- Timer Card -->
7273
<div class="bg-mob-darker rounded-2xl p-8 border border-gray-800 hover:border-mob-blue transition-colors">
@@ -96,7 +97,7 @@ <h3 class="text-xl font-bold mb-3">Rotate Roles</h3>
9697
<div class="max-w-3xl mx-auto">
9798
<h2 class="text-3xl md:text-4xl font-bold mb-6">Inspired by Mobster</h2>
9899
<p class="text-xl text-gray-400 mb-8">
99-
MobCrew brings mob programming tools to modern macOS with a native SwiftUI experience.
100+
MobCrew brings mob programming tools to modern macOS with a native SwiftUI experience.
100101
Built for Apple Silicon, designed to feel right at home on your Mac.
101102
</p>
102103
<a href="https://github.com/dillonkearns/mobster" class="text-mob-blue hover:underline">Check out the original Mobster →</a>
@@ -118,5 +119,6 @@ <h2 class="text-3xl md:text-4xl font-bold mb-6">Inspired by Mobster</h2>
118119
</a>
119120
</div>
120121
</footer>
122+
</div>
121123
</body>
122124
</html>

scripts/serve-docs.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
# Serve the docs website locally and open in browser
3+
4+
set -e
5+
6+
PROJECT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
7+
DOCS_DIR="$PROJECT_DIR/docs"
8+
PORT=8000
9+
10+
echo "Serving docs at http://localhost:$PORT"
11+
echo "Press Ctrl+C to stop"
12+
13+
# Open browser after a short delay
14+
(sleep 1 && open "http://localhost:$PORT") &
15+
16+
# Start local server
17+
cd "$DOCS_DIR"
18+
python3 -m http.server $PORT

0 commit comments

Comments
 (0)