Skip to content

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

feat(site): 重构官网视觉与交互,引入 Modern SaaS 极客风格与无缝走马灯

tianma-if38209ef51787
diff --git a/apps/site/src/assets/edgeever-hero-product.png b/apps/site/src/assets/edgeever-hero-product.png
index 1ea6b447..929b3e3b 100644
Binary files a/apps/site/src/assets/edgeever-hero-product.png and b/apps/site/src/assets/edgeever-hero-product.png differ
diff --git a/apps/site/src/components/features.astro b/apps/site/src/components/features.astro
index 5b1b8960..5f041e55 100644
--- a/apps/site/src/components/features.astro
+++ b/apps/site/src/components/features.astro
@@ -3,1118 +3,218 @@ import { Icon } from "astro-icon/components";
import { getSiteLocale, siteCopy } from "@/i18n";
const locale = getSiteLocale(Astro.url.pathname);
-const featureCopy = siteCopy[locale].features;
-const featureArt = [
- {
- icon: "bx:bx-cloud",
- accent: "storage",
- },
- {
- icon: "bx:bxs-bot",
- accent: "agent",
- },
- {
- icon: "bx:bx-layout",
- accent: "workspace",
- },
- {
- icon: "bx:bx-transfer",
- accent: "open",
- },
- {
- icon: "bx:bx-shield-quarter",
- accent: "secure",
- },
- {
- icon: "bx:bx-group",
- accent: "accounts",
- },
-];
-
-const features = featureCopy.items.map((item, index) => ({ ...item, ...featureArt[index] }));
+const bento = siteCopy[locale].bento;
---
-<section class="mt-8 md:mt-12 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>
-
- <div class="max-w-3xl mb-14 text-center mx-auto">
- <h2 class="text-4xl lg:text-5xl font-bold text-slate-900" id="features">
- {featureCopy.heading}
+<section class="mt-16 md:mt-24 relative overflow-hidden" aria-labelledby="bento-features">
+ <!-- Subtle Glow background -->
+ <div class="absolute top-1/3 left-1/2 -translate-x-1/2 w-[700px] h-[400px] bg-emerald-500/5 rounded-full blur-3xl -z-10 pointer-events-none"></div>
+
+ <!-- Header -->
+ <div class="max-w-3xl mb-12 md:mb-16 text-center mx-auto px-4">
+ <span class="inline-block px-3.5 py-1 text-xs font-bold tracking-widest text-emerald-600 bg-emerald-50 rounded-full border border-emerald-200/60 uppercase">
+ {bento.eyebrow}
+ </span>
+ <h2 class="text-3xl md:text-4xl lg:text-5xl font-extrabold text-slate-900 tracking-tight mt-3" id="bento-features">
+ {bento.heading}
</h2>
+ <p class="text-slate-600 mt-4 text-sm md:text-base leading-relaxed max-w-2xl mx-auto">
+ {bento.subheading}
+ </p>
</div>
- <div class="space-y-6">
- {
- features.map((feature) => (
- <article class="group relative overflow-hidden rounded-[28px] border border-slate-200 bg-white shadow-sm transition-all duration-300 hover:-translate-y-1 hover:border-brand-border hover:shadow-[0_22px_55px_-35px_rgb(var(--edgeever-brand-rgb)/0.55)]">
- <div class="grid h-[800px] grid-cols-1 sm:h-[760px] md:h-[700px] lg:h-[460px] lg:grid-cols-[minmax(0,1.02fr)_minmax(360px,0.98fr)]">
- <div class="flex h-full flex-col justify-center p-7 sm:p-9 lg:p-10">
- <div class="mb-7 flex items-center gap-4">
- <div class="flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl border border-brand-border/40 bg-brand-soft text-brand-text shadow-sm">
- <Icon name={feature.icon} class="h-7 w-7" />
- </div>
- </div>
-
- <h3 class="text-2xl font-bold leading-tight text-slate-900 sm:text-3xl">
- {feature.title}
- </h3>
- <p class="mt-4 max-w-2xl text-base leading-8 text-slate-600">
- {feature.summary}
- </p>
-
- <ul class="mt-7 grid gap-3">
- {feature.points.map((point) => (
- <li class="flex gap-3 text-sm leading-6 text-slate-600 sm:text-base">
- <span class="mt-1 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-brand-muted text-brand-text">
- <Icon name="bx:bx-check" class="h-3.5 w-3.5" />
- </span>
- <span>{point}</span>
- </li>
- ))}
- </ul>
+ <!-- Bento Grid Container -->
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto px-4">
+
+ <!-- CARD 1: Classic Three-Pane Layout (Large Span 2 Cols on LG) -->
+ <div class="group relative overflow-hidden rounded-3xl border border-slate-200/90 bg-white p-6 md:p-8 shadow-sm transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 lg:col-span-2 flex flex-col justify-between">
+ <div class="mb-6 z-10">
+ <div class="flex items-center gap-2 mb-3">
+ <span class="px-2.5 py-0.5 text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">
+ {bento.card1.badge}
+ </span>
+ <span class="text-slate-400 text-xs font-mono">{bento.card1.subBadge}</span>
+ </div>
+ <h3 class="text-xl md:text-2xl font-bold text-slate-900 tracking-tight">
+ {bento.card1.title}
+ </h3>
+ <p class="text-slate-600 text-sm mt-2 leading-relaxed max-w-xl">
+ {bento.card1.desc}
+ </p>
+ </div>
+
+ <!-- Micro UI Mockup: Three-Pane Preview -->
+ <div class="relative w-full rounded-xl border border-slate-200/80 bg-slate-50/80 p-2.5 shadow-inner mt-4 overflow-hidden group-hover:border-emerald-300 transition-colors">
+ <div class="grid grid-cols-12 gap-2 h-44 md:h-52 text-[11px] font-sans">
+ <!-- Left Notebook Tree -->
+ <div class="col-span-3 bg-white rounded-lg border border-slate-200/60 p-2.5 flex flex-col gap-1.5 shadow-2xs overflow-hidden">
+ <div class="flex items-center gap-1.5 text-slate-400 font-bold text-[10px] uppercase mb-1">
+ <Icon name="bx:bx-folder" class="w-3.5 h-3.5 text-emerald-600" />
+ <span>{bento.card1.treeTitle}</span>
</div>
+ <div class="bg-emerald-50 text-emerald-800 font-semibold px-2 py-1 rounded text-[10.5px] truncate flex items-center gap-1">
+ <span class="w-1.5 h-1.5 rounded-full bg-emerald-500 shrink-0"></span> {bento.card1.folder1}
+ </div>
+ <div class="text-slate-600 px-2 py-1 rounded hover:bg-slate-100 truncate">{bento.card1.folder2}</div>
+ <div class="text-slate-600 px-2 py-1 rounded hover:bg-slate-100 truncate">{bento.card1.folder3}</div>
+ <div class="text-slate-600 px-2 py-1 rounded hover:bg-slate-100 truncate pl-3 text-[10px] opacity-75">{bento.card1.folder4}</div>
+ </div>
- <div class="relative min-h-[220px] overflow-hidden border-t border-slate-100 bg-slate-50/70 md:min-h-full lg:border-l lg:border-t-0">
- <div class={`feature-art feature-art-${feature.accent}`} aria-hidden="true">
- {feature.accent === "storage" && (
- <div class="storage-scene">
- <div class="storage-cloud">
- <Icon name="bx:bx-cloud" class="h-14 w-14" />
- </div>
- <div class="storage-meter">
- <span>Cloudflare</span>
- <strong>15w+</strong>
- <i></i>
- </div>
- <div class="storage-stack storage-stack-d1">
- <span>D1</span>
- <b></b>
- <b></b>
- <b></b>
- </div>
- <div class="storage-stack storage-stack-r2">
- <span>R2</span>
- <b></b>
- <b></b>
- <b></b>
- </div>
- <div class="storage-gallery">
- <i></i>
- <i></i>
- <i></i>
- <i></i>
- </div>
- </div>
- )}
-
- {feature.accent === "agent" && (
- <div class="agent-scene">
- <div class="agent-orbit"></div>
- <div class="agent-center">
- <Icon name="bx:bxs-bot" class="h-12 w-12" />
- </div>
- <div class="agent-node agent-node-mcp">
- <Icon name="bx:bx-plug" class="h-6 w-6" />
- <span>MCP</span>
- </div>
- <div class="agent-node agent-node-api">
- <Icon name="bx:bx-code-alt" class="h-6 w-6" />
- <span>API</span>
- </div>
- <div class="agent-node agent-node-doc">
- <Icon name="bx:bx-file" class="h-6 w-6" />
- <span>OpenAPI</span>
- </div>
- <div class="agent-node agent-node-note">
- <Icon name="bx:bx-note" class="h-6 w-6" />
- <span>Notes</span>
- </div>
- </div>
- )}
-
- {feature.accent === "workspace" && (
- <div class="workspace-scene">
- <div class="workspace-window">
- <div class="workspace-topbar">
- <span></span>
- <span></span>
- <span></span>
- </div>
- <div class="workspace-body">
- <div class="workspace-pane workspace-tree">
- <b></b>
- <i></i>
- <i></i>
- <i></i>
- <i></i>
- </div>
- <div class="workspace-pane workspace-list">
- <b></b>
- <strong></strong>
- <strong></strong>
- <strong></strong>
- </div>
- <div class="workspace-pane workspace-editor">
- <b></b>
- <i></i>
- <i></i>
- <em></em>
- <i></i>
- </div>
- </div>
- </div>
- </div>
- )}
-
- {feature.accent === "open" && (
- <div class="open-scene">
- <div class="open-doc open-markdown">
- <span>Markdown</span>
- <b># Note</b>
- <i></i>
- <i></i>
- <i></i>
- </div>
- <div class="open-doc open-json">
- <span>JSON</span>
- <b>{"{ }"}</b>
- <i></i>
- <i></i>
- </div>
- <div class="open-export">
- <Icon name="bx:bx-export" class="h-8 w-8" />
- </div>
- <div class="open-chips">
- <em>API</em>
- <em>MCP</em>
- <em>CLI</em>
- </div>
- <div class="open-zip">
- <Icon name="bx:bx-archive" class="h-5 w-5" />
- <span>EdgeEver ZIP</span>
- </div>
- </div>
- )}
-
- {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>
- <b></b>
- <b></b>
- </div>
- <i></i>
- <i></i>
- <i></i>
- </div>
- <div class="secure-phone">
- <span></span>
- <i></i>
- <i></i>
- </div>
- <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>
- )}
+ <!-- Middle Note List -->
+ <div class="col-span-4 bg-white rounded-lg border border-slate-200/60 p-2 flex flex-col gap-1.5 shadow-2xs overflow-hidden">
+ <div class="text-slate-400 font-bold text-[10px] uppercase px-1 mb-0.5">{bento.card1.listTitle}</div>
+ <div class="border-l-2 border-emerald-500 bg-slate-50 p-2 rounded-r flex flex-col gap-0.5">
+ <div class="font-bold text-slate-800 text-[11px] truncate">{bento.card1.note1Title}</div>
+ <div class="text-[9.5px] text-slate-500 line-clamp-1">{bento.card1.note1Sub}</div>
+ </div>
+ <div class="p-2 rounded hover:bg-slate-50 flex flex-col gap-0.5 opacity-80">
+ <div class="font-medium text-slate-700 text-[10.5px] truncate">{bento.card1.note2Title}</div>
+ <div class="text-[9.5px] text-slate-400 line-clamp-1">{bento.card1.note2Sub}</div>
+ </div>
+ </div>
- {feature.accent === "accounts" && (
- <div class="accounts-scene">
- <div class="accounts-instance">
- <Icon name="bx:bx-cloud" class="h-8 w-8" />
- <span>One instance</span>
- </div>
- <div class="accounts-link accounts-link-owner"></div>
- <div class="accounts-link accounts-link-left"></div>
- <div class="accounts-link accounts-link-right"></div>
- <div class="account-card account-owner">
- <span class="account-avatar"><Icon name="bx:bx-crown" class="h-5 w-5" /></span>
- <strong>Owner</strong>
- <small>Private workspace</small>
- </div>
- <div class="account-card account-member-left">
- <span class="account-avatar"><Icon name="bx:bx-user" class="h-5 w-5" /></span>
- <strong>Member</strong>
- <small>Private workspace</small>
- </div>
- <div class="account-card account-member-right">
- <span class="account-avatar"><Icon name="bx:bx-user" class="h-5 w-5" /></span>
- <strong>Member</strong>
- <small>Private workspace</small>
- </div>
- <div class="accounts-token">
- <Icon name="bx:bx-key" class="h-5 w-5" />
- <span>Isolated MCP tokens</span>
- </div>
- </div>
- )}
- </div>
+ <!-- Right TipTap Editor Preview -->
+ <div class="col-span-5 bg-white rounded-lg border border-slate-200/60 p-3 flex flex-col gap-2 shadow-2xs overflow-hidden">
+ <div class="text-slate-900 font-bold text-xs border-b border-slate-100 pb-1.5 flex items-center justify-between">
+ <span class="truncate">{bento.card1.editorTitle}</span>
+ <span class="text-[9px] bg-emerald-100 text-emerald-800 px-1.5 py-0.5 rounded font-mono shrink-0">TipTap</span>
+ </div>
+ <p class="text-[10px] text-slate-600 leading-relaxed">
+ {bento.card1.editorBody}
+ </p>
+ <div class="flex items-center gap-1 text-[9px] text-slate-400 mt-auto font-mono">
+ <Icon name="bx:bx-check-shield" class="w-3 h-3 text-emerald-500 shrink-0" />
+ <span class="truncate">{bento.card1.editorSaveTag}</span>
</div>
</div>
- </article>
- ))
- }
+ </div>
+ </div>
+ </div>
+
+ <!-- CARD 2: AI Agent & MCP Synergy (Col Span 1 on LG) -->
+ <div class="group relative overflow-hidden rounded-3xl border border-slate-200/90 bg-white p-6 md:p-8 shadow-sm transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">
+ <div class="z-10">
+ <div class="flex items-center gap-2 mb-3">
+ <span class="px-2.5 py-0.5 text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">
+ {bento.card2.badge}
+ </span>
+ <span class="text-slate-400 text-xs font-mono">Remote MCP Endpoint</span>
+ </div>
+ <h3 class="text-xl font-bold text-slate-900 tracking-tight">
+ {bento.card2.title}
+ </h3>
+ <p class="text-slate-600 text-sm mt-2 leading-relaxed">
+ {bento.card2.desc}
+ </p>
+ </div>
+
+ <!-- Micro UI Mockup: AI Prompt Bubble -->
+ <div class="relative w-full rounded-xl border border-slate-200/80 bg-slate-900 p-3.5 text-white font-mono text-[11px] mt-6 flex flex-col gap-2 shadow-md">
+ <div class="flex items-center justify-between text-[10px] text-slate-400 border-b border-slate-800 pb-1.5">
+ <span class="flex items-center gap-1.5 text-emerald-400 font-semibold">
+ <span class="w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse"></span> {bento.card2.mockupStatus}
+ </span>
+ <span>Antigravity / Codex</span>
+ </div>
+ <div class="bg-slate-800/80 p-2 rounded text-slate-300 text-[10.5px]">
+ <span class="text-emerald-400 font-bold">&gt;</span> {bento.card2.mockupCmd}
+ </div>
+ <div class="bg-emerald-950/60 border border-emerald-800/50 p-2 rounded text-emerald-300 text-[10px] leading-relaxed">
+ {bento.card2.mockupResult}
+ </div>
+ </div>
+ </div>
+
+ <!-- CARD 3: Serverless Zero Cost (Col Span 1 on LG) -->
+ <div class="group relative overflow-hidden rounded-3xl border border-slate-200/90 bg-white p-6 md:p-8 shadow-sm transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">
+ <div class="z-10">
+ <div class="flex items-center gap-2 mb-3">
+ <span class="px-2.5 py-0.5 text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">
+ {bento.card3.badge}
+ </span>
+ <span class="text-slate-400 text-xs font-mono">Cloudflare Native</span>
+ </div>
+ <h3 class="text-xl font-bold text-slate-900 tracking-tight">
+ {bento.card3.title}
+ </h3>
+ <p class="text-slate-600 text-sm mt-2 leading-relaxed">
+ {bento.card3.desc}
+ </p>
+ </div>
+
+ <!-- Micro UI Mockup: 0 Cost Metrics Badge -->
+ <div class="relative w-full rounded-xl border border-emerald-100 bg-emerald-50/60 p-4 mt-6 flex items-center justify-between">
+ <div>
+ <div class="text-2xl md:text-3xl font-extrabold text-emerald-800">{bento.card3.price} <span class="text-xs font-medium text-emerald-600">{bento.card3.unit}</span></div>
+ <div class="text-[11px] font-medium text-emerald-700 mt-0.5">{bento.card3.sub}</div>
+ </div>
+ <div class="text-right">
+ <div class="text-lg font-bold text-slate-800">{bento.card3.metric}</div>
+ <div class="text-[10px] text-slate-500">{bento.card3.metricSub}</div>
+ </div>
+ </div>
+ </div>
+
+ <!-- CARD 4: Rich Text Copy for Creators (Col Span 1 on LG) -->
+ <div class="group relative overflow-hidden rounded-3xl border border-slate-200/90 bg-white p-6 md:p-8 shadow-sm transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">
+ <div class="z-10">
+ <div class="flex items-center gap-2 mb-3">
+ <span class="px-2.5 py-0.5 text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">
+ {bento.card4.badge}
+ </span>
+ <span class="text-slate-400 text-xs font-mono">Substack / Medium / 微信</span>
+ </div>
+ <h3 class="text-xl font-bold text-slate-900 tracking-tight">
+ {bento.card4.title}
+ </h3>
+ <p class="text-slate-600 text-sm mt-2 leading-relaxed">
+ {bento.card4.desc}
+ </p>
+ </div>
+
+ <!-- Micro UI Mockup: Markdown to Inline CSS Rich Copy -->
+ <div class="relative w-full rounded-xl border border-slate-200 bg-slate-50 p-3 mt-6 flex flex-col gap-2">
+ <div class="flex items-center justify-between text-[10px] text-slate-500 font-mono border-b border-slate-200 pb-1">
+ <span>{bento.card4.srcTag}</span>
+ <span class="text-emerald-600 font-bold flex items-center gap-1">
+ <Icon name="bx:bx-copy" class="w-3 h-3" /> {bento.card4.actionBtn}
+ </span>
+ </div>
+ <div class="bg-white p-2.5 rounded border border-slate-200 text-[11px] text-slate-800 leading-snug">
+ <span class="font-bold text-emerald-800">{bento.card4.previewTitle}</span>
+ <p class="text-slate-600 text-[10px] mt-1">{bento.card4.previewBody}</p>
+ </div>
+ </div>
+ </div>
+
+ <!-- CARD 5: Open Data & ZIP Backup (Col Span 1 on LG) -->
+ <div class="group relative overflow-hidden rounded-3xl border border-slate-200/90 bg-white p-6 md:p-8 shadow-sm transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">
+ <div class="z-10">
+ <div class="flex items-center gap-2 mb-3">
+ <span class="px-2.5 py-0.5 text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">
+ {bento.card5.badge}
+ </span>
+ <span class="text-slate-400 text-xs font-mono">SQLite + ZIP Archive</span>
+ </div>
+ <h3 class="text-xl font-bold text-slate-900 tracking-tight">
+ {bento.card5.title}
+ </h3>
+ <p class="text-slate-600 text-sm mt-2 leading-relaxed">
+ {bento.card5.desc}
+ </p>
+ </div>
+
+ <!-- Micro UI Mockup: Lossless ZIP Archive -->
+ <div class="relative w-full rounded-xl border border-slate-200 bg-slate-50 p-3 mt-6 flex items-center gap-3">
+ <div class="h-10 w-10 shrink-0 grid place-items-center rounded-lg bg-emerald-600 text-white shadow-sm">
+ <Icon name="bx:bx-archive-in" class="w-5 h-5" />
+ </div>
+ <div class="overflow-hidden text-[11px]">
+ <div class="font-bold text-slate-800 truncate">{bento.card5.archiveTitle}</div>
+ <div class="text-[10px] text-slate-500 truncate">{bento.card5.archiveSub}</div>
+ </div>
+ </div>
+ </div>
+
</div>
</section>
-
-<style>
- .feature-art {
- position: absolute;
- inset: 0;
- display: grid;
- place-items: center;
- padding: 28px;
- isolation: isolate;
- }
-
- .feature-art::before {
- content: "";
- position: absolute;
- inset: 10%;
- border-radius: 999px;
- background:
- radial-gradient(circle at 35% 30%, rgb(var(--edgeever-brand-rgb) / 0.18), transparent 34%),
- radial-gradient(circle at 75% 72%, rgb(15 23 42 / 0.08), transparent 36%);
- filter: blur(18px);
- }
-
- .feature-art > * {
- position: relative;
- z-index: 1;
- }
-
- .storage-scene,
- .agent-scene,
- .workspace-scene,
- .open-scene,
- .secure-scene,
- .accounts-scene {
- width: min(88%, 460px);
- aspect-ratio: 1.28;
- }
-
- .storage-cloud,
- .storage-meter,
- .storage-stack,
- .storage-gallery,
- .agent-center,
- .agent-node,
- .workspace-window,
- .open-doc,
- .open-export,
- .open-chips,
- .open-zip,
- .secure-desktop,
- .secure-phone,
- .secure-sync,
- .secure-queue,
- .secure-status {
- position: absolute;
- border: 1px solid rgb(203 213 225 / 0.72);
- background: rgb(255 255 255 / 0.86);
- box-shadow: 0 18px 60px -42px rgb(15 23 42 / 0.8);
- backdrop-filter: blur(12px);
- }
-
- .storage-scene {
- transform: rotate(-2deg);
- transition: transform 300ms ease;
- }
-
- .group:hover .storage-scene,
- .group:hover .agent-scene,
- .group:hover .workspace-window,
- .group:hover .open-scene,
- .group:hover .secure-scene {
- transform: translateY(-4px);
- }
-
- .storage-cloud {
- top: 10%;
- left: 50%;
- display: grid;
- width: 122px;
- height: 122px;
- place-items: center;
- translate: -50% 0;
- border-radius: 36px;
- color: var(--edgeever-brand-text);
- background:
- radial-gradient(circle at 30% 25%, rgb(var(--edgeever-brand-rgb) / 0.18), transparent 44%),
- rgb(255 255 255 / 0.9);
- }
-
- .storage-meter {
- top: 6%;
- right: 2%;
- display: grid;
- gap: 5px;
- width: 136px;
- padding: 16px;
- border-radius: 22px;
- }
-
- .storage-meter span,
- .storage-stack span,
- .open-doc span,
- .secure-queue span {
- font-size: 12px;
- font-weight: 700;
- color: var(--edgeever-brand-text);
- }
-
- .storage-meter strong {
- font-size: 28px;
- line-height: 1;
- color: #0f172a;
- }
-
- .storage-meter i {
- display: block;
- height: 8px;
- border-radius: 999px;
- background: linear-gradient(90deg, var(--edgeever-brand), rgb(203 213 225 / 0.7));
- }
-
- .storage-stack {
- bottom: 7%;
- display: grid;
- gap: 7px;
- width: 142px;
- padding: 16px;
- border-radius: 24px;
- }
-
- .storage-stack-d1 {
- left: 4%;
- }
-
- .storage-stack-r2 {
- right: 4%;
- }
-
- .storage-stack b {
- display: block;
- height: 12px;
- border-radius: 999px;
- background: rgb(148 163 184 / 0.42);
- }
-
- .storage-stack b:nth-of-type(2) {
- width: 76%;
- background: rgb(var(--edgeever-brand-rgb) / 0.32);
- }
-
- .storage-gallery {
- left: 50%;
- bottom: 20%;
- display: grid;
- grid-template-columns: repeat(2, 54px);
- gap: 10px;
- padding: 12px;
- translate: -50% 0;
- border-radius: 24px;
- background: rgb(248 250 252 / 0.76);
- }
-
- .storage-gallery i {
- display: block;
- width: 54px;
- height: 42px;
- border-radius: 14px;
- background:
- linear-gradient(135deg, rgb(var(--edgeever-brand-rgb) / 0.24), transparent),
- rgb(226 232 240 / 0.72);
- }
-
- .agent-scene {
- transition: transform 300ms ease;
- }
-
- .agent-orbit {
- position: absolute;
- inset: 12%;
- border: 1px dashed rgb(var(--edgeever-brand-rgb) / 0.38);
- border-radius: 999px;
- }
-
- .agent-orbit::before,
- .agent-orbit::after {
- content: "";
- position: absolute;
- background: rgb(var(--edgeever-brand-rgb) / 0.35);
- }
-
- .agent-orbit::before {
- top: 50%;
- left: -4%;
- width: 108%;
- height: 1px;
- }
-
- .agent-orbit::after {
- top: -4%;
- left: 50%;
- width: 1px;
- height: 108%;
- }
-
- .agent-center {
- top: 50%;
- left: 50%;
- display: grid;
- width: 118px;
- height: 118px;
- place-items: center;
- translate: -50% -50%;
- border-radius: 999px;
- color: var(--edgeever-brand-text);
- }
-
- .agent-node {
- display: grid;
- gap: 6px;
- width: 112px;
- height: 86px;
- place-items: center;
- border-radius: 24px;
- color: var(--edgeever-brand-text);
- font-size: 12px;
- font-weight: 800;
- }
-
- .agent-node-mcp {
- top: 2%;
- left: 8%;
- }
-
- .agent-node-api {
- top: 8%;
- right: 4%;
- }
-
- .agent-node-doc {
- bottom: 7%;
- left: 6%;
- }
-
- .agent-node-note {
- right: 8%;
- bottom: 2%;
- }
-
- .workspace-scene {
- width: min(90%, 500px);
- }
-
- .workspace-window {
- inset: 5% 0 7%;
- overflow: hidden;
- border-radius: 24px;
- transition: transform 300ms ease;
- }
-
- .workspace-topbar {
- display: flex;
- gap: 8px;
- align-items: center;
- height: 44px;
- padding: 0 18px;
- border-bottom: 1px solid rgb(226 232 240 / 0.84);
- }
-
- .workspace-topbar span,
- .secure-topbar b {
- width: 9px;
- height: 9px;
- border-radius: 999px;
- background: #cbd5e1;
- }
-
- .workspace-body {
- display: grid;
- grid-template-columns: 28% 32% 1fr;
- height: calc(100% - 44px);
- }
-
- .workspace-pane {
- display: grid;
- align-content: start;
- gap: 12px;
- padding: 20px 16px;
- }
-
- .workspace-tree,
- .workspace-list {
- border-right: 1px solid rgb(226 232 240 / 0.78);
- background: rgb(248 250 252 / 0.72);
- }
-
- .workspace-pane b,
- .workspace-pane i,
- .workspace-pane strong,
- .workspace-pane em,
- .secure-desktop i,
- .secure-phone i,
- .open-doc i {
- display: block;
- border-radius: 999px;
- }
-
- .workspace-pane b {
- width: 70%;
- height: 15px;
- background: rgb(15 23 42 / 0.66);
- }
-
- .workspace-pane i,
- .open-doc i,
- .secure-desktop i,
- .secure-phone i {
- height: 11px;
- background: rgb(148 163 184 / 0.42);
- }
-
- .workspace-tree i:nth-child(3),
- .workspace-list strong:nth-child(3),
- .workspace-editor i:nth-child(3) {
- background: rgb(var(--edgeever-brand-rgb) / 0.32);
- }
-
- .workspace-list strong {
- height: 54px;
- border-radius: 16px;
- background: rgb(226 232 240 / 0.58);
- }
-
- .workspace-editor em {
- height: 88px;
- border-radius: 18px;
- background:
- linear-gradient(135deg, rgb(var(--edgeever-brand-rgb) / 0.22), transparent),
- rgb(241 245 249 / 0.92);
- }
-
- .open-scene {
- transform: rotate(1deg);
- transition: transform 300ms ease;
- }
-
- .open-doc {
- display: grid;
- gap: 12px;
- padding: 20px;
- border-radius: 24px;
- }
-
- .open-markdown {
- top: 4%;
- left: 2%;
- width: 210px;
- height: 245px;
- rotate: -5deg;
- }
-
- .open-json {
- right: 4%;
- bottom: 5%;
- width: 188px;
- height: 210px;
- rotate: 5deg;
- }
-
- .open-doc b {
- font-size: 26px;
- line-height: 1;
- color: #0f172a;
- }
-
- .open-doc i:nth-of-type(2) {
- width: 72%;
- background: rgb(var(--edgeever-brand-rgb) / 0.34);
- }
-
- .open-export {
- top: 50%;
- left: 50%;
- display: grid;
- width: 86px;
- height: 86px;
- place-items: center;
- translate: -50% -50%;
- border-radius: 999px;
- color: var(--edgeever-brand-text);
- }
-
- .open-export::before,
- .open-export::after {
- content: "";
- position: absolute;
- top: 50%;
- width: 112px;
- height: 2px;
- background: linear-gradient(90deg, transparent, rgb(var(--edgeever-brand-rgb) / 0.36), transparent);
- }
-
- .open-export::before {
- right: 78px;
- }
-
- .open-export::after {
- left: 78px;
- }
-
- .open-chips {
- left: 50%;
- bottom: 0;
- display: flex;
- gap: 8px;
- padding: 10px;
- translate: -50% 0;
- border-radius: 999px;
- }
-
- .open-chips em {
- padding: 7px 12px;
- border-radius: 999px;
- background: rgb(var(--edgeever-brand-rgb) / 0.1);
- color: var(--edgeever-brand-text);
- font-size: 12px;
- font-style: normal;
- font-weight: 800;
- }
-
- .open-zip {
- top: 1%;
- right: 3%;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 10px 14px;
- border-radius: 999px;
- color: var(--edgeever-brand-text);
- }
-
- .open-zip span {
- font-size: 12px;
- font-weight: 800;
- }
-
- .secure-scene {
- 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%;
- width: 310px;
- height: 210px;
- overflow: hidden;
- border-radius: 24px;
- }
-
- .secure-topbar {
- display: flex;
- gap: 8px;
- align-items: center;
- height: 42px;
- padding: 0 16px;
- border-bottom: 1px solid rgb(226 232 240 / 0.84);
- }
-
- .secure-desktop i {
- margin: 20px 24px 0;
- height: 13px;
- }
-
- .secure-desktop i:nth-of-type(1) {
- width: 72%;
- background: rgb(15 23 42 / 0.64);
- }
-
- .secure-desktop i:nth-of-type(2) {
- width: 54%;
- background: rgb(var(--edgeever-brand-rgb) / 0.32);
- }
-
- .secure-desktop i:nth-of-type(3) {
- width: 82%;
- }
-
- .secure-phone {
- right: 5%;
- bottom: 8%;
- display: grid;
- align-content: start;
- gap: 14px;
- width: 122px;
- height: 220px;
- padding: 22px 16px;
- border-radius: 30px;
- }
-
- .secure-phone span {
- display: block;
- width: 34px;
- height: 5px;
- margin-inline: auto;
- border-radius: 999px;
- background: rgb(148 163 184 / 0.5);
- }
-
- .secure-phone i:nth-of-type(1) {
- margin-top: 20px;
- height: 58px;
- border-radius: 18px;
- background: rgb(var(--edgeever-brand-rgb) / 0.2);
- }
-
- .secure-phone i:nth-of-type(2) {
- height: 11px;
- }
-
- .secure-sync {
- top: 46%;
- left: 50%;
- display: grid;
- width: 112px;
- height: 112px;
- gap: 4px;
- align-content: center;
- justify-items: center;
- place-items: center;
- translate: -50% -50%;
- 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%;
- display: flex;
- gap: 8px;
- align-items: center;
- padding: 13px 16px;
- border-radius: 999px;
- 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;
- }
-
- .accounts-scene {
- transition: transform 300ms ease;
- }
-
- .group:hover .accounts-scene {
- transform: translateY(-4px);
- }
-
- .accounts-instance,
- .account-card,
- .accounts-token {
- position: absolute;
- border: 1px solid rgb(203 213 225 / 0.72);
- background: rgb(255 255 255 / 0.9);
- box-shadow: 0 18px 60px -42px rgb(15 23 42 / 0.8);
- backdrop-filter: blur(12px);
- }
-
- .accounts-instance {
- top: 5%;
- left: 50%;
- z-index: 2;
- display: flex;
- width: 176px;
- height: 76px;
- align-items: center;
- justify-content: center;
- gap: 10px;
- translate: -50% 0;
- border-radius: 24px;
- color: var(--edgeever-brand-text);
- }
-
- .accounts-instance span,
- .accounts-token span {
- font-size: 12px;
- font-weight: 800;
- }
-
- .accounts-link {
- position: absolute;
- top: 27%;
- z-index: 0;
- width: 2px;
- height: 92px;
- transform-origin: top;
- background: repeating-linear-gradient(
- 180deg,
- rgb(var(--edgeever-brand-rgb) / 0.42) 0 9px,
- transparent 9px 16px
- );
- }
-
- .accounts-link-owner {
- left: 50%;
- }
-
- .accounts-link-left {
- left: 50%;
- rotate: 48deg;
- }
-
- .accounts-link-right {
- left: 50%;
- rotate: -48deg;
- }
-
- .account-card {
- bottom: 15%;
- z-index: 1;
- display: grid;
- width: 132px;
- min-height: 132px;
- place-items: center;
- align-content: center;
- gap: 7px;
- padding: 14px;
- border-radius: 24px;
- text-align: center;
- }
-
- .account-owner {
- left: 50%;
- translate: -50% 0;
- }
-
- .account-member-left {
- left: 0;
- }
-
- .account-member-right {
- right: 0;
- }
-
- .account-avatar {
- display: grid;
- width: 44px;
- height: 44px;
- place-items: center;
- border-radius: 16px;
- background: rgb(var(--edgeever-brand-rgb) / 0.12);
- color: var(--edgeever-brand-text);
- }
-
- .account-card strong {
- font-size: 13px;
- color: #0f172a;
- }
-
- .account-card small {
- font-size: 10px;
- color: #64748b;
- }
-
- .accounts-token {
- right: 4%;
- bottom: 0;
- z-index: 3;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 11px 14px;
- border-radius: 999px;
- color: var(--edgeever-brand-text);
- }
-
- @media (max-width: 767px) {
- .feature-art {
- padding: 22px;
- }
-
- .storage-scene,
- .agent-scene,
- .workspace-scene,
- .open-scene,
- .secure-scene,
- .accounts-scene {
- width: min(94%, 360px);
- }
-
- .storage-meter {
- width: 120px;
- }
-
- .storage-stack {
- width: 122px;
- }
-
- .storage-gallery {
- grid-template-columns: repeat(2, 42px);
- }
-
- .storage-gallery i {
- width: 42px;
- height: 34px;
- }
-
- .agent-node {
- width: 92px;
- height: 76px;
- }
-
- .workspace-window {
- inset: 8% 0;
- }
-
- .workspace-body {
- grid-template-columns: 29% 34% 1fr;
- }
-
- .workspace-pane {
- padding: 16px 10px;
- }
-
- .open-markdown {
- width: 170px;
- height: 220px;
- }
-
- .open-json {
- width: 154px;
- height: 184px;
- }
-
- .open-export {
- width: 72px;
- height: 72px;
- }
-
- .open-chips {
- gap: 6px;
- }
-
- .open-chips em {
- padding: 6px 9px;
- }
-
- .open-zip {
- padding: 8px 11px;
- }
-
- .secure-desktop {
- width: 230px;
- height: 180px;
- }
-
- .secure-phone {
- width: 98px;
- height: 190px;
- }
-
- .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%;
- }
-
- .account-card {
- width: 108px;
- min-height: 118px;
- padding: 10px;
- }
-
- .accounts-instance {
- width: 156px;
- }
-
- .accounts-link-left {
- rotate: 43deg;
- }
-
- .accounts-link-right {
- rotate: -43deg;
- }
-
- .accounts-token {
- right: 0;
- padding: 9px 11px;
- }
- }
-</style>
diff --git a/apps/site/src/components/hero.astro b/apps/site/src/components/hero.astro
index dd83b6d2..98eae383 100644
--- a/apps/site/src/components/hero.astro
+++ b/apps/site/src/components/hero.astro
@@ -8,21 +8,24 @@ import { getLocalizedPath, getSiteLocale, siteCopy } from "@/i18n";
const locale = getSiteLocale(Astro.url.pathname);
const copy = siteCopy[locale].hero;
+
+const agentPromptText = copy.agentPromptText;
---
-<main class="relative grid gap-8 lg:grid-cols-[minmax(0,0.95fr)_minmax(420px,1.05fr)] place-items-center pt-8 pb-8 md:pt-10 md:pb-8 overflow-hidden">
+<main class="relative grid gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(460px,1.1fr)] place-items-center pt-8 pb-12 md:pt-12 md:pb-16 overflow-hidden">
<!-- Animated Background Orbs -->
- <div class="absolute top-0 left-1/4 w-96 h-96 bg-brand/10 rounded-full blur-3xl animate-slow-spin mix-blend-multiply pointer-events-none"></div>
- <div class="absolute bottom-0 right-1/4 w-80 h-80 bg-brand-border/20 rounded-full blur-3xl animate-float mix-blend-multiply pointer-events-none"></div>
+ <div class="absolute top-0 left-1/4 w-[450px] h-[450px] bg-brand/10 rounded-full blur-3xl animate-slow-spin pointer-events-none"></div>
+ <div class="absolute bottom-0 right-1/4 w-[380px] h-[380px] bg-emerald-400/10 rounded-full blur-3xl animate-float pointer-events-none"></div>
<!-- Magic UI Meteors -->
- <Meteors number={20} client:load />
+ <Meteors number={16} client:load />
- <div class="md:order-1 relative z-10 w-full">
+ <div class="relative z-20 w-full flex flex-col items-start">
{copy.badgeText && (
<a
href={`${getLocalizedPath(locale, "/")}blog?tag=migration`}
- class="inline-flex items-center gap-2 px-3.5 py-1 mb-6 text-xs text-brand bg-brand/5 border border-brand-border/30 hover:border-brand/40 hover:bg-brand/10 rounded-full backdrop-blur-sm select-none hover:-translate-y-0.5 transition-all duration-300 group/badge cursor-pointer"
+ class="animate-rise inline-flex items-center gap-2 px-3.5 py-1.5 mb-6 text-xs text-brand bg-brand/5 border border-brand-border/30 hover:border-brand/40 hover:bg-brand/10 rounded-full backdrop-blur-sm select-none hover:-translate-y-0.5 transition-all duration-300 group/badge cursor-pointer"
+ style="animation-delay: 0ms;"
>
<span class="relative flex h-2 w-2">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-brand opacity-75"></span>
@@ -34,18 +37,25 @@ const copy = siteCopy[locale].hero;
</svg>
</a>
)}
- <h1 class="text-4xl md:text-5xl xl:text-6xl font-bold text-slate-900 leading-tight">
+
+ <h1 class="animate-rise text-4xl md:text-5xl xl:text-6xl font-extrabold text-slate-900 leading-[1.18] tracking-tight" style="animation-delay: 80ms;">
<span class="text-gradient">EdgeEver</span>
- <span class="hero-slogan block mt-4 max-w-xl text-xl md:text-2xl font-medium leading-relaxed text-slate-700">{copy.slogan}</span>
+ <div class="mt-3 flex flex-wrap items-center gap-2">
+ <span class="inline-block px-3 py-1 bg-emerald-600 text-white rounded-lg text-lg md:text-xl font-bold -rotate-1 shadow-md animate-pop">
+ {copy.popHighlight}
+ </span>
+ </div>
+ <span class="hero-slogan block mt-4 max-w-xl text-lg md:text-xl font-normal leading-relaxed text-slate-600">{copy.slogan}</span>
</h1>
- <div class="mt-8 flex flex-col sm:flex-row gap-4">
+ <!-- Primary Action Buttons -->
+ <div class="animate-rise mt-8 flex flex-wrap items-center gap-3.5 z-20" style="animation-delay: 160ms;">
<Link
href="https://demo.edgeever.org"
target="_blank"
- class="group flex gap-2 items-center justify-center text-white bg-brand border-transparent shadow-[0_12px_30px_-18px_rgb(var(--edgeever-brand-rgb)/0.8)] hover:bg-brand-hover hover:shadow-brand/40 transition-all duration-300 hover:-translate-y-1 rounded-xl"
+ class="group flex gap-2 items-center justify-center px-6 py-3 text-white bg-brand border-transparent shadow-[0_12px_30px_-14px_rgb(var(--edgeever-brand-rgb)/0.8)] hover:bg-brand-hover hover:shadow-brand/40 transition-all duration-300 hover:-translate-y-0.5 rounded-full font-semibold text-sm"
rel="noopener">
- <Icon class="w-5 h-5" name="bx:bx-show" />
+ <Icon class="w-4 h-4" name="bx:bx-show" />
{copy.demo}
</Link>
<Link
@@ -53,38 +63,163 @@ const copy = siteCopy[locale].hero;
style="outline"
rel="noopener"
href="https://github.com/tianma-if/edgeever"
- class="flex gap-2 items-center justify-center hover:bg-slate-50 transition-colors rounded-xl"
+ class="flex gap-2 items-center justify-center px-6 py-3 border border-slate-200 hover:border-slate-400 bg-white/80 backdrop-blur-sm text-slate-800 transition-all rounded-full font-semibold text-sm hover:-translate-y-0.5"
target="_blank">
- <Icon class="text-slate-700 w-5 h-5" name="bx:bxl-github" />
- GitHub
+ <Icon class="text-slate-800 w-4 h-4" name="bx:bxl-github" />
+ GitHub Star
</Link>
<a
rel="noopener"
href={getLocalizedPath(locale, "/blog/ai-agent-deploy-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"
+ class="flex gap-2 items-center justify-center px-5 py-3 bg-brand/5 border border-brand/20 hover:border-brand/40 text-brand-text hover:bg-brand/10 transition-all rounded-full font-semibold text-sm hover:-translate-y-0.5"
>
- <Icon class="w-5 h-5" name="simple-icons:cloudflare" />
+ <Icon class="w-4 h-4" name="simple-icons:cloudflare" />
{copy.agentInstall}
</a>
</div>
+
+ <!-- Agent Terminal Prompt Pill (Pireel style) -->
+ <div class="animate-rise mt-6 w-full max-w-lg z-30 relative" style="animation-delay: 240ms;">
+ <!-- Hidden Textarea for clean text copying -->
+ <textarea id="agent-prompt-textarea" class="sr-only" aria-hidden="true" readonly>{agentPromptText}</textarea>
+
+ <div class="flex flex-col gap-1.5">
+ <button
+ type="button"
+ id="copy-agent-prompt"
+ title="点击复制 AI 部署 Prompt 指令"
+ class="group relative inline-flex items-center justify-between gap-3 w-full rounded-full border border-slate-200/90 bg-white/90 backdrop-blur hover:border-emerald-500/60 p-1.5 pl-4 transition-all hover:shadow-md cursor-pointer text-left select-none z-30"
+ >
+ <div class="flex items-center gap-2.5 overflow-hidden pointer-events-none">
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-emerald-600 shrink-0"><path d="M12 19h8"></path><path d="m4 17 6-6-6-6"></path></svg>
+ <span class="font-mono text-xs text-slate-700 font-medium truncate">
+ {copy.terminalCmd}
+ </span>
+ </div>
+ <span class="copy-icon-box grid h-7 w-7 shrink-0 place-items-center rounded-full bg-slate-100 text-slate-500 group-hover:bg-emerald-50 group-hover:text-emerald-700 transition-colors pointer-events-none">
+ <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path></svg>
+ </span>
+ <span id="prompt-tooltip" class="absolute -top-10 right-4 hidden rounded-lg bg-emerald-700 px-3 py-1.5 text-xs font-semibold text-white shadow-lg transition-opacity pointer-events-none z-50 flex items-center gap-1.5">
+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>
+ <span>{copy.copySuccess}</span>
+ </span>
+ </button>
+ <span class="text-[11.5px] text-slate-600 pl-4 font-medium select-none">{copy.terminalSub}</span>
+ </div>
+ </div>
</div>
- <div class="py-3 md:order-2 hidden md:flex relative w-full max-w-lg justify-center z-10">
- <div class="relative w-full glow-card rounded-2xl p-2.5 animate-float" style="animation-delay: 1s;">
- <div class="absolute -inset-0.5 bg-gradient-to-tr from-brand-border/30 to-brand/10 rounded-2xl blur opacity-50"></div>
- <Picture
- src={heroProductImage}
- alt={copy.imageAlt}
- widths={[480, 720, 960, 1200]}
- sizes="(max-width: 1024px) 100vw, 640px"
- loading="eager"
- format="avif"
- class="relative rounded-xl border border-white/40 shadow-2xl z-10"
- />
+ <!-- macOS Browser Window Mockup (Pireel style) -->
+ <div class="animate-rise w-full relative z-10 flex justify-center lg:justify-end" style="animation-delay: 320ms;">
+ <div class="relative w-full max-w-xl animate-float pointer-events-none select-none">
+ <!-- Glow Underlay -->
+ <div class="absolute -inset-1 bg-gradient-to-r from-emerald-500/20 via-brand/10 to-teal-500/20 rounded-2xl blur-xl opacity-70"></div>
+
+ <!-- macOS Window Container -->
+ <div class="relative rounded-2xl border border-slate-200/80 bg-white shadow-2xl overflow-hidden">
+ <!-- macOS Top Header Bar -->
+ <div class="flex items-center justify-between border-b border-slate-100 bg-slate-50/90 px-4 py-2.5 backdrop-blur-sm">
+ <div class="flex items-center gap-1.5">
+ <span class="h-3 w-3 rounded-full bg-[#ff5f57] inline-block"></span>
+ <span class="h-3 w-3 rounded-full bg-[#febc2e] inline-block"></span>
+ <span class="h-3 w-3 rounded-full bg-[#28c840] inline-block"></span>
+ </div>
+ <div class="flex items-center gap-1 rounded-full bg-slate-200/60 px-3 py-0.5 text-center font-mono text-[11px] text-slate-500 font-medium">
+ <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="text-slate-400 mr-1"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
+ demo.edgeever.org
+ </div>
+ <div class="w-10"></div>
+ </div>
+
+ <!-- Product Image Preview -->
+ <div class="relative bg-slate-900/5 overflow-hidden">
+ <Picture
+ src={heroProductImage}
+ alt={copy.imageAlt}
+ widths={[480, 720, 960, 1200]}
+ sizes="(max-width: 1024px) 100vw, 640px"
+ loading="eager"
+ format="avif"
+ class="w-full object-cover rounded-b-xl pointer-events-none select-none"
+ />
+ </div>
+ </div>
</div>
</div>
</main>
+<script is:inline>
+ (function () {
+ function fallbackCopyText(text) {
+ var textarea = document.createElement("textarea");
+ textarea.value = text;
+ textarea.style.position = "fixed";
+ textarea.style.left = "-9999px";
+ textarea.style.top = "-9999px";
+ document.body.appendChild(textarea);
+ textarea.focus();
+ textarea.select();
+ var successful = false;
+ try {
+ successful = document.execCommand("copy");
+ } catch (err) {
+ console.error("execCommand copy error:", err);
+ }
+ document.body.removeChild(textarea);
+ return successful;
+ }
+
+ document.addEventListener("click", function (e) {
+ var btn = e.target && e.target.closest ? e.target.closest("#copy-agent-prompt") : null;
+ if (!btn) return;
+
+ e.preventDefault();
+ e.stopPropagation();
+
+ var textarea = document.getElementById("agent-prompt-textarea");
+ var textToCopy = textarea ? textarea.value : "";
+ if (!textToCopy) return;
+
+ var tooltip = document.getElementById("prompt-tooltip");
+ var iconContainer = btn.querySelector(".copy-icon-box");
+
+ function showSuccess() {
+ btn.classList.add("border-emerald-500", "bg-emerald-50");
+ if (tooltip) {
+ tooltip.classList.remove("hidden");
+ }
+ if (iconContainer) {
+ iconContainer.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="text-emerald-600"><polyline points="20 6 9 17 4 12"></polyline></svg>';
+ }
+ setTimeout(function () {
+ btn.classList.remove("border-emerald-500", "bg-emerald-50");
+ if (tooltip) {
+ tooltip.classList.add("hidden");
+ }
+ if (iconContainer) {
+ iconContainer.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path></svg>';
+ }
+ }, 2500);
+ }
+
+ if (navigator.clipboard && navigator.clipboard.writeText) {
+ navigator.clipboard.writeText(textToCopy).then(function () {
+ showSuccess();
+ }).catch(function (err) {
+ console.warn("navigator.clipboard failed, fallback to execCommand", err);
+ if (fallbackCopyText(textToCopy)) {
+ showSuccess();
+ }
+ });
+ } else {
+ if (fallbackCopyText(textToCopy)) {
+ showSuccess();
+ }
+ }
+ });
+ })();
+</script>
+
<style>
.hero-slogan {
font-family:
diff --git a/apps/site/src/components/marquee-showcase.astro b/apps/site/src/components/marquee-showcase.astro
new file mode 100644
index 00000000..cd0128d0
--- /dev/null
+++ b/apps/site/src/components/marquee-showcase.astro
@@ -0,0 +1,64 @@
+---
+import { Icon } from "astro-icon/components";
+import { getSiteLocale, siteCopy } from "@/i18n";
+
+const locale = getSiteLocale(Astro.url.pathname);
+const copy = siteCopy[locale].marquee;
+
+// Duplicate list for seamless infinite loop (Track 1 + Track 2)
+const doubleItems = [...copy.items, ...copy.items];
+---
+
+<section class="mt-16 md:mt-24 w-full overflow-hidden py-10 bg-slate-50/60 border-y border-slate-200/60">
+ <div class="max-w-4xl mx-auto text-center px-4 mb-8">
+ <h3 class="text-2xl md:text-3xl font-extrabold text-slate-900 tracking-tight">
+ {copy.title}
+ </h3>
+ <p class="text-slate-500 text-sm mt-2">
+ {copy.subtitle}
+ </p>
+ </div>
+
+ <!-- Marquee Container with Side Gradient Fades -->
+ <div class="group relative mt-6 w-full">
+ <div class="flex w-max gap-4 animate-site-marquee group-hover:[animation-play-state:paused]">
+ {doubleItems.map((item) => (
+ <div class={`relative w-72 shrink-0 rounded-2xl border border-slate-200/80 bg-gradient-to-br ${item.color} p-5 shadow-xs transition-all duration-300 hover:shadow-md hover:border-emerald-400 bg-white`}>
+ <div class="flex items-center justify-between mb-3">
+ <span class="px-2 py-0.5 text-[10px] font-bold text-emerald-700 bg-emerald-100/80 rounded-md">
+ {item.tag}
+ </span>
+ <Icon name={item.icon} class="w-5 h-5 text-emerald-600" />
+ </div>
+ <h4 class="font-bold text-slate-900 text-sm">{item.title}</h4>
+ <p class="text-slate-500 text-[11.5px] mt-1 leading-snug">{item.desc}</p>
+ </div>
+ ))}
+ </div>
+
+ <!-- Side Gradient Fade Masks (Pireel Style) -->
+ <div class="pointer-events-none absolute inset-y-0 left-0 w-28 bg-gradient-to-r from-slate-50 via-slate-50/80 to-transparent z-10"></div>
+ <div class="pointer-events-none absolute inset-y-0 right-0 w-28 bg-gradient-to-l from-slate-50 via-slate-50/80 to-transparent z-10"></div>
+ </div>
+</section>
+
+<style>
+ .animate-site-marquee {
+ animation: site-marquee 35s linear infinite;
+ }
+
+ @keyframes site-marquee {
+ 0% {
+ transform: translateX(0);
+ }
+ 100% {
+ transform: translateX(-50%);
+ }
+ }
+
+ @media (prefers-reduced-motion: reduce) {
+ .animate-site-marquee {
+ animation: none;
+ }
+ }
+</style>
diff --git a/apps/site/src/i18n.ts b/apps/site/src/i18n.ts
index d4972658..441edfc6 100644
--- a/apps/site/src/i18n.ts
+++ b/apps/site/src/i18n.ts
@@ -56,10 +56,139 @@ export const siteCopy = {
},
hero: {
slogan: siteTaglines["zh-CN"],
+ popHighlight: "印象笔记 0 成本经典平替",
demo: "在线演示",
- agentInstall: "部署 EdgeEver",
+ agentInstall: "一键 AI 部署",
imageAlt: "EdgeEver product preview",
badgeText: "💡 支持印象笔记、Notion、Memos 零成本平替,双 MCP 自动搬家",
+ terminalCmd: "帮我在 Cloudflare 部署 EdgeEver:Fork https://github.com/tianma-if/edgeever 并绑定 D1/R2",
+ terminalSub: "Agent 原生 · 复制 Prompt 粘贴给 Cursor / Claude Code / Antigravity 即可自动部署",
+ copySuccess: "部署 Prompt 已复制!粘贴给 AI 助手即可部署",
+ agentPromptText: `帮我在 Cloudflare 部署 EdgeEver:
+1. Fork https://github.com/tianma-if/edgeever
+2. 导入 Cloudflare Workers & Pages
+3. 绑定 D1 (DB)、R2 (RESOURCES) 并配置 EDGE_EVER_AUTH_PASSWORD 密钥
+4. 启动首次构建并验证 /api/health`,
+ },
+ bento: {
+ eyebrow: "WHY EDGEEVER",
+ heading: "重新定义自托管笔记工作区",
+ subheading: "告别商业笔记的臃肿广告与设备限制。每一个设计细节,都旨在打造流畅、开放、隐私可控的第二大脑。",
+ card1: {
+ badge: "经典重现",
+ title: "经典三栏,熟悉但更轻快",
+ desc: "保留印象笔记式的笔记本树、笔记列表与主编辑区。支持无限层级嵌套与拖拽调整,零学习成本。",
+ subBadge: "100% 经典印象笔记体感",
+ treeTitle: "笔记本目录",
+ folder1: "01_工作收件箱",
+ folder2: "02_灵感与草稿",
+ folder3: "03_归档笔记",
+ folder4: "↳ 2026_阅读精选",
+ listTitle: "笔记 (18)",
+ note1Title: "EdgeEver 核心架构设计",
+ note1Sub: "基于 Cloudflare Worker + D1...",
+ note2Title: "Remote MCP 配置指南",
+ note2Sub: "Antigravity Token 校验步骤...",
+ editorTitle: "EdgeEver 核心架构设计",
+ editorBody: "EdgeEver 将印象笔记经典的 3 栏工作区与 100% 免费的 Serverless 架构完美结合。",
+ editorSaveTag: "已自动保存至 Cloudflare D1",
+ },
+ card2: {
+ badge: "MCP 原生",
+ title: "AI Agent 原生连接",
+ desc: "内置 Remote MCP endpoint。直接授权 Antigravity、Claude Code、Codex 读取、生成与整理你的长期知识库。",
+ mockupStatus: "MCP 已连接",
+ mockupCmd: "> mcp.search_notes(\"EdgeEver\")",
+ mockupResult: "已找到 5 条相关笔记,已自动生成摘要与标签关联。",
+ },
+ card3: {
+ badge: "0 成本自托管",
+ title: "0 服务器、0 运维、终身完全免费",
+ desc: "依托 Cloudflare 架构,可存 15 万条笔记 + 5 万张图片。数据存在你自己的 Cloudflare 账号中,隐私安全无忧。",
+ price: "¥0",
+ unit: "/ 月",
+ sub: "自托管零服务器成本",
+ metric: "150,000+",
+ metricSub: "免费笔记容量",
+ },
+ card4: {
+ badge: "排版神器",
+ title: "创作者一键富文本美化复制",
+ desc: "专为创作者打造,Markdown 瞬间转换为带内联 CSS 的优雅排版,可直接粘贴至 Substack、Medium 或公众号。",
+ srcTag: "Markdown 源码",
+ actionBtn: "一键富文本复制",
+ previewTitle: "# 标题一:富文本与 CSS",
+ previewBody: "带 CSS 内联排版,瞬间粘贴入公众号或 Substack。",
+ },
+ card5: {
+ badge: "数据主权",
+ title: "数据开放,无损 ZIP 备份",
+ desc: "基于 SQLite D1 与标准 REST API,支持无损 ZIP 导入导出(含 Markdown、Front Matter、嵌套目录与版本历史)。",
+ archiveTitle: "edgeever-backup.zip",
+ archiveSub: "包含 Markdown、Front Matter、附件与历史版本",
+ },
+ },
+ marquee: {
+ title: "无缝剪藏、多端同步与生态扩展",
+ subtitle: "从浏览器剪藏插件、PWA/移动端随手记,到 Remote MCP 与跨平台数据联动",
+ items: [
+ {
+ tag: "剪藏插件",
+ title: "Chrome & Edge 插件",
+ desc: "官方商店一键安装,智能剪藏网页全文、选中文本与书签",
+ icon: "bx:bx-extension",
+ color: "from-emerald-500/10 to-teal-500/5",
+ },
+ {
+ tag: "多端同步",
+ title: "PWA & 移动端快捷记",
+ desc: "桌面 PC、iOS、Android 随开随用,离线草稿自动同步",
+ icon: "bx:bx-mobile-alt",
+ color: "from-teal-500/10 to-emerald-500/5",
+ },
+ {
+ tag: "设备无界",
+ title: "不限设备登录数",
+ desc: "自建专属 API,彻底打碎商业笔记“限制 2 台设备”枷锁",
+ icon: "bx:bx-devices",
+ color: "from-emerald-600/10 to-green-500/5",
+ },
+ {
+ tag: "AI 生态",
+ title: "Remote MCP 服务端",
+ desc: "原生接入 Antigravity、Claude Code、Codex 智能读写与总结",
+ icon: "bx:bxs-bot",
+ color: "from-green-500/10 to-emerald-500/5",
+ },
+ {
+ tag: "数据联动",
+ title: "Notion & 飞书多维表格",
+ desc: "通过 MCP 把零散笔记自动归纳转化为结构化数据库",
+ icon: "bx:bx-data",
+ color: "from-teal-600/10 to-emerald-600/5",
+ },
+ {
+ tag: "创作者高效",
+ title: "Substack / 公众号复制",
+ desc: "Markdown 瞬间转换为带 CSS 内联的完美富文本排版",
+ icon: "bx:bx-copy",
+ color: "from-emerald-500/10 to-teal-500/5",
+ },
+ {
+ tag: "无损迁移",
+ title: "双 MCP & 印象笔记搬家",
+ desc: "内置 ENEX 与双 MCP 自动化迁移工具,轻松无痛转场",
+ icon: "bx:bx-transfer",
+ color: "from-green-600/10 to-teal-500/5",
+ },
+ {
+ tag: "数据主权",
+ title: "无损 ZIP 离线归档",
+ desc: "SQLite D1 完整打包导出/导入,支持 Markdown 与版本历史",
+ icon: "bx:bx-archive",
+ color: "from-teal-500/10 to-emerald-500/5",
+ },
+ ],
},
features: {
heading: "重新定义个人笔记体验",
@@ -125,7 +254,7 @@ export const siteCopy = {
guides: {
eyebrow: "EdgeEver Guides",
heading: "从部署、迁移到 AI Agent 玩法",
- description: "把最关键的上手路径放到显眼位置:先部署自己的实例,再把旧笔记迁过来,最后用 MCP 接入 AI Agent 整理长期知识库。",
+ description: "快速上手 EdgeEver 的核心路径:部署专属实例、无缝迁移旧笔记,并通过 MCP 接入 AI 助手构建第二大脑。",
items: [
{
title: "两种方式部署 EdgeEver",
@@ -179,10 +308,139 @@ export const siteCopy = {
},
hero: {
slogan: siteTaglines["en-US"],
+ popHighlight: "Free Self-Hosted Evernote Alternative",
demo: "Live demo",
- agentInstall: "Deploy EdgeEver",
+ agentInstall: "Deploy with AI",
imageAlt: "EdgeEver product preview",
badgeText: "💡 Serverless: Migrate from Evernote, Notion & Memos via Dual-MCP",
+ terminalCmd: "Deploy EdgeEver on Cloudflare: Fork https://github.com/tianma-if/edgeever & bind D1/R2",
+ terminalSub: "Agent Native · Copy prompt to Cursor / Claude Code / Antigravity to deploy automatically",
+ copySuccess: "Deployment Prompt copied! Paste into AI Assistant",
+ agentPromptText: `Deploy EdgeEver on Cloudflare:
+1. Fork https://github.com/tianma-if/edgeever
+2. Import into Cloudflare Workers & Pages
+3. Bind D1 (DB), R2 (RESOURCES) and set EDGE_EVER_AUTH_PASSWORD secret
+4. Start first build and verify /api/health`,
+ },
+ bento: {
+ eyebrow: "WHY EDGEEVER",
+ heading: "Rebuilt for Self-Hosted Knowledge & AI Workflows",
+ subheading: "Say goodbye to ads, device caps, and server bills. Every detail is crafted for a fast, open, and private second brain.",
+ card1: {
+ badge: "Classic UI",
+ title: "Classic Three-Pane Layout, Faster & Lighter",
+ desc: "Preserves the notebook tree, note list, and main editor. Unlimited nesting depth with zero learning curve.",
+ subBadge: "100% Evernote Feel",
+ treeTitle: "Notebooks",
+ folder1: "01_Work_Inbox",
+ folder2: "02_Ideas_Drafts",
+ folder3: "03_Archive_Notes",
+ folder4: "↳ 2026_Reading",
+ listTitle: "Notes (18)",
+ note1Title: "EdgeEver Architecture",
+ note1Sub: "Serverless Cloudflare Worker & D1...",
+ note2Title: "Remote MCP Setup",
+ note2Sub: "Antigravity token setup guide...",
+ editorTitle: "EdgeEver Architecture",
+ editorBody: "EdgeEver combines the classic Evernote 3-pane layout with 100% free serverless infrastructure.",
+ editorSaveTag: "Auto-saved to Cloudflare D1",
+ },
+ card2: {
+ badge: "MCP Native",
+ title: "Native AI Agent & Remote MCP Synergy",
+ desc: "Built-in Remote MCP endpoint. Authorize Antigravity, Claude Code, and Codex to read, summarize, and organize your notes directly.",
+ mockupStatus: "MCP Connected",
+ mockupCmd: "> mcp.search_notes(\"EdgeEver\")",
+ mockupResult: "Found 5 relevant notes. Created summary & tags automatically.",
+ },
+ card3: {
+ badge: "Zero Cost",
+ title: "Zero Server, Zero Maintenance, 100% Free",
+ desc: "Runs on Cloudflare free tiers (up to 150k notes & 50k images). All data lives securely inside your own Cloudflare account.",
+ price: "$0",
+ unit: "/ mo",
+ sub: "Zero Server Rental",
+ metric: "150,000+",
+ metricSub: "Free Note Capacity",
+ },
+ card4: {
+ badge: "Rich Copy",
+ title: "One-Click Rich Copy for Content Creators",
+ desc: "Instantly converts Markdown into styled HTML with inline CSS, ready to paste into Substack, Medium, or newsletters.",
+ srcTag: "Markdown Source",
+ actionBtn: "One-Click Rich Copy",
+ previewTitle: "# Heading 1: Rich Text & CSS",
+ previewBody: "With inline CSS, instantly paste into Substack or newsletters.",
+ },
+ card5: {
+ badge: "Data Sovereignty",
+ title: "Open Data Architecture & ZIP Backup",
+ desc: "Built on standard SQLite D1 & REST API, supporting full ZIP export/import with Markdown, Front Matter, attachments, and version history.",
+ archiveTitle: "edgeever-backup.zip",
+ archiveSub: "Markdown + Attachments + Revision History",
+ },
+ },
+ marquee: {
+ title: "Seamless Clipping, Multi-Device Sync & Ecosystem Synergy",
+ subtitle: "From browser web clipping and mobile PWA capture, to Remote MCP and cross-platform workflows.",
+ items: [
+ {
+ tag: "Web Clipper",
+ title: "Chrome & Edge Extension",
+ desc: "Official Web Store extension to clip articles, selections, and bookmarks",
+ icon: "bx:bx-extension",
+ color: "from-emerald-500/10 to-teal-500/5",
+ },
+ {
+ tag: "Multi-Device",
+ title: "PWA & Mobile Quick Capture",
+ desc: "Instant capture on Desktop, iOS & Android with offline sync queue",
+ icon: "bx:bx-mobile-alt",
+ color: "from-teal-500/10 to-emerald-500/5",
+ },
+ {
+ tag: "Uncapped",
+ title: "Unlimited Active Devices",
+ desc: "Self-hosted API removes commercial device cap restrictions",
+ icon: "bx:bx-devices",
+ color: "from-emerald-600/10 to-green-500/5",
+ },
+ {
+ tag: "AI Ecosystem",
+ title: "Remote MCP Endpoint",
+ desc: "Connect Antigravity, Claude Code & Codex for smart summaries",
+ icon: "bx:bxs-bot",
+ color: "from-green-500/10 to-emerald-500/5",
+ },
+ {
+ tag: "Data Synergy",
+ title: "Notion & Bitable Sync",
+ desc: "Transform everyday notes into structured databases via MCP",
+ icon: "bx:bx-data",
+ color: "from-teal-600/10 to-emerald-600/5",
+ },
+ {
+ tag: "Content Creator",
+ title: "Substack & Newsletter Rich Copy",
+ desc: "Convert Markdown into styled HTML with inline CSS in 1 click",
+ icon: "bx:bx-copy",
+ color: "from-emerald-500/10 to-teal-500/5",
+ },
+ {
+ tag: "Migration",
+ title: "Evernote & Notion Importer",
+ desc: "Automated ENEX import script and dual-MCP migration tools",
+ icon: "bx:bx-transfer",
+ color: "from-green-600/10 to-teal-500/5",
+ },
+ {
+ tag: "Data Sovereignty",
+ title: "Lossless ZIP Archive",
+ desc: "Full SQLite D1 export and recovery with Markdown & version history",
+ icon: "bx:bx-archive",
+ color: "from-teal-500/10 to-emerald-500/5",
+ },
+ ],
},
features: {
heading: "A personal notes workspace rebuilt for self-hosting",
diff --git a/apps/site/src/pages/en/index.astro b/apps/site/src/pages/en/index.astro
index 292b0cad..afa5ee2a 100644
--- a/apps/site/src/pages/en/index.astro
+++ b/apps/site/src/pages/en/index.astro
@@ -4,6 +4,7 @@ import Features from "@/components/features.astro";
import Guides from "@/components/guides.astro";
import Hero from "@/components/hero.astro";
import Logos from "@/components/logos.astro";
+import MarqueeShowcase from "@/components/marquee-showcase.astro";
import Layout from "@/layouts/Layout.astro";
const siteUrl = new URL(Astro.url.pathname, Astro.site).toString();
@@ -35,6 +36,7 @@ const homeJsonLd = [
<Layout title="" jsonLd={homeJsonLd}>
<Container>
<Hero />
+ <MarqueeShowcase />
<Features />
<Guides />
<Logos />
diff --git a/apps/site/src/pages/index.astro b/apps/site/src/pages/index.astro
index b1622ed8..1e8cf594 100644
--- a/apps/site/src/pages/index.astro
+++ b/apps/site/src/pages/index.astro
@@ -4,6 +4,7 @@ import Features from "@/components/features.astro";
import Guides from "@/components/guides.astro";
import Hero from "@/components/hero.astro";
import Logos from "@/components/logos.astro";
+import MarqueeShowcase from "@/components/marquee-showcase.astro";
import Layout from "@/layouts/Layout.astro";
const siteUrl = new URL(Astro.url.pathname, Astro.site).toString();
@@ -36,6 +37,7 @@ const homeJsonLd = [
<Layout title="" jsonLd={homeJsonLd}>
<Container>
<Hero />
+ <MarqueeShowcase />
<Features />
<Guides />
<Logos />
diff --git a/apps/site/src/styles/global.css b/apps/site/src/styles/global.css
index 2e5bdf82..d9bd71f2 100644
--- a/apps/site/src/styles/global.css
+++ b/apps/site/src/styles/global.css
@@ -67,6 +67,39 @@
animation: border-beam calc(var(--duration)*1s) infinite linear;
}
+@utility animate-rise {
+ animation: landing-rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
+}
+
+@utility animate-pop {
+ animation: landing-pop 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
+}
+
+@keyframes landing-rise {
+ from {
+ opacity: 0;
+ transform: translateY(16px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+@keyframes landing-pop {
+ 0% {
+ transform: scale(0.7) rotate(-3deg);
+ opacity: 0;
+ }
+ 60% {
+ transform: scale(1.06) rotate(1deg);
+ opacity: 1;
+ }
+ 100% {
+ transform: scale(1) rotate(-1deg);
+ }
+}
+
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }