Skip to content

Add mobile landing page (docs/index.html) for three-tap onboarding - #2

Merged
iamitp merged 1 commit into
mainfrom
claude/check-vera-status-TUqaU
Apr 17, 2026
Merged

iamitp merged 1 commit into
mainfrom
claude/check-vera-status-TUqaU

Conversation

@iamitp

@iamitp iamitp commented Apr 17, 2026

Copy link
Copy Markdown
Owner

What

Single-file mobile landing page at docs/index.html. Collapses the iPhone onboarding flow from six steps to three taps:

  1. Tap to copy — Clipboard API with execCommand fallback.
  2. Open Claude / ChatGPT / Gemini — opens the web URL; iOS Universal Links hand it to the installed app if present.
  3. Paste the prompt as the first message (or into Custom Instructions for a Project / GPT / Gem).

Why

Most potential users are on a phone. Finding PROMPT.md on GitHub mobile, selecting text out of a code block on iOS, copying, switching to Claude, and navigating to Project settings is six steps across two apps. Most bounce.

The paste-in prompt is already the right product shape for mobile. This page just removes the friction.

Details

  • ~7 KB, no dependencies, no font downloads. Inline CSS + vanilla JS.
  • Dark theme, 48 px+ tap targets, safe-area-inset-bottom padding for notched iPhones.
  • Prompt text embedded in JS; keep in sync with PROMPT.md (comment in source).
  • OG/Twitter meta for link previews.
  • README.md gets a "On your phone" CTA next to "Try it in 30 seconds".

Reviewer action after merge

Enable GitHub Pages at Settings → Pages:

  • Source: Deploy from a branch
  • Branch: main / folder: /docs

Page goes live at https://iamitp.github.io/vera/ within ~1 minute.

https://claude.ai/code/session_01DMCSCaVAsCLVXFswHeQ7cx

Most Vera users will be on a phone, not a Mac mini. The paste-in
prompt is already the right product shape for mobile, but the flow
(find PROMPT.md on GitHub, select text in a code block on iOS, copy,
switch to Claude, navigate to Project settings, paste) is six steps
in two apps. Most bounce before finishing.

New landing page collapses this to three taps:

1. Tap "Copy Vera prompt" (Clipboard API + execCommand fallback).
2. Tap "Open Claude" / "Open ChatGPT" / "Open Gemini" — opens the
   web URL, which iOS Universal Links will hand to the installed app.
3. Paste and start.

Implementation notes:
- Single file, no dependencies, ~7KB. Inline CSS + vanilla JS.
- System fonts only (no font download). SF Pro on iOS, BlinkMacSystem
  elsewhere, system-ui fallback.
- Dark theme with proper contrast; safe-area-inset-bottom padding for
  notched iPhones; 48px+ tap targets throughout.
- Prompt text embedded in JS (kept in sync with PROMPT.md by comment).
- OG/Twitter card tags for link previews.
- Passes HTML parity check (no unclosed tags).

README gets a second CTA next to "Try it in 30 seconds": "On your
phone". Points at https://iamitp.github.io/vera/ which becomes live
as soon as GitHub Pages is enabled in Settings (source: main / /docs).

https://claude.ai/code/session_01DMCSCaVAsCLVXFswHeQ7cx
@iamitp
iamitp merged commit e025b38 into main Apr 17, 2026
4 checks passed
@iamitp
iamitp deleted the claude/check-vera-status-TUqaU branch April 17, 2026 10:13
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