AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
style(site): 升级 [手动在线部署] 选项卡为 4 步可视化极简流程卡片与双 Action 按钮
tianma-iff13c60bcf5f4
diff --git a/apps/site/src/components/agent-install-tabs.astro b/apps/site/src/components/agent-install-tabs.astroindex 98388eb9..7b65b46f 100644--- a/apps/site/src/components/agent-install-tabs.astro+++ b/apps/site/src/components/agent-install-tabs.astro@@ -11,9 +11,17 @@ const copy = isEnglishagent: "Option A: AI Agent deployment",recommended: "Recommended",oneClickIntro:- "Complete setup in 4 simple web steps: Fork EdgeEver, import it into Cloudflare Workers & Pages, configure required resources & secret, then run and verify the first build. See the online deployment guide for details.",+ "Complete setup in 4 simple web steps to deploy EdgeEver for free on Cloudflare's global edge network:",+ step1Title: "1. Fork Repo",+ step1Desc: "Fork EdgeEver on GitHub",+ step2Title: "2. Import Pages",+ step2Desc: "Import into Cloudflare Pages",+ step3Title: "3. Bind D1 & R2",+ step3Desc: "Set D1 DB, R2 & Secret",+ step4Title: "4. Build & Login",+ step4Desc: "Build & launch your note app",forkButton: "Fork EdgeEver on GitHub",- oneClickGuide: "Open the online deployment guide",+ oneClickGuide: "Open deployment guide",oneClickGuideHref:"https://github.com/tianma-if/edgeever/blob/main/docs/deploy-cloudflare-button.md",promptLabel: "PROMPT",@@ -29,9 +37,17 @@ const copy = isEnglishoneClick: "方案二:手动在线部署",agent: "方案一:AI Agent 一键部署",recommended: "推荐",- oneClickIntro: "仅需在网页端完成 4 步极简配置:Fork EdgeEver、导入 Cloudflare Workers & Pages、配置所需资源与密码、启动并验证首次构建。详细操作请查看在线部署文档。",- forkButton: "在 GitHub Fork EdgeEver",- oneClickGuide: "查看在线部署文档",+ oneClickIntro: "仅需在网页端完成 4 步极简配置,即可将 EdgeEver 免费部署至 Cloudflare 全球边缘网络:",+ step1Title: "1. Fork 仓库",+ step1Desc: "在 GitHub Fork EdgeEver 项目",+ step2Title: "2. 导入 Pages",+ step2Desc: "Cloudflare 网页导入 Pages",+ step3Title: "3. 绑定 D1/R2",+ step3Desc: "配置数据库、存储桶与密码",+ step4Title: "4. 部署 & 登录",+ step4Desc: "自动完成构建,即刻体验",+ forkButton: "在 GitHub Fork 仓库",+ oneClickGuide: "查看在线部署详细文档",oneClickGuideHref:"https://github.com/tianma-if/edgeever/blob/main/docs/deploy-cloudflare-button.zh-CN.md",promptLabel: "PROMPT",@@ -66,25 +82,59 @@ const copy = isEnglish</div><div class="mt-8 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">+ <!-- Tab 2: Manual Online Deployment (Optimized 4-Step Visual Flow) --><div class="agent-install-panel hidden" data-tab-panel="one-click">- <p class="mx-auto max-w-3xl text-center text-sm sm:text-base md:text-lg leading-relaxed text-slate-600">{copy.oneClickIntro}</p>- <div class="mt-8 flex justify-center">+ <p class="mx-auto max-w-3xl text-center text-xs sm:text-sm md:text-base leading-relaxed text-slate-600 font-sans mb-6">+ {copy.oneClickIntro}+ </p>++ <!-- 4-Step Interactive Mini Cards Grid -->+ <div class="grid grid-cols-2 sm:grid-cols-4 gap-2.5 sm:gap-3 max-w-3xl mx-auto mb-8">+ <div class="bg-white p-3 rounded-xl border border-slate-200/90 shadow-2xs flex flex-col justify-between">+ <span class="text-xs font-bold text-emerald-700 font-mono">{copy.step1Title}</span>+ <span class="text-[11px] text-slate-600 font-medium mt-1 leading-snug">{copy.step1Desc}</span>+ </div>+ <div class="bg-white p-3 rounded-xl border border-slate-200/90 shadow-2xs flex flex-col justify-between">+ <span class="text-xs font-bold text-teal-700 font-mono">{copy.step2Title}</span>+ <span class="text-[11px] text-slate-600 font-medium mt-1 leading-snug">{copy.step2Desc}</span>+ </div>+ <div class="bg-white p-3 rounded-xl border border-slate-200/90 shadow-2xs flex flex-col justify-between">+ <span class="text-xs font-bold text-cyan-700 font-mono">{copy.step3Title}</span>+ <span class="text-[11px] text-slate-600 font-medium mt-1 leading-snug">{copy.step3Desc}</span>+ </div>+ <div class="bg-white p-3 rounded-xl border border-slate-200/90 shadow-2xs flex flex-col justify-between">+ <span class="text-xs font-bold text-emerald-800 font-mono">{copy.step4Title}</span>+ <span class="text-[11px] text-slate-600 font-medium mt-1 leading-snug">{copy.step4Desc}</span>+ </div>+ </div>++ <!-- Action Buttons Row -->+ <div class="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" />+ {copy.forkButton}+ </a><a- class="inline-flex items-center gap-2 rounded-full bg-brand px-8 py-3 text-sm 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></div>+ <!-- Tab 1: AI Agent Deployment Panel --><div class="agent-install-panel" data-tab-panel="agent"><!-- Top Intro Text (Upper Red Box Optimized Typography) --><div class="mx-auto mb-6 max-w-3xl text-center sm:text-left text-xs sm:text-sm md:text-base leading-relaxed text-slate-600 font-sans">{isEnglish ? (- <p>+ <p class="text-center leading-relaxed">Copy the prompt below directly to an AI Agent configured with{" "}<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">GitHub</span>{" "}and{" "}diff --git a/apps/site/src/components/community-tutorial.astro b/apps/site/src/components/community-tutorial.astroindex 9536e941..a3307d5c 100644--- a/apps/site/src/components/community-tutorial.astro+++ b/apps/site/src/components/community-tutorial.astro@@ -3,50 +3,49 @@ import { Icon } from "astro-icon/components";---<aside- class="not-prose relative left-1/2 my-12 w-[min(92vw,960px)] -translate-x-1/2 overflow-hidden rounded-2xl border border-brand-border/60 bg-gradient-to-br from-brand-soft/80 via-white to-brand-soft/30 p-6 shadow-xs transition hover-lift sm:p-8"+ class="not-prose relative left-1/2 my-12 w-[min(92vw,960px)] -translate-x-1/2 overflow-hidden rounded-2xl border border-emerald-200/80 bg-gradient-to-br from-emerald-50/70 via-white to-slate-50 p-6 shadow-2xs transition hover-lift sm:p-8"aria-labelledby="community-tutorial-title"><!-- Decorative soft glow background -->- <div class="absolute -right-16 -top-16 -z-10 h-32 w-32 rounded-full bg-brand-muted/20 blur-2xl"></div>+ <div class="absolute -right-16 -top-16 -z-10 h-32 w-32 rounded-full bg-emerald-400/10 blur-2xl"></div><div class="flex flex-col justify-between min-w-0"><div><div class="flex items-center gap-2">- <span class="inline-flex items-center gap-1 rounded-full bg-brand-soft px-2.5 py-0.5 text-xs font-semibold text-brand-text border border-brand-border/30 shadow-xs">- <Icon class="h-3.5 w-3.5" name="bx:bx-award" />+ <span class="inline-flex items-center gap-1 rounded-full bg-emerald-100/80 px-2.5 py-0.5 text-xs font-bold text-emerald-800 border border-emerald-200/60 shadow-2xs">+ <Icon class="h-3.5 w-3.5 text-emerald-600" name="bx:bx-award" />社区推荐教程</span></div><aid="community-tutorial-title"- class="group mt-3 inline-flex items-start gap-1.5 text-lg font-bold leading-snug text-slate-900 transition hover:text-brand-text"+ class="group mt-3 inline-flex items-start gap-1.5 text-base sm:text-lg font-extrabold leading-snug text-slate-900 transition hover:text-emerald-700"href="https://www.dujin.org/23773.html"target="_blank"rel="noopener noreferrer">- <span class="underline decoration-slate-200 decoration-2 underline-offset-4 transition group-hover:decoration-brand-border">+ <span class="underline decoration-slate-300 decoration-2 underline-offset-4 transition group-hover:decoration-emerald-500">一分钟部署零成本、开源且原生支持 AI Agent 的个人笔记 EdgeEver</span>- <Icon class="mt-1 h-4 w-4 shrink-0 text-slate-400 transition group-hover:text-brand-text group-hover:translate-x-0.5 group-hover:-translate-y-0.5" name="bx:bx-link-external" />+ <Icon class="mt-1 h-4 w-4 shrink-0 text-slate-400 transition group-hover:text-emerald-600 group-hover:translate-x-0.5 group-hover:-translate-y-0.5" name="bx:bx-link-external" /></a>- <p class="mt-3 text-xs leading-relaxed text-slate-500">- 由独立博主「缙哥哥」精心撰写的第三方中文图文教程(内容由其独立维护)。在此特别感谢他在项目早期提供了许多宝贵建议与测试环境支持!+ <p class="mt-3 text-xs sm:text-sm leading-relaxed text-slate-600 font-sans">+ 由独立博主 <span class="font-bold text-slate-800 bg-emerald-50 border border-emerald-200/60 px-1.5 py-0.5 rounded text-xs">缙哥哥</span> 精心撰写的第三方中文图文教程(内容由其独立维护)。在此特别感谢他在项目早期提供了许多宝贵建议与测试环境支持!</p></div>- <div class="mt-4 pt-4 border-t border-slate-100/60 flex items-center justify-end">+ <div class="mt-4 pt-4 border-t border-slate-200/60 flex items-center justify-end"><ahref="https://www.dujin.org/23773.html"target="_blank"rel="noopener noreferrer"- class="inline-flex items-center gap-1 text-xs font-semibold text-brand transition hover:text-brand-hover hover:underline"+ class="inline-flex items-center gap-1.5 px-4 py-2 text-xs font-bold text-white bg-emerald-600 hover:bg-emerald-700 rounded-full shadow-xs active:scale-95 transition-all">- 阅读教程 <Icon class="h-4 w-4" name="bx:bx-right-arrow-alt" />+ <span>阅读教程</span>+ <Icon class="h-3.5 w-3.5" name="bx:bx-right-arrow-alt" /></a></div></div></aside>--