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
Revert "style(site): 精细化调校移动端 UI 视觉字号阶梯、按钮尺寸与 App 级排版布局"
tianma-if9c64089e3d28
diff --git a/apps/site/src/components/features.astro b/apps/site/src/components/features.astroindex 8fd1c582..ab1b94b6 100644--- a/apps/site/src/components/features.astro+++ b/apps/site/src/components/features.astro@@ -6,47 +6,47 @@ const locale = getSiteLocale(Astro.url.pathname);const bento = siteCopy[locale].bento;----<section class="mt-8 sm:mt-16 md:mt-24 relative overflow-hidden" aria-labelledby="bento-features">+<section class="mt-12 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-6 sm:mb-12 md:mb-16 text-center mx-auto px-4">- <span class="inline-block px-3 py-0.5 text-[10.5px] sm:text-xs font-bold tracking-widest text-emerald-600 bg-emerald-50 rounded-full border border-emerald-200/60 uppercase">+ <div class="max-w-3xl mb-8 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-xl sm:text-3xl md:text-4xl lg:text-5xl font-extrabold text-slate-900 tracking-tight mt-2.5 sm:mt-3" id="bento-features">+ <h2 class="text-2xl sm: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-2 sm:mt-4 text-xs sm:text-sm md:text-base leading-relaxed max-w-2xl mx-auto">+ <p class="text-slate-600 mt-3 sm:mt-4 text-xs sm:text-sm md:text-base leading-relaxed max-w-2xl mx-auto">{bento.subheading}</p></div><!-- Bento Grid Container -->- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3.5 sm:gap-6 max-w-6xl mx-auto px-4">+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 sm: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-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-4 sm:p-6 md:p-8 shadow-xs transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 lg:col-span-2 flex flex-col justify-between">- <div class="mb-3 sm:mb-6 z-10">- <div class="flex flex-wrap items-center gap-2 mb-2">- <span class="px-2 py-0.5 text-[9.5px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">+ <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-5 sm: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-4 sm:mb-6 z-10">+ <div class="flex flex-wrap items-center gap-2 mb-2.5">+ <span class="px-2.5 py-0.5 text-[10px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">{bento.card1.badge}</span>- <span class="text-slate-400 text-[10px] sm:text-xs font-mono">{bento.card1.subBadge}</span>+ <span class="text-slate-400 text-[11px] sm:text-xs font-mono">{bento.card1.subBadge}</span></div>- <h3 class="text-base sm:text-xl md:text-2xl font-bold text-slate-900 tracking-tight">+ <h3 class="text-lg sm:text-xl md:text-2xl font-bold text-slate-900 tracking-tight">{bento.card1.title}</h3>- <p class="text-slate-600 text-[11.5px] sm:text-sm mt-1.5 sm:mt-2 leading-relaxed max-w-xl">+ <p class="text-slate-600 text-xs sm:text-sm mt-2 leading-relaxed max-w-xl">{bento.card1.desc}</p></div><!-- Micro UI Mockup: Three-Pane Preview (Responsive Layout for Mobile) --><div class="relative w-full rounded-xl border border-slate-200/80 bg-slate-50/80 p-2 sm:p-2.5 shadow-inner mt-2 sm:mt-4 overflow-hidden group-hover:border-emerald-300 transition-colors">- <div class="grid grid-cols-12 gap-1.5 sm:gap-2 h-40 sm:h-48 md:h-52 text-[9.5px] sm:text-[11px] font-sans">- <!-- Left Notebook Tree (Hidden on small mobile screens < 480px to maintain clean readability) -->+ <div class="grid grid-cols-12 gap-1.5 sm:gap-2 h-44 md:h-52 text-[10px] sm:text-[11px] font-sans">+ <!-- Left Notebook Tree (Hidden on extra small mobile screens < 400px to maintain clean readability) --><div class="hidden sm:flex col-span-3 bg-white rounded-lg border border-slate-200/60 p-2 sm:p-2.5 flex-col gap-1.5 shadow-2xs overflow-hidden"><div class="flex items-center gap-1.5 text-slate-400 font-bold text-[9px] sm:text-[10px] uppercase mb-0.5"><Icon name="bx:bx-folder" class="w-3.5 h-3.5 text-emerald-600" />@@ -60,28 +60,28 @@ const bento = siteCopy[locale].bento;</div><!-- Middle Note List -->- <div class="col-span-5 sm:col-span-4 bg-white rounded-lg border border-slate-200/60 p-1.5 sm:p-2 flex flex-col gap-1 sm:gap-1.5 shadow-2xs overflow-hidden">- <div class="text-slate-400 font-bold text-[8.5px] sm:text-[10px] uppercase px-1 mb-0.5">{bento.card1.listTitle}</div>- <div class="border-l-2 border-emerald-500 bg-slate-50 p-1.5 rounded-r flex flex-col gap-0.5">- <div class="font-bold text-slate-800 text-[9.5px] sm:text-[11px] truncate">{bento.card1.note1Title}</div>- <div class="text-[8.5px] sm:text-[9.5px] text-slate-500 line-clamp-1">{bento.card1.note1Sub}</div>+ <div class="col-span-5 sm: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-[9px] sm:text-[10px] uppercase px-1 mb-0.5">{bento.card1.listTitle}</div>+ <div class="border-l-2 border-emerald-500 bg-slate-50 p-1.5 sm:p-2 rounded-r flex flex-col gap-0.5">+ <div class="font-bold text-slate-800 text-[10px] sm:text-[11px] truncate">{bento.card1.note1Title}</div>+ <div class="text-[9px] sm:text-[9.5px] text-slate-500 line-clamp-1">{bento.card1.note1Sub}</div></div>- <div class="p-1.5 rounded hover:bg-slate-50 flex flex-col gap-0.5 opacity-80">- <div class="font-medium text-slate-700 text-[9.5px] sm:text-[10.5px] truncate">{bento.card1.note2Title}</div>- <div class="text-[8.5px] sm:text-[9.5px] text-slate-400 line-clamp-1">{bento.card1.note2Sub}</div>+ <div class="p-1.5 sm:p-2 rounded hover:bg-slate-50 flex flex-col gap-0.5 opacity-80">+ <div class="font-medium text-slate-700 text-[10px] sm:text-[10.5px] truncate">{bento.card1.note2Title}</div>+ <div class="text-[9px] sm:text-[9.5px] text-slate-400 line-clamp-1">{bento.card1.note2Sub}</div></div></div><!-- Right TipTap Editor Preview -->- <div class="col-span-7 sm:col-span-5 bg-white rounded-lg border border-slate-200/60 p-2 sm:p-3 flex flex-col gap-1 sm:gap-2 shadow-2xs overflow-hidden">- <div class="text-slate-900 font-bold text-[10px] sm:text-xs border-b border-slate-100 pb-1 flex items-center justify-between">+ <div class="col-span-7 sm:col-span-5 bg-white rounded-lg border border-slate-200/60 p-2 sm:p-3 flex flex-col gap-1.5 sm:gap-2 shadow-2xs overflow-hidden">+ <div class="text-slate-900 font-bold text-[11px] sm:text-xs border-b border-slate-100 pb-1 flex items-center justify-between"><span class="truncate">{bento.card1.editorTitle}</span>- <span class="text-[8px] sm:text-[9px] bg-emerald-100 text-emerald-800 px-1 py-0.5 rounded font-mono shrink-0">TipTap</span>+ <span class="text-[8.5px] sm:text-[9px] bg-emerald-100 text-emerald-800 px-1 py-0.5 rounded font-mono shrink-0">TipTap</span></div>- <p class="text-[9px] sm:text-[10px] text-slate-600 leading-relaxed line-clamp-3 sm:line-clamp-none">+ <p class="text-[9.5px] sm:text-[10px] text-slate-600 leading-relaxed line-clamp-3 sm:line-clamp-none">{bento.card1.editorBody}</p>- <div class="flex items-center gap-1 text-[8px] sm:text-[9px] text-slate-400 mt-auto font-mono">+ <div class="flex items-center gap-1 text-[8.5px] sm: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>@@ -91,126 +91,126 @@ const bento = siteCopy[locale].bento;</div><!-- CARD 2: AI Agent & MCP Synergy (Col Span 1 on LG) -->- <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-4 sm:p-6 md:p-8 shadow-xs transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">+ <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-5 sm: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-2">- <span class="px-2 py-0.5 text-[9.5px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">+ <div class="flex items-center gap-2 mb-2.5">+ <span class="px-2.5 py-0.5 text-[10px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">{bento.card2.badge}</span>- <span class="text-slate-400 text-[10px] sm:text-xs font-mono">Remote MCP</span>+ <span class="text-slate-400 text-[11px] sm:text-xs font-mono">Remote MCP</span></div>- <h3 class="text-base sm:text-xl font-bold text-slate-900 tracking-tight">+ <h3 class="text-lg sm:text-xl font-bold text-slate-900 tracking-tight">{bento.card2.title}</h3>- <p class="text-slate-600 text-[11.5px] sm:text-sm mt-1.5 sm:mt-2 leading-relaxed">+ <p class="text-slate-600 text-xs sm: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-2.5 sm:p-3.5 text-white font-mono text-[9.5px] sm:text-[11px] mt-3 sm:mt-6 flex flex-col gap-1.5 sm:gap-2 shadow-md">- <div class="flex items-center justify-between text-[9px] sm:text-[10px] text-slate-400 border-b border-slate-800 pb-1">+ <div class="relative w-full rounded-xl border border-slate-200/80 bg-slate-900 p-3 sm:p-3.5 text-white font-mono text-[10px] sm:text-[11px] mt-4 sm:mt-6 flex flex-col gap-2 shadow-md">+ <div class="flex items-center justify-between text-[9.5px] sm: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 truncate"><span class="w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse shrink-0"></span> {bento.card2.mockupStatus}</span>- <span class="shrink-0 text-[8.5px] sm:text-[10px]">Antigravity / Codex</span>+ <span class="shrink-0 text-[9px] sm:text-[10px]">Antigravity / Codex</span></div>- <div class="bg-slate-800/80 p-1.5 sm:p-2 rounded text-slate-300 text-[9.5px] sm:text-[10.5px] truncate">+ <div class="bg-slate-800/80 p-2 rounded text-slate-300 text-[10px] sm:text-[10.5px] truncate"><span class="text-emerald-400 font-bold">></span> {bento.card2.mockupCmd}</div>- <div class="bg-emerald-950/60 border border-emerald-800/50 p-1.5 sm:p-2 rounded text-emerald-300 text-[9px] sm:text-[10px] leading-relaxed">+ <div class="bg-emerald-950/60 border border-emerald-800/50 p-2 rounded text-emerald-300 text-[9.5px] sm: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-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-4 sm:p-6 md:p-8 shadow-xs transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">+ <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-5 sm: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-2">- <span class="px-2 py-0.5 text-[9.5px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">+ <div class="flex items-center gap-2 mb-2.5">+ <span class="px-2.5 py-0.5 text-[10px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">{bento.card3.badge}</span>- <span class="text-slate-400 text-[10px] sm:text-xs font-mono">Cloudflare Native</span>+ <span class="text-slate-400 text-[11px] sm:text-xs font-mono">Cloudflare Native</span></div>- <h3 class="text-base sm:text-xl font-bold text-slate-900 tracking-tight">+ <h3 class="text-lg sm:text-xl font-bold text-slate-900 tracking-tight">{bento.card3.title}</h3>- <p class="text-slate-600 text-[11.5px] sm:text-sm mt-1.5 sm:mt-2 leading-relaxed">+ <p class="text-slate-600 text-xs sm: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-3 sm:p-4 mt-3 sm:mt-6 flex items-center justify-between">+ <div class="relative w-full rounded-xl border border-emerald-100 bg-emerald-50/60 p-3.5 sm:p-4 mt-4 sm:mt-6 flex items-center justify-between"><div>- <div class="text-lg sm:text-2xl md:text-3xl font-extrabold text-emerald-800">{bento.card3.price} <span class="text-[10px] sm:text-xs font-medium text-emerald-600">{bento.card3.unit}</span></div>- <div class="text-[10px] sm:text-[11px] font-medium text-emerald-700 mt-0.5">{bento.card3.sub}</div>+ <div class="text-xl sm: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-[10.5px] sm:text-[11px] font-medium text-emerald-700 mt-0.5">{bento.card3.sub}</div></div><div class="text-right">- <div class="text-sm sm:text-lg font-bold text-slate-800">{bento.card3.metric}</div>- <div class="text-[9px] sm:text-[10px] text-slate-500">{bento.card3.metricSub}</div>+ <div class="text-base sm:text-lg font-bold text-slate-800">{bento.card3.metric}</div>+ <div class="text-[9.5px] sm: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-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-4 sm:p-6 md:p-8 shadow-xs transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">+ <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-5 sm: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-2">- <span class="px-2 py-0.5 text-[9.5px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">+ <div class="flex items-center gap-2 mb-2.5">+ <span class="px-2.5 py-0.5 text-[10px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">{bento.card4.badge}</span>- <span class="text-slate-400 text-[10px] sm:text-xs font-mono truncate">Substack / 微信</span>+ <span class="text-slate-400 text-[11px] sm:text-xs font-mono truncate">Substack / 微信</span></div>- <h3 class="text-base sm:text-xl font-bold text-slate-900 tracking-tight">+ <h3 class="text-lg sm:text-xl font-bold text-slate-900 tracking-tight">{bento.card4.title}</h3>- <p class="text-slate-600 text-[11.5px] sm:text-sm mt-1.5 sm:mt-2 leading-relaxed">+ <p class="text-slate-600 text-xs sm: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-2 sm:p-3 mt-3 sm:mt-6 flex flex-col gap-1.5 sm:gap-2">- <div class="flex items-center justify-between text-[9px] sm:text-[10px] text-slate-500 font-mono border-b border-slate-200 pb-1">+ <div class="relative w-full rounded-xl border border-slate-200 bg-slate-50 p-2.5 sm:p-3 mt-4 sm:mt-6 flex flex-col gap-2">+ <div class="flex items-center justify-between text-[9.5px] sm:text-[10px] text-slate-500 font-mono border-b border-slate-200 pb-1"><span class="truncate">{bento.card4.srcTag}</span><span class="text-emerald-600 font-bold flex items-center gap-1 shrink-0"><Icon name="bx:bx-copy" class="w-3 h-3" /> {bento.card4.actionBtn}</span></div>- <div class="bg-white p-2 sm:p-2.5 rounded border border-slate-200 text-[10px] sm:text-[11px] text-slate-800 leading-snug">+ <div class="bg-white p-2 sm:p-2.5 rounded border border-slate-200 text-[10.5px] sm:text-[11px] text-slate-800 leading-snug"><span class="font-bold text-emerald-800 truncate block">{bento.card4.previewTitle}</span>- <p class="text-slate-600 text-[9px] sm:text-[10px] mt-0.5 sm:mt-1">{bento.card4.previewBody}</p>+ <p class="text-slate-600 text-[9.5px] sm: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-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-4 sm:p-6 md:p-8 shadow-xs transition-all duration-300 hover:shadow-xl hover:border-emerald-500/40 flex flex-col justify-between">+ <div class="group relative overflow-hidden rounded-2xl sm:rounded-3xl border border-slate-200/90 bg-white p-5 sm: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-2">- <span class="px-2 py-0.5 text-[9.5px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">+ <div class="flex items-center gap-2 mb-2.5">+ <span class="px-2.5 py-0.5 text-[10px] sm:text-[11px] font-bold text-emerald-700 bg-emerald-100/70 rounded-md">{bento.card5.badge}</span>- <span class="text-slate-400 text-[10px] sm:text-xs font-mono">SQLite + ZIP</span>+ <span class="text-slate-400 text-[11px] sm:text-xs font-mono">SQLite + ZIP</span></div>- <h3 class="text-base sm:text-xl font-bold text-slate-900 tracking-tight">+ <h3 class="text-lg sm:text-xl font-bold text-slate-900 tracking-tight">{bento.card5.title}</h3>- <p class="text-slate-600 text-[11.5px] sm:text-sm mt-1.5 sm:mt-2 leading-relaxed">+ <p class="text-slate-600 text-xs sm: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-2 sm:p-3 mt-3 sm:mt-6 flex items-center gap-2 sm:gap-3">- <div class="h-8 w-8 sm:h-10 sm:w-10 shrink-0 grid place-items-center rounded-lg bg-emerald-600 text-white shadow-xs">- <Icon name="bx:bx-archive-in" class="w-3.5 h-3.5 sm:w-5 sm:h-5" />+ <div class="relative w-full rounded-xl border border-slate-200 bg-slate-50 p-2.5 sm:p-3 mt-4 sm:mt-6 flex items-center gap-2.5 sm:gap-3">+ <div class="h-9 w-9 sm:h-10 sm: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-4 h-4 sm:w-5 sm:h-5" /></div>- <div class="overflow-hidden text-[10px] sm:text-[11px]">+ <div class="overflow-hidden text-[10.5px] sm:text-[11px]"><div class="font-bold text-slate-800 truncate">{bento.card5.archiveTitle}</div>- <div class="text-[9px] sm:text-[10px] text-slate-500 truncate">{bento.card5.archiveSub}</div>+ <div class="text-[9.5px] sm:text-[10px] text-slate-500 truncate">{bento.card5.archiveSub}</div></div></div></div>diff --git a/apps/site/src/components/hero.astro b/apps/site/src/components/hero.astroindex 95cf7993..12f0d43d 100644--- a/apps/site/src/components/hero.astro+++ b/apps/site/src/components/hero.astro@@ -12,26 +12,26 @@ const copy = siteCopy[locale].hero;const agentPromptText = copy.agentPromptText;----<main class="relative grid gap-6 lg:gap-10 lg:grid-cols-2 place-items-center pt-3 pb-8 md:pt-10 md:pb-16 overflow-hidden max-w-full">+<main class="relative grid gap-8 lg:gap-10 lg:grid-cols-2 place-items-center pt-4 pb-10 md:pt-10 md:pb-16 overflow-hidden max-w-full"><!-- Background Glow Orbs & Meteors Container --><div class="absolute inset-0 overflow-hidden pointer-events-none z-0">- <div class="absolute top-0 left-1/4 w-[240px] sm:w-[450px] h-[240px] sm:h-[450px] bg-brand/10 rounded-full blur-3xl animate-slow-spin"></div>- <div class="absolute bottom-0 right-1/4 w-[200px] sm:w-[380px] h-[200px] sm:h-[380px] bg-emerald-400/10 rounded-full blur-3xl animate-float"></div>- <Meteors number={10} client:load />+ <div class="absolute top-0 left-1/4 w-[280px] sm:w-[450px] h-[280px] sm:h-[450px] bg-brand/10 rounded-full blur-3xl animate-slow-spin"></div>+ <div class="absolute bottom-0 right-1/4 w-[240px] sm:w-[380px] h-[240px] sm:h-[380px] bg-emerald-400/10 rounded-full blur-3xl animate-float"></div>+ <Meteors number={12} client:load /></div><div class="relative z-20 w-full max-w-full flex flex-col items-start min-w-0">{copy.badgeText && (<ahref={`${getLocalizedPath(locale, "/")}blog?tag=migration`}- class="animate-rise flex items-center gap-1.5 max-w-full min-w-0 px-2.5 sm:px-3.5 py-1 mb-4 md:mb-6 text-[10.5px] sm: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 flex items-center gap-2 max-w-full min-w-0 px-3.5 py-1.5 mb-5 md: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-1.5 w-1.5 sm:h-2 sm:w-2 shrink-0">+ <span class="relative flex h-2 w-2 shrink-0"><span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-brand opacity-75"></span>- <span class="relative inline-flex rounded-full h-1.5 w-1.5 sm:h-2 sm:w-2 bg-brand"></span>+ <span class="relative inline-flex rounded-full h-2 w-2 bg-brand"></span></span>- <span class="text-slate-600 font-medium group-hover/badge:text-brand transition-colors text-[10.5px] sm:text-xs truncate min-w-0 flex-1">+ <span class="text-slate-600 font-medium group-hover/badge:text-brand transition-colors text-[11px] sm:text-xs truncate min-w-0 flex-1"><span class="hidden sm:inline">{copy.badgeText}</span><span class="inline sm:hidden">{locale === 'zh-CN' ? '💡 印象笔记 / Notion 零成本平替,双 MCP 搬家' : '💡 Serverless Evernote Alternative'}</span></span>@@ -41,56 +41,52 @@ const agentPromptText = copy.agentPromptText;</a>)}- <!-- Mobile Typography Scale: Refined 26px - 32px on Mobile, 48px - 64px on Desktop -->- <h1 class="animate-rise text-2xl sm:text-4xl md:text-5xl xl:text-6xl font-extrabold text-slate-900 leading-[1.2] sm:leading-[1.18] tracking-tight max-w-full" style="animation-delay: 80ms;">+ <h1 class="animate-rise text-3xl sm:text-4xl md:text-5xl xl:text-6xl font-extrabold text-slate-900 leading-[1.18] tracking-tight max-w-full" style="animation-delay: 80ms;"><span class="text-gradient">EdgeEver</span>- <div class="mt-2 sm:mt-3 flex flex-wrap items-center gap-1.5 sm:gap-2 max-w-full">- <span class="inline-block px-2 py-0.5 sm:px-3 sm:py-1 bg-emerald-600 text-white rounded-md sm:rounded-lg text-xs sm:text-lg md:text-xl font-bold -rotate-1 shadow-xs sm:shadow-md animate-pop">+ <div class="mt-2.5 sm:mt-3 flex flex-wrap items-center gap-2 max-w-full">+ <span class="inline-block px-2.5 py-1 bg-emerald-600 text-white rounded-lg text-base sm:text-lg md:text-xl font-bold -rotate-1 shadow-md animate-pop">{copy.popHighlight}</span></div>- <span class="hero-slogan block mt-2.5 sm:mt-4 max-w-xl text-xs sm:text-base md:text-xl font-normal leading-relaxed text-slate-600">{copy.slogan}</span>+ <span class="hero-slogan block mt-3 sm:mt-4 max-w-xl text-base sm:text-lg md:text-xl font-normal leading-relaxed text-slate-600">{copy.slogan}</span></h1>- <!-- Mobile Refined Button Scale: Grid on Mobile (10px - 12px text), Flex Row on Desktop -->- <div class="animate-rise mt-5 sm:mt-8 w-full sm:w-auto max-w-full z-20" style="animation-delay: 160ms;">- <!-- Mobile Layout: 2 Top Buttons + 1 Full Width Bottom Button -->- <div class="grid grid-cols-2 sm:flex sm:flex-row items-center gap-2 sm:gap-3 w-full">- <Link- href="https://demo.edgeever.org"- target="_blank"- class="group flex gap-1.5 items-center justify-center h-10 sm:h-12 px-3 sm:px-6 text-white bg-brand border-transparent shadow-xs hover:bg-brand-hover active:scale-[0.98] transition-all rounded-full font-semibold text-xs sm:text-sm text-center"- rel="noopener">- <Icon class="w-3.5 h-3.5 sm:w-4 sm:h-4 shrink-0" name="bx:bx-show" />- <span class="truncate">{copy.demo}</span>- </Link>- <Link- size="lg"- style="outline"- rel="noopener"- href="https://github.com/tianma-if/edgeever"- class="flex gap-1.5 items-center justify-center h-10 sm:h-12 px-3 sm:px-6 border border-slate-200 hover:border-slate-400 bg-white/80 backdrop-blur-sm text-slate-800 active:scale-[0.98] transition-all rounded-full font-semibold text-xs sm:text-sm text-center"- target="_blank">- <Icon class="text-slate-800 w-3.5 h-3.5 sm:w-4 sm:h-4 shrink-0" name="bx:bxl-github" />- <span class="truncate">GitHub Star</span>- </Link>- <a- rel="noopener"- href={getLocalizedPath(locale, "/blog/ai-agent-deploy-cloudflare")}- class="col-span-2 sm:col-span-1 flex gap-1.5 items-center justify-center h-10 sm:h-12 px-4 sm:px-5 bg-brand/5 border border-brand/20 hover:border-brand/40 text-brand-text hover:bg-brand/10 active:scale-[0.98] transition-all rounded-full font-semibold text-xs sm:text-sm text-center"- >- <Icon class="w-3.5 h-3.5 sm:w-4 sm:h-4 shrink-0" name="simple-icons:cloudflare" />- <span class="truncate">{copy.agentInstall}</span>- </a>- </div>+ <!-- Primary Action Buttons (Mobile 44px+ touch targets) -->+ <div class="animate-rise mt-6 sm:mt-8 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 w-full sm:w-auto max-w-full z-20" style="animation-delay: 160ms;">+ <Link+ href="https://demo.edgeever.org"+ target="_blank"+ class="group flex gap-2 items-center justify-center min-h-[44px] 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 active:scale-[0.99] transition-all duration-300 hover:-translate-y-0.5 rounded-full font-bold text-sm w-full sm:w-auto text-center"+ rel="noopener">+ <Icon class="w-4 h-4" name="bx:bx-show" />+ <span>{copy.demo}</span>+ </Link>+ <Link+ size="lg"+ style="outline"+ rel="noopener"+ href="https://github.com/tianma-if/edgeever"+ class="flex gap-2 items-center justify-center min-h-[44px] px-6 py-3 border border-slate-200 hover:border-slate-400 bg-white/80 backdrop-blur-sm text-slate-800 active:scale-[0.99] transition-all rounded-full font-bold text-sm hover:-translate-y-0.5 w-full sm:w-auto text-center"+ target="_blank">+ <Icon class="text-slate-800 w-4 h-4" name="bx:bxl-github" />+ <span>GitHub Star</span>+ </Link>+ <a+ rel="noopener"+ href={getLocalizedPath(locale, "/blog/ai-agent-deploy-cloudflare")}+ class="flex gap-2 items-center justify-center min-h-[44px] px-5 py-3 bg-brand/5 border border-brand/20 hover:border-brand/40 text-brand-text hover:bg-brand/10 active:scale-[0.99] transition-all rounded-full font-bold text-sm hover:-translate-y-0.5 w-full sm:w-auto text-center"+ >+ <Icon class="w-4 h-4" name="simple-icons:cloudflare" />+ <span>{copy.agentInstall}</span>+ </a></div>- <!-- Agent Terminal Prompt Pill (Desktop & Mobile Ergonomic Scale) -->- <div class="animate-rise mt-4 sm:mt-6 w-full max-w-full sm:max-w-lg z-30 relative" style="animation-delay: 240ms;">+ <!-- Agent Terminal Prompt Pill (Desktop & Mobile Ergonomic Touch Bar) -->+ <div class="animate-rise mt-6 w-full max-w-full sm: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 w-full max-w-full">+ <div class="flex flex-col gap-1.5 w-full max-w-full"><!-- Desktop Pill --><buttontype="button"@@ -113,54 +109,54 @@ const agentPromptText = copy.agentPromptText;</span></button>- <!-- Mobile Touch Refined Copy Card (Compact 10px - 11px scale) -->+ <!-- Mobile Touch Optimized Copy Card --><buttontype="button"id="copy-agent-prompt-mobile"- class="group relative flex sm:hidden items-center justify-between gap-2 w-full rounded-xl border border-slate-200/90 bg-white/95 p-2.5 shadow-2xs active:scale-[0.98] transition-all cursor-pointer text-left select-none z-30"+ class="group relative flex sm:hidden items-center justify-between gap-2.5 w-full rounded-2xl border border-slate-200/90 bg-white/95 p-3 shadow-xs active:scale-[0.99] transition-all cursor-pointer text-left select-none z-30"><div class="flex items-center gap-2 overflow-hidden pointer-events-none min-w-0 flex-1">- <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" 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>- <div class="flex flex-col min-w-0 flex-1">- <span class="text-[11.5px] font-bold text-slate-800 truncate">+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" 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>+ <div class="flex flex-col min-w-0">+ <span class="text-xs font-bold text-slate-800 truncate">{locale === 'zh-CN' ? '复制 AI 自动化部署 Prompt' : 'Copy AI Deployment Prompt'}</span>- <span class="text-[9.5px] text-slate-500 font-mono truncate">+ <span class="text-[10px] text-slate-500 font-mono truncate">{copy.terminalCmd}</span></div></div>- <span class="mobile-copy-badge shrink-0 px-2.5 py-1 bg-emerald-50 text-emerald-700 font-bold text-[10.5px] rounded-lg border border-emerald-200/80 flex items-center gap-1">- <svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" 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 class="mobile-copy-badge shrink-0 px-3 py-1.5 bg-emerald-50 text-emerald-700 font-bold text-xs rounded-xl border border-emerald-200/80 flex items-center gap-1">+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" 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>{locale === 'zh-CN' ? '一键复制' : 'Copy'}</span></span></button>- <span class="text-[10px] sm:text-[11.5px] text-slate-500 pl-1 sm:pl-4 font-medium select-none truncate max-w-full">{copy.terminalSub}</span>+ <span class="text-[10.5px] sm:text-[11.5px] text-slate-600 pl-2 sm:pl-4 font-medium select-none truncate max-w-full">{copy.terminalSub}</span></div></div></div><!-- macOS Browser Window Mockup (Pireel style) -->- <div class="animate-rise w-full max-w-full relative z-10 flex justify-center lg:justify-end mt-3 sm:mt-4 lg:mt-0" style="animation-delay: 320ms;">+ <div class="animate-rise w-full max-w-full relative z-10 flex justify-center lg:justify-end mt-4 lg:mt-0" style="animation-delay: 320ms;"><div class="relative w-full max-w-full sm: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-xl sm:rounded-2xl blur-xl opacity-70"></div>+ <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-xl sm:rounded-2xl border border-slate-200/80 bg-white shadow-lg sm:shadow-2xl overflow-hidden max-w-full">+ <div class="relative rounded-2xl border border-slate-200/80 bg-white shadow-xl sm:shadow-2xl overflow-hidden max-w-full"><!-- macOS Top Header Bar -->- <div class="flex items-center justify-between border-b border-slate-100 bg-slate-50/90 px-3 py-1.5 sm:py-2 backdrop-blur-sm">- <div class="flex items-center gap-1 sm:gap-1.5">- <span class="h-2 w-2 sm:h-3 sm:w-3 rounded-full bg-[#ff5f57] inline-block"></span>- <span class="h-2 w-2 sm:h-3 sm:w-3 rounded-full bg-[#febc2e] inline-block"></span>- <span class="h-2 w-2 sm:h-3 sm:w-3 rounded-full bg-[#28c840] inline-block"></span>+ <div class="flex items-center justify-between border-b border-slate-100 bg-slate-50/90 px-3.5 py-2 backdrop-blur-sm">+ <div class="flex items-center gap-1.5">+ <span class="h-2.5 w-2.5 sm:h-3 sm:w-3 rounded-full bg-[#ff5f57] inline-block"></span>+ <span class="h-2.5 w-2.5 sm:h-3 sm:w-3 rounded-full bg-[#febc2e] inline-block"></span>+ <span class="h-2.5 w-2.5 sm:h-3 sm:w-3 rounded-full bg-[#28c840] inline-block"></span></div>- <div class="flex items-center gap-1 rounded-full bg-slate-200/60 px-2 py-0.5 text-center font-mono text-[9.5px] sm:text-[11px] text-slate-500 font-medium">- <svg xmlns="http://www.w3.org/2000/svg" width="9" height="9" 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>+ <div class="flex items-center gap-1 rounded-full bg-slate-200/60 px-2.5 py-0.5 text-center font-mono text-[10px] sm: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-6 sm:w-10"></div>+ <div class="w-8 sm:w-10"></div></div><!-- Product Image Preview -->@@ -220,7 +216,7 @@ const agentPromptText = copy.agentPromptText;if (btn) btn.classList.add("border-emerald-500", "bg-emerald-50");if (tooltip) tooltip.classList.remove("hidden");if (mobileBadge) {- mobileBadge.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" 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><span>已复制</span>';+ mobileBadge.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" 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><span>已复制</span>';mobileBadge.classList.add("bg-emerald-600", "text-white");}if (iconContainer) {@@ -230,11 +226,11 @@ const agentPromptText = copy.agentPromptText;if (btn) btn.classList.remove("border-emerald-500", "bg-emerald-50");if (tooltip) tooltip.classList.add("hidden");if (mobileBadge) {- mobileBadge.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" 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>';+ mobileBadge.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" 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>';mobileBadge.classList.remove("bg-emerald-600", "text-white");}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"><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>';+ 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);}