Skip to content

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

Refine homepage feature flow

yoma0986beb014c5
diff --git a/apps/site/src/components/cta.astro b/apps/site/src/components/cta.astro
deleted file mode 100644
index f78732c4..00000000
--- a/apps/site/src/components/cta.astro
+++ /dev/null
@@ -1,48 +0,0 @@
----
-import Link from "./ui/link.astro";
-import { Icon } from "astro-icon/components";
----
-
-<div class="relative mt-32 mb-16 mx-auto max-w-5xl">
- <!-- Soft glowing aura behind the card -->
- <div class="absolute inset-0 bg-brand/10 rounded-[3rem] blur-3xl animate-slow-spin -z-10"></div>
-
- <div class="relative group bg-white/80 p-12 md:px-24 md:py-24 rounded-[2.5rem] flex flex-col items-center text-center border border-brand-border/30 overflow-hidden shadow-[0_8px_30px_rgb(0,0,0,0.04)] backdrop-blur-xl hover-lift transition-all duration-500">
-
- <!-- Light subtle gradient background -->
- <div class="absolute inset-0 bg-gradient-to-br from-brand/5 to-transparent pointer-events-none z-0"></div>
-
- <div class="relative z-10 flex flex-col items-center">
- <div class="inline-flex items-center gap-2 px-4 py-1.5 text-sm font-semibold text-brand-text bg-brand-soft/80 border border-brand-border/40 rounded-full mb-8 backdrop-blur-md shadow-sm">
- <Icon class="w-4 h-4 text-brand" name="bx:bxs-zap" />
- 推荐先 Fork,再部署到自己的 Cloudflare
- </div>
-
- <h2 class="text-4xl md:text-6xl font-bold tracking-tight leading-tight max-w-4xl text-slate-900 drop-shadow-sm">
- 从核心仓库开始,部署一个属于自己的 EdgeEver
- </h2>
-
- <p class="text-slate-600 mt-8 text-lg md:text-xl max-w-2xl leading-relaxed">
- 核心项目已经提供 <code class="bg-slate-100 px-2 py-1 rounded text-sm text-slate-700 border border-slate-200">deploy:setup</code>、<code class="bg-slate-100 px-2 py-1 rounded text-sm text-slate-700 border border-slate-200">deploy:doctor</code> 和 <code class="bg-slate-100 px-2 py-1 rounded text-sm text-slate-700 border border-slate-200">deploy</code> 三段式部署命令。使用 AI Agent 时,也可以把 Fork 仓库链接交给 Agent 自动部署。
- </p>
-
- <div class="flex flex-col sm:flex-row gap-5 mt-12 w-full justify-center">
- <Link
- href="https://github.com/msh01/edgeever"
- target="_blank"
- size="lg"
- class="flex gap-2 items-center justify-center font-bold bg-slate-900 text-white hover:bg-slate-800 shadow-xl transition-all hover:scale-105 rounded-xl px-8 py-4 border border-slate-800">
- <Icon class="w-6 h-6" name="bx:bxl-github" />
- 打开 EdgeEver 仓库
- </Link>
- <a
- href="https://github.com/msh01/edgeever/blob/main/docs/agent-deploy-cloudflare.md"
- target="_blank"
- class="flex gap-2 items-center justify-center px-8 py-4 bg-white/80 border border-slate-200 hover:border-slate-300 hover:bg-slate-50 rounded-xl text-slate-700 hover:text-slate-900 transition-all font-semibold backdrop-blur-lg shadow-sm">
- <Icon class="w-5 h-5 text-brand" name="bx:bxs-bot" />
- 查看 AI 助理部署协议
- </a>
- </div>
- </div>
- </div>
-</div>
diff --git a/apps/site/src/components/features.astro b/apps/site/src/components/features.astro
index f193bb49..9245eb68 100644
--- a/apps/site/src/components/features.astro
+++ b/apps/site/src/components/features.astro
@@ -51,21 +51,21 @@ const features = [
],
},
{
- title: "私有安全,多端随手记录",
+ title: "多端随手记录,同步几乎无感",
summary:
- "面向个人自用的单用户登录模型,兼顾密码保护、PWA 安装和离线编辑草稿。",
+ "电脑、手机、平板都能直接打开使用,记录和同步尽量贴近本地应用的顺滑体验。",
icon: "bx:bx-shield-quarter",
accent: "secure",
points: [
- "密码使用 PBKDF2-SHA256 hash,API Token 可独立授权外部工具。",
- "支持 PC 与移动端网页访问,也可以安装成 PWA 使用。",
- "已有笔记支持离线编辑草稿和本地同步队列,弱网时也能继续记录。",
+ "支持 PC 与移动端网页访问,也可以安装成 PWA,随手打开就能记。",
+ "已有笔记支持离线编辑草稿和本地同步队列,弱网时也能先写后同步。",
+ "单用户登录、PBKDF2-SHA256 密码 hash 与独立 API Token,安全能力放在顺手体验背后。",
],
},
];
---
-<section class="mt-20 md:mt-32 relative overflow-hidden" aria-labelledby="features">
+<section class="mt-12 md:mt-20 relative overflow-hidden" aria-labelledby="features">
<div class="absolute top-32 -left-24 w-72 h-72 bg-brand-border/10 rounded-full blur-3xl -z-10"></div>
<div class="absolute bottom-24 -right-24 w-72 h-72 bg-slate-200/30 rounded-full blur-3xl -z-10"></div>
@@ -226,6 +226,8 @@ const features = [
{feature.accent === "secure" && (
<div class="secure-scene">
+ <div class="secure-link secure-link-desktop"></div>
+ <div class="secure-link secure-link-phone"></div>
<div class="secure-desktop">
<div class="secure-topbar">
<b></b>
@@ -241,13 +243,18 @@ const features = [
<i></i>
<i></i>
</div>
- <div class="secure-shield">
- <Icon name="bx:bx-lock-alt" class="h-10 w-10" />
+ <div class="secure-sync">
+ <Icon name="bx:bx-sync" class="h-10 w-10" />
+ <span>Sync</span>
</div>
<div class="secure-queue">
<Icon name="bx:bx-wifi-off" class="h-5 w-5" />
<span>Offline queue</span>
</div>
+ <div class="secure-status">
+ <Icon name="bx:bx-check" class="h-4 w-4" />
+ <span>Auto saved</span>
+ </div>
</div>
)}
</div>
@@ -306,8 +313,9 @@ const features = [
.open-chips,
.secure-desktop,
.secure-phone,
- .secure-shield,
- .secure-queue {
+ .secure-sync,
+ .secure-queue,
+ .secure-status {
position: absolute;
border: 1px solid rgb(203 213 225 / 0.72);
background: rgb(255 255 255 / 0.86);
@@ -687,6 +695,32 @@ const features = [
transition: transform 300ms ease;
}
+ .secure-link {
+ position: absolute;
+ z-index: 0;
+ height: 2px;
+ border-radius: 999px;
+ background: repeating-linear-gradient(
+ 90deg,
+ rgb(var(--edgeever-brand-rgb) / 0.42) 0 10px,
+ transparent 10px 18px
+ );
+ }
+
+ .secure-link-desktop {
+ top: 47%;
+ left: 28%;
+ width: 160px;
+ rotate: 8deg;
+ }
+
+ .secure-link-phone {
+ top: 55%;
+ right: 18%;
+ width: 130px;
+ rotate: -18deg;
+ }
+
.secure-desktop {
top: 10%;
left: 6%;
@@ -756,21 +790,30 @@ const features = [
height: 11px;
}
- .secure-shield {
- top: 47%;
- left: 49%;
+ .secure-sync {
+ top: 46%;
+ left: 50%;
display: grid;
- width: 116px;
- height: 132px;
+ width: 112px;
+ height: 112px;
+ gap: 4px;
+ align-content: center;
+ justify-items: center;
place-items: center;
translate: -50% -50%;
- clip-path: polygon(50% 0, 100% 18%, 92% 76%, 50% 100%, 8% 76%, 0 18%);
+ border-radius: 999px;
color: var(--edgeever-brand-text);
background:
radial-gradient(circle at 50% 30%, rgb(var(--edgeever-brand-rgb) / 0.18), transparent 44%),
rgb(255 255 255 / 0.92);
}
+ .secure-sync span {
+ font-size: 12px;
+ font-weight: 800;
+ color: var(--edgeever-brand-text);
+ }
+
.secure-queue {
left: 4%;
bottom: 4%;
@@ -782,6 +825,22 @@ const features = [
color: var(--edgeever-brand-text);
}
+ .secure-status {
+ right: 2%;
+ top: 10%;
+ display: flex;
+ gap: 8px;
+ align-items: center;
+ padding: 12px 15px;
+ border-radius: 999px;
+ color: var(--edgeever-brand-text);
+ }
+
+ .secure-status span {
+ font-size: 12px;
+ font-weight: 800;
+ }
+
@media (max-width: 767px) {
.feature-art {
padding: 22px;
@@ -862,9 +921,24 @@ const features = [
height: 190px;
}
- .secure-shield {
- width: 94px;
- height: 108px;
+ .secure-sync {
+ width: 88px;
+ height: 88px;
+ }
+
+ .secure-link-desktop {
+ left: 25%;
+ width: 120px;
+ }
+
+ .secure-link-phone {
+ right: 16%;
+ width: 104px;
+ }
+
+ .secure-status {
+ right: 0;
+ top: 6%;
}
}
</style>
diff --git a/apps/site/src/pages/index.astro b/apps/site/src/pages/index.astro
index 2222892b..27293620 100644
--- a/apps/site/src/pages/index.astro
+++ b/apps/site/src/pages/index.astro
@@ -1,6 +1,5 @@
---
import Container from "@/components/container.astro";
-import Cta from "@/components/cta.astro";
import Features from "@/components/features.astro";
import Hero from "@/components/hero.astro";
import Logos from "@/components/logos.astro";
@@ -12,6 +11,5 @@ import Layout from "@/layouts/Layout.astro";
<Hero />
<Features />
<Logos />
- <Cta />
</Container>
</Layout>