Skip to content

docs: add demo GIF and example preview to homepage#37

Merged
jeff-atriumn merged 1 commit intomainfrom
docs/improve-homepage
Feb 26, 2026
Merged

docs: add demo GIF and example preview to homepage#37
jeff-atriumn merged 1 commit intomainfrom
docs/improve-homepage

Conversation

@jeff-atriumn
Copy link
Member

Change Summary

The homepage had no demo and no examples — visitors had to navigate to subpages to see what tokencost actually does. Now the homepage shows value immediately:

  • Demo GIF added right below the hero, before the install command
  • Batch planning example with a concrete cost comparison (Opus vs Sonnet) and a "See more examples" link
  • Install section now mentions VS Code, Cursor, Windsurf alongside the Getting Started link

Risk & Impact Assessment

Risk Level: low

  • Docs-only change (single MDX file)
  • No code, dependency, or CI changes
  • Demo GIF already exists in docs/public/

Test Plan

  • npm run build in docs/ — builds cleanly, all 9 pages generated
  • Verified GIF path resolves correctly (/tokencost-dev.gif is in docs/public/)

Manual Verification Steps

  1. Pull the branch and run cd docs && npm run build && npm run preview
  2. Verify the demo GIF renders on the homepage
  3. Verify the batch planning example appears below the feature cards
  4. Verify the "See more examples" link goes to /examples/

🤖 Generated with Claude Code

The examples and demo were buried in subpages. Now the homepage
shows the GIF immediately and includes a batch planning example
with a link to the full examples page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tokencost Building Building Preview, Comment Feb 26, 2026 5:32am

Request Review

@jeff-atriumn jeff-atriumn merged commit 12dfd82 into main Feb 26, 2026
6 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.

1 participant