Skip to content

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

Refine official site navigation

yomab6b7598a7c9e
diff --git a/apps/site/src/components/navbar/navbar.astro b/apps/site/src/components/navbar/navbar.astro
index 077559bc..9b14b77c 100644
--- a/apps/site/src/components/navbar/navbar.astro
+++ b/apps/site/src/components/navbar/navbar.astro
@@ -1,8 +1,8 @@
---
import Container from "@/components/container.astro";
-import Link from "@/components/ui/link.astro";
import Dropdown from "./dropdown.astro";
import LanguageSwitcher from "./language-switcher.astro";
+import { Icon } from "astro-icon/components";
import { Astronav, MenuItems, MenuIcon } from "astro-navbar";
import { getLocalizedPath, getSiteLocale, siteCopy } from "@/i18n";
@@ -14,21 +14,16 @@ const menuitems = [
path: `${getLocalizedPath(locale, "/")}#features`,
},
{
- title: copy.guides,
- children: [
- {
- title: copy.deploy,
- path: getLocalizedPath(locale, "/blog/ai-agent-deploy-cloudflare"),
- },
- {
- title: copy.migration,
- path: getLocalizedPath(locale, "/guides/evernote-migration"),
- },
- {
- title: copy.advancedPlay,
- path: getLocalizedPath(locale, "/guides/advanced-play"),
- },
- ],
+ title: copy.deploy,
+ path: getLocalizedPath(locale, "/blog/ai-agent-deploy-cloudflare"),
+ },
+ {
+ title: copy.migration,
+ path: getLocalizedPath(locale, "/guides/evernote-migration"),
+ },
+ {
+ title: copy.advancedPlay,
+ path: getLocalizedPath(locale, "/guides/advanced-play"),
},
{
title: copy.blog,
@@ -94,17 +89,31 @@ const menuitems = [
}
</ul>
<div class="lg:hidden flex items-center mt-3 gap-4">
- <Link href="https://demo.edgeever.org" target="_blank" style="muted" block size="md">{copy.demo}</Link>
- <Link href="https://github.com/tianma-if/edgeever" target="_blank" size="md" block>GitHub</Link>
+ <a
+ 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"
+ aria-label="GitHub"
+ >
+ <Icon class="h-5 w-5" name="bx:bxl-github" />
+ </a>
<LanguageSwitcher pathname={Astro.url.pathname} compact />
</div>
</MenuItems>
</Astronav>
<div>
<div class="hidden lg:flex items-center gap-4">
- <a href="https://demo.edgeever.org" target="_blank" class="text-gray-600 hover:text-gray-900 transition">{copy.demo}</a>
<LanguageSwitcher pathname={Astro.url.pathname} />
- <Link href="https://github.com/tianma-if/edgeever" target="_blank" size="md">GitHub</Link>
+ <a
+ 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"
+ aria-label="GitHub"
+ >
+ <Icon class="h-5 w-5" name="bx:bxl-github" />
+ </a>
</div>
</div>
</header>
diff --git a/apps/site/src/i18n.ts b/apps/site/src/i18n.ts
index 5831cf78..49a0cfe7 100644
--- a/apps/site/src/i18n.ts
+++ b/apps/site/src/i18n.ts
@@ -35,7 +35,7 @@ export const siteCopy = {
guides: "使用指南",
deploy: "安装部署",
migration: "从印象笔记迁移",
- advancedPlay: "进阶玩法",
+ advancedPlay: "搭配AI Agent的玩法",
blog: "博客",
contact: "联系我们",
demo: "在线演示",
@@ -138,7 +138,7 @@ export const siteCopy = {
guides: "Guides",
deploy: "Deploy",
migration: "Migrate from Evernote",
- advancedPlay: "Advanced play",
+ advancedPlay: "AI Agent plays",
blog: "Blog",
contact: "Contact",
demo: "Demo",
diff --git a/apps/site/src/pages/contact.astro b/apps/site/src/pages/contact.astro
index c93d4c98..d182086f 100644
--- a/apps/site/src/pages/contact.astro
+++ b/apps/site/src/pages/contact.astro
@@ -1,6 +1,5 @@
---
import Container from "@/components/container.astro";
-import Sectionhead from "@/components/sectionhead.astro";
import Layout from "@/layouts/Layout.astro";
import { Icon } from "astro-icon/components";
---
@@ -10,53 +9,41 @@ import { Icon } from "astro-icon/components";
description="EdgeEver 联系与社区交流入口。Bug、功能建议和部署问题建议优先通过 GitHub Issues 沉淀。"
>
<Container>
- <Sectionhead>
- <Fragment slot="title">联系与社区交流</Fragment>
- <Fragment slot="desc">Bug、功能建议和部署问题请优先沉淀到公开渠道,方便后来者复用解决方案。</Fragment>
- </Sectionhead>
-
- <div class="grid md:grid-cols-2 gap-12 mx-auto max-w-4xl mt-16 text-slate-700">
- <div>
- <h2 class="font-bold text-2xl text-gray-900">EdgeEver 开发者社区</h2>
- <p class="text-lg leading-relaxed text-slate-500 mt-4">
- EdgeEver 核心 README 推荐优先通过 GitHub Issues 反馈 Bug、功能建议和部署问题。这样后续用户遇到同类问题时,也能检索到完整上下文。
- </p>
- <div class="mt-6 space-y-4">
- <div class="flex items-start space-x-3">
- <Icon class="text-gray-600 w-6 h-6 shrink-0 mt-0.5" name="bx:bxl-github" />
+ <main class="mx-auto max-w-3xl py-12 md:py-20 text-slate-700">
+ <section class="rounded-lg border border-slate-200 bg-white p-8 shadow-sm">
+ <a
+ href="https://github.com/tianma-if/edgeever/issues"
+ target="_blank"
+ class="group block"
+ >
+ <div class="flex items-start gap-4">
+ <Icon class="text-gray-700 w-8 h-8 shrink-0 mt-0.5 transition group-hover:text-brand-text" name="bx:bxl-github" />
<div>
- <a href="https://github.com/tianma-if/edgeever/issues" target="_blank" class="font-semibold text-gray-900 hover:underline">
- GitHub Issues (问题追踪)
- </a>
- <p class="text-sm text-slate-500 mt-1">适用于提交软件故障、错误报告 (Bug Reports) 或明确的功能请求。</p>
+ <h1 class="text-2xl font-bold text-gray-900 transition group-hover:text-brand-text">GitHub Issues</h1>
+ <p class="mt-3 text-base leading-7 text-slate-500">
+ 适用于提交软件故障、错误报告、部署问题或明确的功能请求。
+ </p>
</div>
</div>
- </div>
- </div>
-
- <div class="bg-slate-50 p-8 rounded-lg border border-slate-100 flex flex-col justify-between">
- <div>
+ </a>
+
+ <div class="mt-8 border-t border-slate-200 pt-6">
<h2 class="font-bold text-xl text-gray-900">其他联系信息</h2>
- <p class="text-sm text-slate-500 mt-2">
- 如果需要私下沟通,可以通过核心 README 中提供的微信联系。添加时请备注 EdgeEver。
- </p>
- <div class="mt-6 space-y-3">
- <div class="flex items-center space-x-2.5">
- <Icon class="text-gray-400 w-5 h-5" name="bx:bx-message-rounded" />
+ <div class="mt-5 grid gap-4 sm:grid-cols-2">
+ <div class="flex items-center gap-3 rounded-lg bg-slate-50 px-4 py-3">
+ <Icon class="text-gray-400 w-5 h-5 shrink-0" name="bx:bx-message-rounded" />
<span class="text-gray-600">微信:m1245207870</span>
</div>
- <div class="flex items-center space-x-2.5">
- <Icon class="text-gray-400 w-5 h-5" name="bx:bx-globe" />
+ <div class="flex items-center gap-3 rounded-lg bg-slate-50 px-4 py-3">
+ <Icon class="text-gray-400 w-5 h-5 shrink-0" name="bx:bx-globe" />
<span class="text-gray-600">主域名:edgeever.org</span>
</div>
</div>
- </div>
- <div class="mt-8 pt-6 border-t border-slate-200">
- <p class="text-xs text-slate-400 leading-normal">
- 官网内容以同级核心仓库 `edgeever` 的 README、docs 和实际实现为准。
+ <p class="mt-4 text-xs leading-normal text-slate-400">
+ 私下沟通请备注 EdgeEver。
</p>
</div>
- </div>
- </div>
+ </section>
+ </main>
</Container>
</Layout>
diff --git a/apps/site/src/pages/en/contact.astro b/apps/site/src/pages/en/contact.astro
index 0dad6bb4..a58ac1f7 100644
--- a/apps/site/src/pages/en/contact.astro
+++ b/apps/site/src/pages/en/contact.astro
@@ -1,6 +1,5 @@
---
import Container from "@/components/container.astro";
-import Sectionhead from "@/components/sectionhead.astro";
import Layout from "@/layouts/Layout.astro";
import { Icon } from "astro-icon/components";
---
@@ -10,53 +9,41 @@ import { Icon } from "astro-icon/components";
description="EdgeEver contact and community links. Bugs, feature requests, and deployment issues are best tracked through GitHub Issues."
>
<Container>
- <Sectionhead>
- <Fragment slot="title">Contact and Community</Fragment>
- <Fragment slot="desc">Please use public channels for bugs, feature requests, and deployment issues so future users can find the full context.</Fragment>
- </Sectionhead>
-
- <div class="grid md:grid-cols-2 gap-12 mx-auto max-w-4xl mt-16 text-slate-700">
- <div>
- <h2 class="font-bold text-2xl text-gray-900">EdgeEver developer community</h2>
- <p class="text-lg leading-relaxed text-slate-500 mt-4">
- The core README recommends using GitHub Issues for bugs, feature requests, and deployment questions. This keeps solutions searchable and reusable for other self-hosters.
- </p>
- <div class="mt-6 space-y-4">
- <div class="flex items-start space-x-3">
- <Icon class="text-gray-600 w-6 h-6 shrink-0 mt-0.5" name="bx:bxl-github" />
+ <main class="mx-auto max-w-3xl py-12 md:py-20 text-slate-700">
+ <section class="rounded-lg border border-slate-200 bg-white p-8 shadow-sm">
+ <a
+ href="https://github.com/tianma-if/edgeever/issues"
+ target="_blank"
+ class="group block"
+ >
+ <div class="flex items-start gap-4">
+ <Icon class="text-gray-700 w-8 h-8 shrink-0 mt-0.5 transition group-hover:text-brand-text" name="bx:bxl-github" />
<div>
- <a href="https://github.com/tianma-if/edgeever/issues" target="_blank" class="font-semibold text-gray-900 hover:underline">
- GitHub Issues
- </a>
- <p class="text-sm text-slate-500 mt-1">Best for software bugs, deployment problems, and concrete feature requests.</p>
+ <h1 class="text-2xl font-bold text-gray-900 transition group-hover:text-brand-text">GitHub Issues</h1>
+ <p class="mt-3 text-base leading-7 text-slate-500">
+ Best for software bugs, deployment problems, and concrete feature requests.
+ </p>
</div>
</div>
- </div>
- </div>
+ </a>
- <div class="bg-slate-50 p-8 rounded-lg border border-slate-100 flex flex-col justify-between">
- <div>
+ <div class="mt-8 border-t border-slate-200 pt-6">
<h2 class="font-bold text-xl text-gray-900">Other contact information</h2>
- <p class="text-sm text-slate-500 mt-2">
- For private communication, use the WeChat contact listed in the core README and mention EdgeEver when adding the contact.
- </p>
- <div class="mt-6 space-y-3">
- <div class="flex items-center space-x-2.5">
- <Icon class="text-gray-400 w-5 h-5" name="bx:bx-message-rounded" />
+ <div class="mt-5 grid gap-4 sm:grid-cols-2">
+ <div class="flex items-center gap-3 rounded-lg bg-slate-50 px-4 py-3">
+ <Icon class="text-gray-400 w-5 h-5 shrink-0" name="bx:bx-message-rounded" />
<span class="text-gray-600">WeChat: m1245207870</span>
</div>
- <div class="flex items-center space-x-2.5">
- <Icon class="text-gray-400 w-5 h-5" name="bx:bx-globe" />
+ <div class="flex items-center gap-3 rounded-lg bg-slate-50 px-4 py-3">
+ <Icon class="text-gray-400 w-5 h-5 shrink-0" name="bx:bx-globe" />
<span class="text-gray-600">Primary domain: edgeever.org</span>
</div>
</div>
- </div>
- <div class="mt-8 pt-6 border-t border-slate-200">
- <p class="text-xs text-slate-400 leading-normal">
- Website content follows the sibling `edgeever` repository README, docs, and actual implementation.
+ <p class="mt-4 text-xs leading-normal text-slate-400">
+ Mention EdgeEver when adding the private contact.
</p>
</div>
- </div>
- </div>
+ </section>
+ </main>
</Container>
</Layout>