Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Standalone Vite project in docs-site/ with React 18, TypeScript, and Tailwind v4. Includes GitHub Actions workflow for Pages deployment. Not added to Bun workspaces — deploys independently. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dark, terminal-inspired landing page targeting developers and agentic tech adopters. Highlights VM isolation, fleet management, and config-as-code provisioning with real CLI commands throughout. Sections: hero with install command, fleet demo (clawctl list), three feature pillars, headless config example, day-to-day management commands, and final CTA. Includes copy-to-clipboard on install blocks. Typography: Bricolage Grotesque (display), DM Sans (body), JetBrains Mono (code). Amber accent on near-black backgrounds with scroll-triggered fade-in animations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a new docs-site/ Vite+React+TS+Tailwind project for a GitHub Pages landing page for the clawctl docs, plus helper scripts and a Pages deploy workflow.
Changes:
- Introduces
docs-site/Vite app with the landing page UI, styling, and small UI primitives (fade-in, terminal, copy button, JSON highlighting). - Adds root-level npm scripts to run/build/preview the docs site from the repo root.
- Adds a GitHub Actions workflow to build and deploy
docs-site/distto GitHub Pages on pushes tomain.
Reviewed changes
Copilot reviewed 16 out of 20 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tasks/2026-03-16_2246_docs-site-skeleton/TASK.md | Task record for docs-site scaffold and deployment notes |
| package.json | Adds docs:* scripts for running the docs site |
| docs-site/vite.config.ts | Vite config (base path + plugins) |
| docs-site/tsconfig*.json | TypeScript project references and compiler options |
| docs-site/tsconfig*.tsbuildinfo | TS incremental build artifacts (committed) |
| docs-site/src/App.tsx | Landing page implementation (UI, demos, animations) |
| docs-site/src/index.css | Tailwind v4 theme tokens + custom CSS for the aesthetic |
| docs-site/index.html | App HTML shell + font loading |
| docs-site/package.json / bun.lock | Docs-site dependencies + lockfile |
| .github/workflows/pages.yml | Builds and deploys docs-site to GitHub Pages |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| @@ -0,0 +1 @@ | |||
| {"root":["./vite.config.ts"],"version":"5.7.3"} No newline at end of file | |||
docs-site/src/App.tsx
Outdated
Comment on lines
+96
to
+100
| const handleCopy = () => { | ||
| navigator.clipboard.writeText(text).then(() => { | ||
| setCopied(true); | ||
| setTimeout(() => setCopied(false), 2000); | ||
| }); |
| <button | ||
| onClick={handleCopy} | ||
| className="p-1 rounded-md text-slate-500 hover:text-slate-300 hover:bg-white/5 transition-all cursor-pointer" | ||
| title="Copy to clipboard" |
Comment on lines
+412
to
+432
| } | ||
|
|
||
| function highlightJsonLine(line: string): ReactNode { | ||
| const parts: ReactNode[] = []; | ||
| let remaining = line; | ||
| let key = 0; | ||
|
|
||
| // Match leading whitespace | ||
| const leadingMatch = remaining.match(/^(\s*)/); | ||
| const indent = leadingMatch ? leadingMatch[1] : ""; | ||
| if (indent) { | ||
| parts.push(indent); | ||
| remaining = remaining.slice(indent.length); | ||
| } | ||
|
|
||
| // Tokenize the rest | ||
| while (remaining.length > 0) { | ||
| // Key-value pair: "key": value | ||
| const kvMatch = remaining.match(/^("(?:[^"\\]|\\.)*")\s*:\s*(.*)/); | ||
| if (kvMatch) { | ||
| parts.push( |
.github/workflows/pages.yml
Outdated
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: [docs-site/**] |
Comment on lines
+29
to
+31
| - Using Tailwind v4 with `@tailwindcss/vite` plugin (CSS-first config) | ||
| - `base` in vite.config.ts set to `/create-openclaw-vm/` for GitHub Pages | ||
| - Not added to root Bun workspaces — independent project |
| @@ -0,0 +1 @@ | |||
| {"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts"],"version":"5.7.3"} No newline at end of file | |||
- Sticky nav with backdrop blur - Film grain noise overlay for depth - Stronger hero ambient glow - Gradient dividers between sections for visual rhythm - Compact management demo with grid-aligned inline comments - Stronger feature card hover glow - Remove unused CSS keyframes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix unnecessary regex escape in JSON highlighter - Ignore docs-site/dist from eslint via glob pattern - Apply prettier formatting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove committed tsbuildinfo files and add *.tsbuildinfo to .gitignore - Add error handling to clipboard copy (silent fail on rejection) - Add aria-label to copy button for accessibility - Fix invalid HTML: use <span> instead of <div> inside <pre> - Add workflow file to pages.yml paths filter - Fix stale /create-openclaw-vm/ references in TASK.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fc5976d to
80fd26d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
clawctl listwith multiple instancesTest plan
npm run devindocs-site/and verify all sections renderclawctlcommands🤖 Generated with Claude Code