index.html
catalog.js
wrangler.toml
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Grok vs AGY Showcase</title>
6 <link rel="stylesheet" href="style.css">
7</head>
8<body class="bg-slate-900 text-slate-100">
9 <nav class="nav-bar flex items-center justify-between px-6 py-4">
10 <span class="brand-title">Benchmark Arena</span>
11 </nav>
12
13 <!-- Hero Section Optimization -->
14<section class="hero-old text-center py-8"><h1>Old Static Layout</h1></section>
15<section class="hero grid grid-cols-2 gap-8 items-center py-16 px-8 max-w-7xl mx-auto">
16 <h1 class="text-4xl font-extrabold tracking-tight bg-gradient-to-r from-blue-400 to-emerald-400 bg-clip-text">Grok vs AGY 3.0</h1>
17 <div id="comparison-cards" class="grid grid-cols-2 gap-4 mt-6"></div>
18</section>
19<script src="catalog.js"></script>
20</body>
21</html>
1// Benchmark Catalog Loader
2const MODELS = ['Grok-2', 'AGY-3.0'];
3
4export async function renderCatalog() {
5 const res = await fetch('/api/scores');
6 const data = await res.json();
7 console.log('Loaded metrics:', data);
8}
1name = "grok-vs-agy-30"
2main = "src/index.js"
3compatibility_date = "2026-08-20"
4
5[site]
6bucket = "./docs"
Agent Execution Pipeline Step 2 of 3 Active
✓
读 prompt.txt
解析优化需求并提取 Hero 布局结构要求
已完成
生成 HTML
重构双栏响应式网格与渐变标题排版
47% 正在生成...
⏸
写到 m3.html
持久化变更并触发实时热更新校验
待执行
Changes Diff (index.html:14-16) -1 / +2 lines
- <section class="hero-old text-center py-8"><h1>Old Static Layout</h1></section>
+ <section class="hero grid grid-cols-2 gap-8 items-center py-16 px-8 max-w-7xl mx-auto">
+ <h1 class="text-4xl font-extrabold tracking-tight bg-gradient-to-r from-blue-400 to-emerald-400 bg-clip-text">Grok vs AGY 3.0</h1>
YOU 请帮我优化 hero 区排版