Skip to content

feat: docs site landing page#27

Merged
TimBeyer merged 6 commits intomainfrom
feat/docs-site-landing-page
Mar 16, 2026
Merged

feat: docs site landing page#27
TimBeyer merged 6 commits intomainfrom
feat/docs-site-landing-page

Conversation

@TimBeyer
Copy link
Owner

Summary

  • Landing page for the clawctl docs site targeting developers and agentic tech adopters
  • Hero with prominent install command and copy-to-clipboard
  • Fleet demo showing clawctl list with multiple instances
  • Three feature pillars: VM isolation, fleet management, config-as-code
  • Headless provisioning section with syntax-highlighted JSON config
  • Day-to-day management demo with real CLI commands
  • Dark terminal-inspired aesthetic: Bricolage Grotesque + DM Sans + JetBrains Mono, amber accents on near-black, film grain texture, sticky blurred nav, scroll-triggered fade-in animations

Test plan

  • Run npm run dev in docs-site/ and verify all sections render
  • Check copy-to-clipboard works on install terminals
  • Verify responsive layout on mobile viewports
  • Confirm all CLI commands shown match actual clawctl commands

🤖 Generated with Claude Code

TimBeyer and others added 3 commits March 16, 2026 22:53
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>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/dist to GitHub Pages on pushes to main.

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
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(
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
TimBeyer and others added 3 commits March 16, 2026 23:51
- 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>
@TimBeyer TimBeyer force-pushed the feat/docs-site-landing-page branch from fc5976d to 80fd26d Compare March 16, 2026 22:52
@TimBeyer TimBeyer merged commit 1de3e7c into main Mar 16, 2026
4 checks passed
@TimBeyer TimBeyer deleted the feat/docs-site-landing-page branch March 16, 2026 22:52
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