Skip to content

feat(docs): add OpenClaw OS landing page#490

Merged
zahlekhan merged 3 commits intothesysdev:mainfrom
pd-builds:openclaw-os-landing
May 7, 2026
Merged

feat(docs): add OpenClaw OS landing page#490
zahlekhan merged 3 commits intothesysdev:mainfrom
pd-builds:openclaw-os-landing

Conversation

@pd-builds
Copy link
Copy Markdown
Contributor

Summary

Adds a dedicated /Openclaw-OS marketing page that reuses the home page section primitives, plus the supporting changes to make those primitives shareable. Home page output is unchanged — defaults preserve the original copy and behavior.

New on this page

  • Hero: custom title/subtitle, mobile preview image override (with crop-from-top), GitHub banner hidden, compact tagline copy, install pill with copy-to-clipboard toast.
  • Possibilities: parameterized title/tagline/cards. Currently shows 4 placeholder cards ("To be Added") with gray boxes — replace with real images later.
  • Features: 6-item OpenClaw feature list (Generative UI / Persistent apps / Structured workspace / Full visibility / Direct control / Elegant interface) with Phosphor icons. Home keeps its original 7-item list.
  • StuckInChatSection: new section "Is your agent still stuck in Telegram?" with three negative cards (No visibility / No structure / No control) and the same install CTA.

Shared component changes (defaults preserve home page)

  • HeroSection — added optional props: tagline, taglineCompact, showGitHubBanner, mobilePreviewImage*, mobilePreviewImageCropTopPercent. NpmButton wrapped in a positioning container so the new copy toast can anchor under it.
  • FeaturesSection — added features and showCta props; OPENCLAW_FEATURES exported alongside the original list (default).
  • PossibilitiesSection — added title, tagline, cards props; cards render a gray placeholder when no image is provided. Hover lift retained on desktop, removed on mobile/touch.
  • FeatureList — items now take icon: ReactNode instead of an SVG path string, so any icon library (Phosphor here) can plug in.
  • Button (ClipboardCommandButton) — exposes onCopyChange; falls back to document.execCommand('copy') when the async clipboard API rejects (preview iframes, focus-locked contexts, etc.); copy-feedback duration tightened to 1.8s and re-clicks within the window now re-trigger.
  • SiteMarketingHeader — mirrors the desktop NEW badge in the mobile menu.

Other

  • Added @phosphor-icons/react.
  • New assets: OpenclawOS-hero.png, openclaw-os-mobile-hero.png, openclaw-dark.svg.
  • Tightened content-shell gap on the OpenClaw page only via a contentShellTight modifier.

Test plan

  • Visit /Openclaw-OS — verify hero, possibilities placeholders, features list, "stuck in Telegram" section, and footer render in order without the gradient bars between them.
  • Click the install pill in both the hero and the StuckInChatSection — gray "Copied. Paste in your terminal to install." toast slides in below the button and disappears after ~1.8s. Re-clicking refreshes the timer.
  • Switch to mobile width: verify the mobile hero image, no GitHub banner, smaller title, and that the Possibilities cards stack and the StuckInChat cards stack as well.
  • Visit / (home page) — verify the original 7-item features list, "Endless possibilities. Built in realtime." heading, hover lift on the 4 possibility cards (desktop only), and the desktop install pill render unchanged.
  • Open the mobile menu (hamburger) on any page — verify the NEW badge sits next to "OpenClaw OS".
  • Run pnpm types:check and pnpm lint in docs/.

🤖 Generated with Claude Code

pd-builds and others added 3 commits May 5, 2026 14:20
Adds a dedicated /Openclaw-OS marketing page reusing the home page section
primitives, plus the supporting changes to make those primitives shareable.

- New Openclaw-OS route with custom hero copy, mobile hero, and tightened
  contentShell spacing.
- New StuckInChatSection ("Is your agent still stuck in Telegram?") with
  three negative cards and a copy-to-install CTA.
- HeroSection: optional tagline (with compact variant), GitHub-banner toggle,
  mobile preview image override + crop-from-top, install pill toast on copy
  (slides under the button, auto-dismiss at 1.8s, subtle gray pill).
- FeaturesSection: parameterized with a `features` prop; default keeps the
  original 7-item home list, OPENCLAW_FEATURES export drives the new 6-item
  list. CTA toggle.
- PossibilitiesSection: optional `title`, `tagline`, `cards` props with
  placeholder support (gray box + custom title); hover lift kept on desktop
  only.
- FeatureList: icons accept any ReactNode (Phosphor on the OpenClaw page).
- Button: ClipboardCommandButton now exposes `onCopyChange` and falls back
  to `document.execCommand('copy')` when the async clipboard API rejects.
- SiteMarketingHeader: mirror the desktop NEW badge in the mobile menu.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Add 4 real screenshot images for the OpenClaw OS Possibilities cards
  (business-health, engineering-board, marketing-dashboard, stocks-tracker).
- Add `titlePrefix` field to the Possibilities card prop so titles can
  render a gray first line ("An app to") followed by a black second line
  describing the use case.
- Replace placeholder cards on /Openclaw-OS with the real images and
  conversational copy: track company sales / monitor sprint progress /
  observe social media / track stock market.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bumps the OpenClaw OS hero preview image to 118% width with negative
inline margins so it overflows the frame symmetrically; the existing
overflow:hidden on .previewSection crops the bleed. Home page hero is
unaffected since it doesn't set widePreview.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zahlekhan zahlekhan marked this pull request as ready for review May 5, 2026 11:34
@zahlekhan zahlekhan merged commit 22d7ccc into thesysdev:main May 7, 2026
2 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.

2 participants