Skip to content

feat(docs): landing page at / + self-hosted logo assets#3088

Merged
os-zhuang merged 1 commit into
mainfrom
docs/site-landing
Jul 17, 2026
Merged

feat(docs): landing page at / + self-hosted logo assets#3088
os-zhuang merged 1 commit into
mainfrom
docs/site-landing

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

背景

按 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'])。
  • logo / favicon 本地化:导航 logo 和 favicon 原来热链 https://objectstack.ai/logo.svg|png —— 该 URL 现在已经 500(重定向链坏掉),即线上导航 logo 和 favicon 目前是坏的。改为 public/logo.svg + app/favicon.ico 本地服务,顺带移除 next.config 里对 objectstack.ai 的 images.remotePatterns 白名单(唯一使用处已消失)。
  • 顶部导航补 Docs / Blog 链接(landing 和 blog 的 HomeLayout 上可见,DocsLayout 侧边栏同步出现)。

验证

  • 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)

  • Vercel:objectstack.ai + www 域名 301 → docs.objectstack.ai;GitHub archive www.objectstack.ai 与 website-astro 仓库。
  • content/docs.site.json(protocol 站)及 cloud 仓库同名文件里指向 www.objectstack.ai 的导航链接待清理。

🤖 Generated with Claude Code

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>
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 17, 2026 5:12am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/m labels Jul 17, 2026
@os-zhuang
os-zhuang merged commit 6b0c914 into main Jul 17, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the docs/site-landing branch July 17, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant