From 5fab329ad15254e37d2304e7077f2769fb0e34ae Mon Sep 17 00:00:00 2001 From: Advait Paliwal Date: Tue, 24 Mar 2026 20:50:33 -0700 Subject: [PATCH] Fix homepage install controls and split docs install sections Move inline script inside Layout for proper View Transitions support, redesign install pills as connected tabs above the command bar, and split the combined pnpm/bun docs section into separate headings. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../docs/getting-started/installation.md | 18 ++- website/src/pages/index.astro | 149 +++++++++--------- 2 files changed, 91 insertions(+), 76 deletions(-) diff --git a/website/src/content/docs/getting-started/installation.md b/website/src/content/docs/getting-started/installation.md index df50427..99504a1 100644 --- a/website/src/content/docs/getting-started/installation.md +++ b/website/src/content/docs/getting-started/installation.md @@ -25,23 +25,33 @@ irm https://feynman.is/install.ps1 | iex This installs the Windows runtime bundle under `%LOCALAPPDATA%\Programs\feynman`, adds its launcher to your user `PATH`, and lets you re-run the installer at any time to update. -## pnpm / bun +## pnpm -If you already have Node.js 20.18.1+ installed, you can install Feynman globally via `pnpm` or `bun`: +If you already have Node.js 20.18.1+ installed, you can install Feynman globally via `pnpm`: ```bash pnpm add -g @companion-ai/feynman -bun add -g @companion-ai/feynman ``` Or run it directly without installing: ```bash pnpm dlx @companion-ai/feynman +``` + +## bun + +```bash +bun add -g @companion-ai/feynman +``` + +Or run it directly without installing: + +```bash bunx @companion-ai/feynman ``` -The package-manager distribution ships the same core application but depends on Node.js being present on your system. The standalone installer is preferred because it bundles its own Node runtime and works without a separate Node installation. +Both package-manager distributions ship the same core application but depend on Node.js being present on your system. The standalone installer is preferred because it bundles its own Node runtime and works without a separate Node installation. ## Post-install setup diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index ba6de42..fcfe019 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -57,34 +57,37 @@ const installCommands = [
-
- {installCommands.map((entry) => ( - - ))} +
+
+ {installCommands.map((entry, i) => ( + + ))} +
+
- - + + - -