Skip to content

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

feat(site): add Chinese community deployment tutorial

tianma-ifd34d37754305
diff --git a/apps/site/src/components/community-tutorial.astro b/apps/site/src/components/community-tutorial.astro
new file mode 100644
index 00000000..eacc2524
--- /dev/null
+++ b/apps/site/src/components/community-tutorial.astro
@@ -0,0 +1,24 @@
+---
+import { Icon } from "astro-icon/components";
+---
+
+<aside
+ class="not-prose relative left-1/2 my-10 w-[min(92vw,960px)] -translate-x-1/2 rounded-2xl border border-brand-border bg-brand-soft/40 px-6 py-6 sm:px-8"
+ aria-labelledby="community-tutorial-title"
+>
+ <p class="text-sm font-semibold text-brand-text">社区教程</p>
+ <a
+ id="community-tutorial-title"
+ class="mt-2 inline-flex items-start gap-2 text-lg font-bold leading-7 text-slate-900 transition hover:text-brand-text"
+ href="https://www.dujin.org/23773.html"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <span>一分钟部署零成本、开源且原生支持 AI Agent 的个人笔记 EdgeEver</span>
+ <Icon class="mt-1 h-5 w-5 shrink-0" name="bx:bx-link-external" />
+ </a>
+ <p class="mt-3 text-sm leading-6 text-slate-600">
+ 由独立博主「缙哥哥」撰写的第三方中文图文教程,内容由其独立维护。感谢他为 EdgeEver
+ 提供了许多宝贵建议与测试环境支持。
+ </p>
+</aside>
diff --git a/apps/site/src/pages/blog/[slug].astro b/apps/site/src/pages/blog/[slug].astro
index 49454ce1..5a6c3b54 100644
--- a/apps/site/src/pages/blog/[slug].astro
+++ b/apps/site/src/pages/blog/[slug].astro
@@ -1,6 +1,7 @@
---
import { getCollection, render } from "astro:content";
import AgentInstallTabs from "@/components/agent-install-tabs.astro";
+import CommunityTutorial from "@/components/community-tutorial.astro";
import BlogLayout from "@/layouts/BlogLayout.astro";
export async function getStaticPaths() {
@@ -18,4 +19,5 @@ const { Content } = await render(entry);
<BlogLayout frontmatter={entry.data}>
{entry.slug === "ai-agent-deploy-cloudflare" && <AgentInstallTabs />}
<Content />
+ {entry.slug === "ai-agent-deploy-cloudflare" && <CommunityTutorial />}
</BlogLayout>