Skip to content

[DOCS] Add quick-start code block to homepage hero #558

Closed

Description

@edenreich

Summary

The homepage hero (docs.inference-gateway.com) leads with a wall of provider names and the first code example is several scrolls down (in the MCP section). For a developer-facing product, the most valuable element is a copy-paste quick-start snippet right under the hero.

Acceptance Criteria

  • A quick-start code block is visible in the hero without scrolling
  • The snippet is copy-paste runnable (curl or docker run)
  • It links to the full getting-started guide

Activity

  1. added
    documentation
    on Aug 17, 2026
  2. changed the title [-]docs(homepage): add quick-start code block to hero section[/-] [+][DOCS] Add quick-start code block to homepage hero[/+] on Aug 17, 2026
  3. edenreich commented on Aug 17, 2026

    @edenreich
    ContributorAuthor

    @claude can you work on this? Perhaps add a nice iterm2 like terminal that shows how to install with a copy to clipboard. use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Aug 17, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 7s —— View job • docs/issue-558-20260817-1628 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-558-20260817-1628?quick_pull=1&title=Issue%20%23558%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23558%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #565

    • Read homepage + theme setup
    • Add iTerm2-style terminal component with copy-to-clipboard
    • Mount it in the hero
    • Validate (format:check, lint:md, build)
    • Commit + open PR

    What changed

    • .vitepress/theme/components/QuickStartTerminal.vue - macOS/iTerm2-style window: traffic-light dots, title bar, dark body, green $ prompt, and a Copy button (navigator.clipboard, with a "Copied!" state and a silent fallback when the clipboard API is unavailable, e.g. insecure context).
    • .vitepress/theme/index.ts - mounts it through the default theme's home-hero-after slot, so it sits directly under the hero and above the feature grid.

    The snippet is the copy-paste runnable docker run from the getting started guide, and the block links to /getting-started/ underneath. No new dependencies.

    Acceptance criteria: quick-start block right under the hero, copy-paste runnable docker run, links to the full guide.

    Verified: bun run format:check, bun run lint:md, and bun run build all pass, and the component is present in the SSR output of .vitepress/dist/index.html. Worth a bun run preview glance to confirm it looks right on your screen size - I could not visually inspect it here.

    PR #565 | Branch |

  5. moved this from In progress to QA in 2026on Aug 17, 2026
  6. moved this from QA to Done in 2026on Aug 18, 2026
  7. inference-gateway-releaser commented on Aug 24, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.12 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions