📋 关于此页面
这是新的广告演示系统,使用 AdRenderer 组件 和 JSON 数据驱动。
- ✅ 模板统一: Astro 预览和 Edge Functions 使用相同的渲染函数
- ✅ 数据驱动: 所有样式从 JSON 配置,无需手写 HTML
- ✅ 支持 HTML: 标题、描述、特性都支持 HTML 样式
- ✅ 深色模式: 支持独立的 dark logo
数据来源: docs/ads-kv-example-v2.json
中文广告 - 主样式 (Chinese Ads - Primary Style)
Mac 原生 AI 客户端:聚合 GPT、Claude 及本地模型
SponsorBoltAI 将 GPT、Claude、Gemini 和 Ollama 本地模型集成到你的工作流中。支持屏幕感知与代码重构,真正属于开发者的原生神器。
BoltAI - 开发者的 AI 神器
Sponsor原生 macOS 应用,无缝整合多个 AI 模型。一键重构代码,智能理解屏幕内容,让 AI 真正成为你的编程助手。
Proxyman - 原生 macOS 网络调试代理
Sponsor告别手动证书配置。Proxyman 使用 Atlantis 框架自动捕获和解密 HTTPs 流量。原生应用,高性能,专为 Apple Silicon 打造。
示例产品 - 无促销活动
Sponsor这是一个没有特殊促销信息的广告示例。依然保持简洁优雅的展示效果。
中文广告 - 副样式 (Chinese Ads - Secondary Style)
暂无副样式广告
英文广告 - 主样式 (English Ads - Primary Style)
Native macOS AI Client: GPT, Claude, Gemini & Local Models
SPONSORBoltAI integrates GPT, Claude, Gemini, and Ollama local models directly into your workflow. Features screen context awareness and code refactoring — built for developers.
BoltAI - AI Assistant for Developers
SPONSORNative macOS app that brings multiple AI models to your fingertips. Refactor code with one click, understand screen context intelligently.
Native macOS Web Debugging Proxy
SPONSORStop manual certificate configuration. Proxyman uses the Atlantis framework to capture and decrypt HTTPs traffic automatically. Native, high-performance, and built for Apple Silicon.
Example Product - No Promotion
SPONSORThis is an example ad without special promotional features. Still maintains a clean and elegant display.
英文广告 - 副样式 (English Ads - Secondary Style)
No secondary style ads available
默认广告 (Default Fallback Ads)
在此投放广告,触达 Swift 开发者
示例赞助商在博客和周刊中推广您的框架、工具、服务或应用,精准触达高度专注的 iOS 和 Swift 开发者受众。
Reach Swift Developers. Share Your Product.
Example SponsorPromote your framework, tool, service, or app to a highly targeted iOS & Swift developer audience across blog and newsletter placements.
🔧 技术架构
functions/_shared/ad-renderer.js → renderAd(adData, lang)
src/components/widgets/AdRenderer.astro
http://localhost:8089/test-ad-render?variant=0&lang=zh
- 实现 /ads-v2 Edge Function (带日期调度逻辑)
- 在 KV 中存储广告数据
- 更新前端 AdsLoader 调用新 API