feat(docs): landing page at / + self-hosted logo assets#3088
Merged
Conversation
The objectstack.ai marketing site is being retired (repo archived, domain will 301 here), making the docs site the project homepage: - `/` now renders a one-screen hero (get started / documentation / GitHub + ObjectOS cross-link) instead of redirecting to /docs - nav logo + favicon served from public/ instead of hot-linking https://objectstack.ai — that URL already 500s today, so the nav logo and favicon were broken in production - top nav gains Docs / Blog links (visible on the HomeLayout pages) - drop the now-unused objectstack.ai images.remotePatterns entry Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
背景
按 objectos / objectstack 分拆决议,www.objectstack.ai 营销站将作废(仓库 archive、域名 301 到 docs.objectstack.ai),docs 站升格为 objectstack 开源项目的官网门面。本 PR 是 framework 侧的配套小改。
改动
/从 redirect(/docs) 改为一屏极简 landing:hero(README 官方定位文案)+ Get started(→ /docs/getting-started)/ Documentation / GitHub 三个按钮 + 底部 ObjectOS 互链(「需要官方带 AI 的托管运行时 → www.objectos.ai」)。复用 blog 页已有的HomeLayout + baseOptions()模式,仅英文(站点当前languages: ['en'])。https://objectstack.ai/logo.svg|png—— 该 URL 现在已经 500(重定向链坏掉),即线上导航 logo 和 favicon 目前是坏的。改为public/logo.svg+app/favicon.ico本地服务,顺带移除 next.config 里对 objectstack.ai 的images.remotePatterns白名单(唯一使用处已消失)。验证
pnpm run types:check✅(fumadocs-mdx + next typegen + tsc)pnpm --filter @objectstack/docs build✅(400+ 页全部预渲染成功)/200 直出 landing(亮/暗色均正常,窄视口响应式 OK);Get started 落到 "What is ObjectStack?";本地 logo 在导航正常渲染。后续(不在本 PR)
content/docs.site.json(protocol 站)及 cloud 仓库同名文件里指向 www.objectstack.ai 的导航链接待清理。🤖 Generated with Claude Code