Skip to content

homepage: fix Two Paths cards overflowing on mobile#135

Merged
TeoSlayer merged 14 commits into
mainfrom
fix/mobile-two-paths-overflow
Jul 17, 2026
Merged

homepage: fix Two Paths cards overflowing on mobile#135
TeoSlayer merged 14 commits into
mainfrom
fix/mobile-two-paths-overflow

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

The Two Paths (skill injection) cards overflowed on mobile — the pilotctl skills status … command line forced .moat-card to ~533px inside a 390px viewport, clipping the command.

Fix: add min-width: 0 to .moat-card (scoped to the homepage) so the card can shrink and the .tp-cmd overflow-x: auto scrolls the command inside its box. No shared-CSS change.

Verified at 390px: zero elements exceed the viewport; both command boxes contained.

teovl and others added 13 commits July 17, 2026 13:52
The MCP Setup page described an unpublished, git-clone-only build under the
old TeoSlayer org. pilotprotocol-mcp@0.1.0 is now on npm, so update to match:

- install is one command: `npx -y pilotprotocol-mcp setup`
- links point at github.com/pilot-protocol/pilot-mcp (the package repo)
- 400+ -> 435 specialists (the count the package advertises)
- add "What you get": the 10 MCP tools, 6 resources, 5 prompts
- replace the vague modes list with the real Local (v0.1, now) /
  Hosted SSH (v0.2) / Hosted HTTP (v0.3) table
- lead with the package framing: "MCP gave your agent tools. Pilot gives
  your agent peers."
- add per-harness manual config (Claude Code, Cursor/Cline, OpenHands)

Build green (344 pages).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ckage count

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
# Conflicts:
#	src/pages/plain/docs/cli-reference.astro
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The .moat-card grid items lacked min-width:0, so a long tp-cmd line
(pilotctl skills status ...) forced the card to its intrinsic width
(~533px) inside a 390px viewport — clipping the command. Add min-width:0
so the card shrinks and the tp-cmd's own overflow-x:auto scrolls the
command instead. Scoped to the homepage; no shared-CSS change.

Verified at 390px: zero elements exceed the viewport.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Plain twins auto-regenerated

The machine-UI mirrors under src/pages/plain/ had drifted from their marketing/docs sources. I regenerated the stale page(s) and pushed a commit to this branch:

src/pages/plain/index.astro

Please review the bot commit. Prose is an LLM summary of the source; commands, flags, and numeric specs are copied verbatim. If the build / check:plain check is still red, re-run it (or push any commit) — the regenerated twins now match their sources.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview deployed to Cloudflare Pages

  • Commit deploy URL: https://091f035b.pilotprotocol.pages.dev
  • Branch alias: https://fix/mobile-two-paths-overflow.pilotprotocol.pages.dev (may take ~30s to propagate)
  • Commit: 04b0f061d445cd869d7b698193380fbbc3c96317

@TeoSlayer
TeoSlayer merged commit 4d0a40c into main Jul 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants