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: remove all dark backgrounds and unify light glass aesthetic
yoma1fb60327bcb3
diff --git a/apps/site/src/components/cta.astro b/apps/site/src/components/cta.astroindex b118ee35..f78732c4 100644--- a/apps/site/src/components/cta.astro+++ b/apps/site/src/components/cta.astro@@ -3,35 +3,46 @@ import Link from "./ui/link.astro";import { Icon } from "astro-icon/components";----<div- class="relative bg-slate-950 p-10 md:px-20 md:py-20 mt-28 mx-auto max-w-5xl rounded-lg flex flex-col items-center text-center border border-slate-800 overflow-hidden shadow-2xl">- <div class="inline-flex items-center gap-2 px-3 py-1 text-xs font-semibold text-brand bg-brand/10 border border-brand/20 rounded-full mb-6">- <Icon class="w-4 h-4" name="bx:bxs-zap" />- 推荐先 Fork,再部署到自己的 Cloudflare- </div>-- <h2 class="text-white text-4xl md:text-5xl font-bold tracking-tight leading-tight max-w-3xl">- 从核心仓库开始,部署一个属于自己的 EdgeEver- </h2>+<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>- <p class="text-slate-400 mt-6 text-lg md:text-xl max-w-2xl leading-relaxed">- 核心项目已经提供 `deploy:setup`、`deploy:doctor` 和 `deploy` 三段式部署命令。使用 AI Agent 时,也可以把 Fork 仓库链接交给 Agent,并让它按部署协议执行。- </p>+ <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-4 mt-10">- <Link- href="https://github.com/msh01/edgeever"- target="_blank"- style="inverted"- class="flex gap-2 items-center justify-center font-semibold bg-white text-slate-900 hover:bg-slate-100 shadow-xl transition-all hover:scale-[1.02]">- <Icon class="text-slate-900 w-5 h-5" name="bx:bxl-github" />- 打开 EdgeEver 仓库- </Link>- <a- href="/timeline/ai-agent-deploy-cloudflare"- class="flex gap-2 items-center justify-center px-6 py-3 border border-slate-700 hover:border-slate-600 rounded-lg text-slate-300 hover:text-white transition-all text-sm font-semibold hover:bg-slate-900">- <Icon class="text-slate-400 w-5 h-5" name="bx:bxs-bot" />- 查看 AI 助理部署协议- </a>+ <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.astroindex 511c8289..5d73c1c5 100644--- a/apps/site/src/components/features.astro+++ b/apps/site/src/components/features.astro@@ -53,16 +53,20 @@ const minorFeatures = [<div class="grid grid-cols-1 md:grid-cols-3 gap-6 auto-rows-[minmax(220px,auto)]"><!-- Bento Item 1: Cloudflare -->- <div class="md:col-span-2 group relative overflow-hidden flex flex-col p-8 bg-gradient-to-br from-slate-900 to-slate-800 rounded-3xl border border-slate-700 hover-lift shadow-2xl">- <BorderBeam size={300} duration={12} delay={9} className="z-20" client:visible />- <div class="absolute top-0 right-0 w-64 h-64 bg-brand/20 rounded-full blur-3xl transform translate-x-1/3 -translate-y-1/3 group-hover:bg-brand/30 transition-colors duration-500"></div>- <Icon class="text-brand-border w-10 h-10 mb-6 relative z-10" name="bx:bx-dollar" />- <div class="relative z-10 mt-auto">- <h3 class="font-bold text-2xl text-white">Cloudflare 自托管部署</h3>- <p class="text-slate-300 mt-3 leading-relaxed text-base max-w-lg">- 完全构建于 Cloudflare Workers、D1 和 R2 之上。个人短笔记可达 10 万条量级,200KB 图片约可存放 5 万张,以极低的成本拥有企业级可用性。- </p>- </div>+ <div class="md:col-span-2 group relative overflow-hidden flex flex-col bg-white rounded-3xl border border-slate-200 hover-lift shadow-sm">+ <MagicCard client:visible className="p-8 flex flex-col items-start justify-start w-full h-full" gradientColor="#e8f6f1" gradientOpacity={0.4}>+ <BorderBeam size={300} duration={12} delay={9} className="z-20" colorFrom="#70c9b7" colorTo="#3fb2a1" client:visible />+ <div class="absolute top-0 right-0 w-64 h-64 bg-brand/10 rounded-full blur-3xl transform translate-x-1/3 -translate-y-1/3 group-hover:bg-brand/20 transition-colors duration-500 pointer-events-none"></div>+ <div class="bg-slate-50 p-3 rounded-2xl w-fit mb-6 border border-slate-100 group-hover:bg-brand-soft transition-colors relative z-10">+ <Icon class="text-slate-600 group-hover:text-brand-text w-8 h-8 transition-colors" name="bx:bx-dollar" />+ </div>+ <div class="relative z-10 mt-auto">+ <h3 class="font-bold text-2xl text-slate-800">Cloudflare 自托管部署</h3>+ <p class="text-slate-500 mt-3 leading-relaxed text-base max-w-lg">+ 完全构建于 Cloudflare Workers、D1 和 R2 之上。个人短笔记可达 10 万条量级,200KB 图片约可存放 5 万张,以极低的成本拥有企业级可用性。+ </p>+ </div>+ </MagicCard></div><!-- Bento Item 2: AI Agent -->diff --git a/apps/site/src/components/logos.astro b/apps/site/src/components/logos.astroindex 3965331e..0c70083d 100644--- a/apps/site/src/components/logos.astro+++ b/apps/site/src/components/logos.astro@@ -1,18 +1,22 @@---// @ts-ignoreimport { Icon } from "astro-icon/components";+import { Marquee } from "@/components/magicui/marquee";---<div class="mt-24">- <h2 class="text-center text-slate-500">基于现代且高效的技术栈构建</h2>- <div class="flex gap-8 md:gap-20 items-center justify-center mt-10 flex-wrap">-- <Icon class="size-8 md:size-12 text-slate-600 hover:text-indigo-600 transition" name="simple-icons:react" title="React" />- <Icon class="size-8 md:size-12 text-slate-600 hover:text-orange-500 transition" name="simple-icons:cloudflare" title="Cloudflare" />- <Icon class="size-8 md:size-12 text-slate-600 hover:text-yellow-600 transition" name="simple-icons:bun" title="Bun" />- <Icon class="size-8 md:size-12 text-slate-600 hover:text-teal-500 transition" name="simple-icons:tailwindcss" title="Tailwind CSS" />- <Icon class="size-8 md:size-12 text-slate-600 hover:text-blue-500 transition" name="simple-icons:sqlite" title="SQLite" />- <Icon class="size-8 md:size-12 text-slate-600 hover:text-red-500 transition" name="simple-icons:hono" title="Hono" />-+ <h2 class="text-center text-slate-500 mb-10">基于现代且高效的技术栈构建</h2>+ <div class="relative flex w-full flex-col items-center justify-center overflow-hidden">+ <Marquee pauseOnHover className="[--duration:20s]" client:visible>+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-indigo-600 transition mx-8" name="simple-icons:react" title="React" />+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-orange-500 transition mx-8" name="simple-icons:cloudflare" title="Cloudflare" />+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-yellow-600 transition mx-8" name="simple-icons:bun" title="Bun" />+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-teal-500 transition mx-8" name="simple-icons:tailwindcss" title="Tailwind CSS" />+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-blue-500 transition mx-8" name="simple-icons:sqlite" title="SQLite" />+ <Icon class="size-8 md:size-12 text-slate-400 hover:text-red-500 transition mx-8" name="simple-icons:hono" title="Hono" />+ </Marquee>+ <!-- Left/Right Mask Gradients for smooth fade out -->+ <div class="pointer-events-none absolute inset-y-0 left-0 w-1/3 bg-gradient-to-r from-white dark:from-background"></div>+ <div class="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div></div></div>diff --git a/apps/site/src/components/magicui/marquee.tsx b/apps/site/src/components/magicui/marquee.tsxnew file mode 100644index 00000000..73bd758d--- /dev/null+++ b/apps/site/src/components/magicui/marquee.tsx@@ -0,0 +1,51 @@+import { cn } from "@/utils/cn";++interface MarqueeProps {+ className?: string;+ reverse?: boolean;+ pauseOnHover?: boolean;+ children?: React.ReactNode;+ vertical?: boolean;+ repeat?: number;+ [key: string]: any;+}++export function Marquee({+ className,+ reverse,+ pauseOnHover = false,+ children,+ vertical = false,+ repeat = 4,+ ...props+}: MarqueeProps) {+ return (+ <div+ {...props}+ className={cn(+ "group flex overflow-hidden p-2 [--duration:40s] [--gap:1rem] [gap:var(--gap)]",+ {+ "flex-row": !vertical,+ "flex-col": vertical,+ },+ className,+ )}+ >+ {Array(repeat)+ .fill(0)+ .map((_, i) => (+ <div+ key={i}+ className={cn("flex shrink-0 justify-around [gap:var(--gap)]", {+ "animate-marquee flex-row": !vertical,+ "animate-marquee-vertical flex-col": vertical,+ "group-hover:[animation-play-state:paused]": pauseOnHover,+ "[animation-direction:reverse]": reverse,+ })}+ >+ {children}+ </div>+ ))}+ </div>+ );+}diff --git a/apps/site/src/styles/global.css b/apps/site/src/styles/global.cssindex 6c9155d6..f8f13ef6 100644--- a/apps/site/src/styles/global.css+++ b/apps/site/src/styles/global.css@@ -88,6 +88,24 @@}}+@utility animate-marquee {+ animation: marquee var(--duration) linear infinite;+}++@utility animate-marquee-vertical {+ animation: marquee-vertical var(--duration) linear infinite;+}++@keyframes marquee {+ from { transform: translateX(0); }+ to { transform: translateX(calc(-100% - var(--gap))); }+}++@keyframes marquee-vertical {+ from { transform: translateY(0); }+ to { transform: translateY(calc(-100% - var(--gap))); }+}+/*The default border color has changed to `currentColor` in Tailwind CSS v4,so we've added these compatibility styles to make sure everything still