Skip to content

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

Fix AI deploy CTA route

yoma8060b51f3fc8
diff --git a/apps/site/src/components/hero.astro b/apps/site/src/components/hero.astro
index d9d48607..f26c0a9f 100644
--- a/apps/site/src/components/hero.astro
+++ b/apps/site/src/components/hero.astro
@@ -47,7 +47,7 @@ const heroSlogan = "基于 Cloudflare 全家桶自托管的开源『印象笔记
class="flex gap-2 items-center justify-center px-6 py-3 bg-white/50 backdrop-blur-sm border border-slate-200 hover:border-slate-300 rounded-xl text-slate-600 hover:text-brand-text transition-all text-sm font-medium hover:-translate-y-0.5"
>
<Icon class="w-5 h-5" name="bx:bxs-bot" />
- Agent 部署
+ AI 辅助部署
</a>
</div>
</div>
diff --git a/apps/site/src/pages/timeline.astro b/apps/site/src/pages/timeline.astro
new file mode 100644
index 00000000..f4120138
--- /dev/null
+++ b/apps/site/src/pages/timeline.astro
@@ -0,0 +1,48 @@
+---
+import { getCollection } from "astro:content";
+import Container from "@/components/container.astro";
+import Layout from "@/layouts/Layout.astro";
+import { getFormattedDate } from "@/utils/all";
+
+const entries = (await getCollection("blog", ({ data }) => !data.draft)).sort(
+ (a, b) => b.data.publishDate.getTime() - a.data.publishDate.getTime(),
+);
+---
+
+<Layout title="产品时间轴">
+ <Container>
+ <main class="mx-auto max-w-4xl py-16 md:py-24">
+ <div class="mb-10">
+ <p class="text-sm font-semibold text-brand-text">EdgeEver Timeline</p>
+ <h1 class="mt-3 text-4xl font-bold tracking-tight text-slate-900 md:text-5xl">
+ 产品时间轴
+ </h1>
+ </div>
+
+ <div class="grid gap-4">
+ {
+ entries.map((entry) => (
+ <a
+ href={`/timeline/${entry.slug}`}
+ class="group rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition hover:-translate-y-0.5 hover:border-brand-border hover:shadow-lg"
+ >
+ <div class="flex flex-wrap items-center gap-3 text-sm text-slate-500">
+ <span>{entry.data.category}</span>
+ <span>·</span>
+ <time datetime={entry.data.publishDate.toISOString()}>
+ {getFormattedDate(entry.data.publishDate)}
+ </time>
+ </div>
+ <h2 class="mt-3 text-2xl font-bold text-slate-900 transition group-hover:text-brand-text">
+ {entry.data.title}
+ </h2>
+ <p class="mt-3 text-base leading-7 text-slate-600">
+ {entry.data.snippet}
+ </p>
+ </a>
+ ))
+ }
+ </div>
+ </main>
+ </Container>
+</Layout>
diff --git a/apps/site/src/pages/timeline/[slug].astro b/apps/site/src/pages/timeline/[slug].astro
new file mode 100644
index 00000000..c3d881e4
--- /dev/null
+++ b/apps/site/src/pages/timeline/[slug].astro
@@ -0,0 +1,20 @@
+---
+import { getCollection, render } from "astro:content";
+import BlogLayout from "@/layouts/BlogLayout.astro";
+
+export async function getStaticPaths() {
+ const entries = await getCollection("blog", ({ data }) => !data.draft);
+
+ return entries.map((entry) => ({
+ params: { slug: entry.slug },
+ props: { entry },
+ }));
+}
+
+const { entry } = Astro.props;
+const { Content } = await render(entry);
+---
+
+<BlogLayout frontmatter={entry.data}>
+ <Content />
+</BlogLayout>