From 1f8bcde09a4fc003b099d0d5e97fa8fc0f664198 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Mon, 27 Jul 2026 17:38:12 +0800 Subject: [PATCH] =?UTF-8?q?style(site):=20=E7=B2=BE=E7=BB=86=E5=8C=96?= =?UTF-8?q?=E8=B0=83=E6=A0=A1=20AI=20=E9=83=A8=E7=BD=B2=E5=BC=95=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=88=E4=B8=8E=E5=BA=95=E9=83=A8=20Visa=20?= =?UTF-8?q?=E7=BB=91=E5=8D=A1=E6=8F=90=E7=A4=BA=E6=A1=86=E5=AD=97=E5=8F=B7?= =?UTF-8?q?=E4=B8=8E=E8=A7=86=E8=A7=89=E9=98=B6=E6=A2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 上方引导文案:字号从臃肿的 18px 精简为标准的 14px-16px 优雅字号,并对 GitHub、Cloudflare MCP、Codex、Cursor 等工具名词引入微型白底高对比度徽章,提升排版层次; - 底部 Visa 绑卡提示卡片:优化内边距与字体阶梯,对 R2、D1、Worker、Visa 卡等关键要素进行琥珀色代码徽章与加粗高亮,摆脱泥沙感。 --- .../src/components/agent-install-tabs.astro | 68 +++++++++++++------ 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/apps/site/src/components/agent-install-tabs.astro b/apps/site/src/components/agent-install-tabs.astro index fee30f77..98388eb9 100644 --- a/apps/site/src/components/agent-install-tabs.astro +++ b/apps/site/src/components/agent-install-tabs.astro @@ -16,15 +16,11 @@ const copy = isEnglish oneClickGuide: "Open the online deployment guide", oneClickGuideHref: "https://github.com/tianma-if/edgeever/blob/main/docs/deploy-cloudflare-button.md", - agentIntro: - "Copy the prompt below to an AI Agent configured with GitHub and Cloudflare MCP servers, plugins, or other integrations (such as Codex, Claude, Cursor, Antigravity, OpenClaw, Hermes Agent, etc.):", promptLabel: "PROMPT", copyPrompt: "Copy prompt", copying: "Copying...", copied: "Copied", copyFailed: "Copy failed", - billingNotice: - "Heads up: Cloudflare R2, D1, and Workers may ask you to add a Visa card even when you use the free quotas.", promptText: "Deploy EdgeEver online:\n1. Fork https://github.com/tianma-if/edgeever.\n2. Import the Fork into Cloudflare Workers & Pages.\n3. Configure D1 DB, R2 RESOURCES, the EDGE_EVER_AUTH_PASSWORD Worker Secret, and Workers Builds using docs/agent-deploy-cloudflare.md.\n4. Start the first build, verify the health endpoint and login, then run Update deployed EdgeEver once.", } @@ -38,33 +34,30 @@ const copy = isEnglish oneClickGuide: "查看在线部署文档", oneClickGuideHref: "https://github.com/tianma-if/edgeever/blob/main/docs/deploy-cloudflare-button.zh-CN.md", - agentIntro: "将下方提示词直接复制发送给已配置 GitHub、Cloudflare MCP/插件或其他可用集成的 AI Agent(如 Codex, Claude, Cursor, Antigravity, OpenClaw, Hermes Agent 等):", promptLabel: "PROMPT", copyPrompt: "复制提示词", copying: "复制中...", copied: "已复制", copyFailed: "复制失败", - billingNotice: - "提示:Cloudflare 的 R2、D1 和 Worker 即使使用免费额度,开通或使用时也可能要求绑定 Visa 卡。国内用户可考虑使用招商银行多币种卡绑定。", promptText: "请在线完成 EdgeEver 部署:\n1. Fork https://github.com/tianma-if/edgeever。\n2. 将这个 Fork 导入 Cloudflare Workers & Pages。\n3. 按照 docs/agent-deploy-cloudflare.zh-CN.md 配置 D1 DB、R2 RESOURCES、EDGE_EVER_AUTH_PASSWORD Worker Secret 和 Workers Builds。\n4. 启动首次构建,验证健康检查和登录,然后手动运行一次 Update deployed EdgeEver。", }; ---
-

{copy.chooseOne}

+

{copy.chooseOne}

-