Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

style(site): 重构 [手动在线部署] 引导文案排版与技术名词高亮

tianma-if935ad6dc1775
diff --git a/apps/site/src/components/agent-install-tabs.astro b/apps/site/src/components/agent-install-tabs.astro
index 051571f8..5e5a5b8c 100644
--- a/apps/site/src/components/agent-install-tabs.astro
+++ b/apps/site/src/components/agent-install-tabs.astro
@@ -68,14 +68,41 @@ const copy = isEnglish
<div class="mt-6 overflow-hidden rounded-[28px] bg-slate-100/90 px-4 py-6 sm:px-10 md:px-14 sm:py-8 border border-slate-200/60 shadow-xs">
<div class="agent-install-panel hidden" data-tab-panel="one-click">
- <p class="mx-auto max-w-3xl text-center text-xs sm:text-sm md:text-base leading-relaxed text-slate-600 font-sans">{copy.oneClickIntro}</p>
- <div class="mt-8 flex justify-center">
+ <div class="mx-auto max-w-3xl text-center text-xs sm:text-sm md:text-base leading-loose text-slate-600 font-sans">
+ {isEnglish ? (
+ <p class="leading-relaxed">
+ Complete setup in 4 simple web steps: Fork{" "}
+ <span class="inline-flex items-center font-bold text-slate-800 bg-white border border-slate-200/90 px-2 py-0.5 rounded-md text-xs shadow-2xs">EdgeEver</span>
+ , import it into{" "}
+ <span class="inline-flex items-center font-bold text-slate-800 bg-white border border-slate-200/90 px-2 py-0.5 rounded-md text-xs shadow-2xs">Cloudflare Workers & Pages</span>
+ , configure required resources & secret, then run and verify the first build.
+ </p>
+ ) : (
+ <p class="leading-loose">
+ 仅需在网页端完成 4 步极简配置:Fork{" "}
+ <span class="inline-flex items-center font-bold text-slate-800 bg-white border border-slate-200/90 px-2 py-0.5 rounded-md text-xs shadow-2xs mx-0.5">EdgeEver</span>
+ 、导入{" "}
+ <span class="inline-flex items-center font-bold text-slate-800 bg-white border border-slate-200/90 px-2 py-0.5 rounded-md text-xs shadow-2xs mx-0.5">Cloudflare Workers & Pages</span>
+ 、配置所需资源与密码、启动并验证首次构建。详细操作请查看在线部署文档。
+ </p>
+ )}
+ </div>
+
+ <div class="mt-6 flex flex-col sm:flex-row items-center justify-center gap-3">
+ <a
+ class="inline-flex items-center gap-2 rounded-full bg-slate-900 px-6 py-2.5 text-xs sm:text-sm font-semibold text-white shadow-md transition hover:-translate-y-0.5 hover:bg-slate-800 active:scale-95 w-full sm:w-auto justify-center"
+ href="https://github.com/tianma-if/edgeever/fork"
+ target="_blank"
+ rel="noopener">
+ <Icon class="h-4 w-4" name="bx:bxl-github" />
+ {isEnglish ? "Fork EdgeEver on GitHub" : "在 GitHub Fork 仓库"}
+ </a>
<a
- class="inline-flex items-center gap-2 rounded-full bg-brand px-8 py-3 text-xs sm:text-base font-semibold text-white shadow-[0_14px_30px_-18px_rgb(var(--edgeever-brand-rgb)/0.85)] transition hover:-translate-y-0.5 hover:bg-brand-hover active:scale-95"
+ class="inline-flex items-center gap-2 rounded-full bg-brand px-6 py-2.5 text-xs sm:text-sm font-semibold text-white shadow-[0_14px_30px_-18px_rgb(var(--edgeever-brand-rgb)/0.85)] transition hover:-translate-y-0.5 hover:bg-brand-hover active:scale-95 w-full sm:w-auto justify-center"
href={copy.oneClickGuideHref}
target="_blank"
rel="noopener">
- <Icon class="h-5 w-5" name="bx:bx-book-open" />
+ <Icon class="h-4 w-4" name="bx:bx-book-open" />
{copy.oneClickGuide}
</a>
</div>