Repository navigation
feat(site): split the showcase website out of the app - #244
Merged
Merged
Conversation
The web app and desktop shell now open on the world list at `/`, and the logo leads there. The old showcase page, its video and images leave the app bundle. The showcase moves to `apps/site`, a static site with new sections, a light and a dark theme, and rewritten English and Chinese copy. The demo media script moves with it. The router devtools, which only showed on the old page, and `VITE_ROUTER_DEVTOOLS` are removed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KrxfUjX95MqfRqtcWDnnU
The site asks the GitHub API for the latest release and links the macOS dmg or the Windows installer, with the Windows portable build beside it. Anything else, or a failed request, keeps the release page link. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KrxfUjX95MqfRqtcWDnnU
5 of 9 tasks
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.
Requested by yy · project thread
Summary / 摘要
Before:
/in the web app was a marketing page (scroll-driven pipeline story, plugin bento, demo video). It shipped inside the desktop package with ~2 MB of media, and the Covel logo in the app led back to it, so desktop players landed on a page written for visitors, in a style that did not match the app's panels. Its copy read as framework documentation.After: the app opens on the world list at
/(a redirect to/session), and the logo leads there too. The world list already is the app's start screen: continue a session, create a world with AI, set up models. The showcase is a separate static site inapps/site(@covel/site, no workspace dependencies, never built into Web or desktop) with new sections (hero with demo video, getting started, the four bundled worlds, what Covel does that a chatbot doesn't, plugins with aPLUGIN.mdexample, closing download), a light and a dark theme, and rewritten English and Chinese copy inapps/site/src/copy.ts(the Chinese table is typed against the English one).How: the landing components, their tests,
use-active-step, thehome.*/nav.getStartedcatalog keys and the landing-only images are removed fromapps/web; the demo media andbuild-mediascript (with its test) move toapps/site. The header's landing-only language select and "Get Started" button go with the page. TanStack Router devtools were only rendered off the session/debug routes, i.e. only on the old page, so the devtools, their dev dependency andVITE_ROUTER_DEVTOOLSare removed. E2E specs that started on/now start on/sessionand find the nav / theme toggle in either the top bar or the nav rail; the language-switch specs use the phone menu, where the select still is.Type of change / 变更类型
Verification / 验证方式
pnpm check(Node 26.11.1)pnpm --filter @covel/site test,pnpm --filter @covel/web testpnpm test(all 44 Turbo test tasks passed)pnpm e2e:full-flow.spec.ts,i18n.spec.ts,onboarding.spec.ts(16 passed) against the preinstalled Chromium/, which lands on the world list;pnpm --filter @covel/site buildproducesapps/site/dist/Not verified / 未验证: the rest of the Playwright suite (CI runs it); the desktop package was not built; the site has no deployment target yet (any static host can serve
apps/site/dist/); Windows is not verified.Related issue / context / 关联
Project thread request: the home page looked dated, the copy was weak, and the marketing page did not belong inside the packaged app.
Docs sync / 文档同步
docs/reference/: n/a (no contract change)docs/CONTRIBUTING.md+docs/CONTRIBUTING.en.md(demo media now underapps/site),docs/guide/commands.md,docs/architecture/packages.md,docs/guide/env-registry.md(removedVITE_ROUTER_DEVTOOLS),.env.example, newapps/site/README.mddocs/changelog.d/showcase-site.mdAGENTS.mdMonorepo Structure listsapps/site🤖 Generated with Claude Code
https://claude.ai/code/session_015KrxfUjX95MqfRqtcWDnnU
Generated by Claude Code