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): 在顶部导航栏 GitHub 图标旁新增双语『开源』标识
tianma-ifbe8f879abace
diff --git a/apps/site/src/components/navbar/navbar.astro b/apps/site/src/components/navbar/navbar.astroindex 657050d0..68fde26d 100644--- a/apps/site/src/components/navbar/navbar.astro+++ b/apps/site/src/components/navbar/navbar.astro@@ -102,10 +102,11 @@ const menuitems = [href="https://github.com/tianma-if/edgeever"target="_blank"rel="noopener"- class="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-slate-200 bg-white text-gray-600 transition hover:border-slate-300 hover:text-gray-900"+ class="inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-semibold text-slate-700 bg-white border border-slate-200 rounded-full"aria-label="GitHub">- <Icon class="h-5 w-5" name="bx:bxl-github" />+ <Icon class="h-4 w-4 text-slate-800" name="bx:bxl-github" />+ <span>{copy.openSource}</span></a><LanguageSwitcher pathname={Astro.url.pathname} compact /></div>@@ -118,10 +119,11 @@ const menuitems = [href="https://github.com/tianma-if/edgeever"target="_blank"rel="noopener"- class="flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-slate-200 bg-white text-gray-600 transition hover:border-slate-300 hover:text-gray-900"+ class="inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-semibold text-slate-700 hover:text-slate-900 bg-white hover:bg-slate-50 border border-slate-200 hover:border-slate-300 rounded-full transition-all duration-200 shadow-2xs"aria-label="GitHub">- <Icon class="h-5 w-5" name="bx:bxl-github" />+ <Icon class="h-4 w-4 text-slate-800" name="bx:bxl-github" />+ <span>{copy.openSource}</span></a></div></div>diff --git a/apps/site/src/i18n.ts b/apps/site/src/i18n.tsindex 441edfc6..4a1bb7f1 100644--- a/apps/site/src/i18n.ts+++ b/apps/site/src/i18n.ts@@ -53,6 +53,7 @@ export const siteCopy = {tagMigration: "迁移教程",tagMcp: "AI 协同 (MCP)",tagSelfHosted: "部署自托管",+ openSource: "开源",},hero: {slogan: siteTaglines["zh-CN"],@@ -305,6 +306,7 @@ export const siteCopy = {tagMigration: "Migration",tagMcp: "AI & MCP",tagSelfHosted: "Deployment",+ openSource: "Open Source",},hero: {slogan: siteTaglines["en-US"],