-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
385 lines (378 loc) · 19.1 KB
/
Copy pathsample.html
File metadata and controls
385 lines (378 loc) · 19.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Follow Builders Digest Sample V2</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;800&family=Playfair+Display:wght@600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0d14;
--bg-2: #101522;
--panel: rgba(255,255,255,0.06);
--panel-strong: rgba(255,255,255,0.1);
--text: #f6f7fb;
--muted: #aab3c5;
--soft: #dbe3f3;
--line: rgba(255,255,255,0.1);
--accent: #9ec5ff;
--accent-2: #7af0d2;
--accent-3: #ffd58a;
--shadow: 0 24px 80px rgba(0,0,0,0.36);
--radius-xl: 30px;
--radius-lg: 22px;
--radius-md: 16px;
--title: clamp(2.4rem, 7vw, 5.8rem);
--h2: clamp(1.5rem, 3.4vw, 2.8rem);
--h3: clamp(1rem, 2vw, 1.35rem);
--body: clamp(0.92rem, 1.25vw, 1.06rem);
--small: clamp(0.72rem, 0.9vw, 0.82rem);
--pad: clamp(1rem, 4vw, 4rem);
--gap: clamp(0.9rem, 1.8vw, 1.5rem);
--ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow-x: hidden; }
html { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
body {
font-family: "Inter", "Noto Sans SC", sans-serif;
color: var(--text);
background:
radial-gradient(circle at 15% 10%, rgba(122,240,210,0.12), transparent 22%),
radial-gradient(circle at 85% 15%, rgba(158,197,255,0.14), transparent 20%),
radial-gradient(circle at 80% 85%, rgba(255,213,138,0.08), transparent 20%),
linear-gradient(180deg, #0a0d14 0%, #0d1220 55%, #0a0d14 100%);
}
.slide {
width: 100vw; height: 100vh; height: 100dvh;
scroll-snap-align: start;
position: relative;
overflow: hidden;
display: flex;
align-items: stretch;
justify-content: stretch;
}
.wrap {
width: 100%; height: 100%; padding: var(--pad);
display: flex; flex-direction: column; gap: var(--gap);
position: relative; z-index: 2;
}
.chrome {
display: flex; justify-content: space-between; align-items: center;
font-size: var(--small); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.badge {
display: inline-flex; align-items: center; gap: 0.55rem;
padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
background: rgba(255,255,255,0.04); backdrop-filter: blur(10px);
}
.badge::before {
content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px rgba(122,240,210,0.5);
}
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 50; background: rgba(255,255,255,0.06); }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px rgba(158,197,255,0.45); }
.nav-dots {
position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
display: flex; flex-direction: column; gap: 10px;
}
.nav-dots button {
width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
background: rgba(255,255,255,0.16); transition: all .25s var(--ease);
}
.nav-dots button.active { background: var(--accent); transform: scale(1.35); }
h1, h2, h3 { line-height: 0.96; letter-spacing: -0.03em; }
h1 { font-size: var(--title); font-weight: 800; max-width: 10ch; }
h2 { font-size: var(--h2); font-weight: 800; max-width: 12ch; }
h3 { font-size: var(--h3); font-weight: 700; }
p, li { font-size: var(--body); line-height: 1.62; color: var(--muted); }
.serif { font-family: "Playfair Display", serif; font-weight: 700; }
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 58ch; color: var(--soft); }
.hero-grid, .split, .cards, .duo { display: grid; gap: var(--gap); }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; margin-top: auto; margin-bottom: auto; }
.split { grid-template-columns: 1fr 1fr; }
.duo { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
.panel {
background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-xl);
box-shadow: var(--shadow); backdrop-filter: blur(14px);
padding: clamp(1rem, 2vw, 1.45rem);
}
.panel-strong {
background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
border: 1px solid rgba(255,255,255,0.12);
}
.hero-title { display: flex; flex-direction: column; gap: 1rem; }
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.kpi .item {
border-radius: var(--radius-lg); padding: 1rem;
background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.kpi .label { font-size: var(--small); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.kpi .num { margin-top: 0.4rem; font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 800; color: var(--text); }
.quote {
padding-left: 1.1rem; border-left: 4px solid var(--accent);
font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.5; color: var(--soft);
}
.section-label {
color: var(--accent-2); font-size: var(--small); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
}
.takeaways { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.takeaways li { position: relative; padding-left: 1.1rem; }
.takeaways li::before {
content: ""; position: absolute; left: 0; top: 0.72em; width: 0.42rem; height: 0.42rem;
border-radius: 50%; background: var(--accent-2);
}
.article-card { display: flex; flex-direction: column; gap: 0.7rem; min-height: 0; }
.article-card .meta { font-size: var(--small); color: var(--muted); }
.article-card .snippet {
color: var(--soft); background: rgba(255,255,255,0.03); border-radius: var(--radius-md);
padding: 0.85rem; border: 1px solid rgba(255,255,255,0.06);
}
a { color: var(--accent); text-decoration: none; }
.big-statement {
font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; color: var(--text); max-width: 18ch;
}
.footer-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-top: auto; }
.muted-box {
padding: 1rem 1.1rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.visible .reveal { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2){transition-delay:.06s}.reveal:nth-child(3){transition-delay:.12s}.reveal:nth-child(4){transition-delay:.18s}
@media (max-width: 860px) {
.hero-grid, .split, .cards, .duo, .kpi { grid-template-columns: 1fr; }
.nav-dots { display: none; }
h1 { max-width: 12ch; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .2s !important; }
html { scroll-behavior: auto; }
}
</style>
</head>
<body>
<div class="progress"><div id="bar"></div></div>
<nav class="nav-dots" id="dots"></nav>
<section class="slide">
<div class="wrap">
<div class="chrome reveal">
<span class="badge">AI Builders Digest</span>
<span>Sample v2 · Editorial Web Slides</span>
</div>
<div class="hero-grid">
<div class="hero-title">
<div class="section-label reveal">Follow builders, not influencers</div>
<h1 class="reveal">把摘要做成一份真正值得读完的网页简报</h1>
<p class="lead reveal">这版不再是功能展示,而是朝着「精美、克制、易读」的 briefing deck 去做。重点不是花,而是让人愿意顺着读下去。</p>
</div>
<div class="panel panel-strong reveal">
<div class="kpi">
<div class="item"><div class="label">Podcast</div><div class="num">1</div></div>
<div class="item"><div class="label">Builders</div><div class="num">16</div></div>
<div class="item"><div class="label">Focus</div><div class="num">Trust</div></div>
</div>
<div style="height:1px;background:var(--line);margin:1rem 0;"></div>
<p>今天最强的主线,不是谁更会说,而是:<span class="serif">AI 产品正在从功能演示,转向可信托付与快速验证。</span></p>
</div>
</div>
<div class="footer-row reveal">
<div class="muted-box">Single HTML · Inline CSS/JS · Keyboard / Wheel / Touch Navigation</div>
<div style="color:var(--muted);font-size:var(--small);letter-spacing:.14em;text-transform:uppercase;">01 / 06</div>
</div>
</div>
</section>
<section class="slide">
<div class="wrap">
<div class="chrome reveal"><span class="section-label">Topline</span><span>02 / 06</span></div>
<div class="split" style="margin-top:auto;margin-bottom:auto;">
<div class="panel panel-strong reveal">
<h2>今天最值得记住的,不是模型更强,而是产品边界更清楚</h2>
<p style="margin-top:1rem;">这一批内容的真正共同点,不在于“又多了什么能力”,而在于大家开始反复强调两个更硬的东西:</p>
<ul class="takeaways" style="margin-top:1rem;">
<li>你是否敢把任务真正交给 agent 去做</li>
<li>你是否能用更短反馈回路持续验证价值</li>
<li>复杂架构是否真的比简单可运行版本更值得存在</li>
</ul>
</div>
<div class="panel reveal" style="display:flex;flex-direction:column;justify-content:center;gap:1rem;">
<div class="quote">能力演示已经不稀缺。真正开始稀缺的是:<span class="serif">可信执行的边界</span>,以及<span class="serif">更快进入现实验证</span>的能力。</div>
<p>这也是为什么这种 digest 不该只是资讯堆叠。它更适合被做成:一份能帮人抓主线、压缩噪音、留下判断锚点的简报。</p>
</div>
</div>
</div>
</section>
<section class="slide">
<div class="wrap">
<div class="chrome reveal"><span class="section-label">Podcast Signal</span><span>03 / 06</span></div>
<div class="duo" style="margin-top:auto;margin-bottom:auto;align-items:stretch;">
<div class="panel panel-strong reveal">
<div class="section-label">Latent Space</div>
<h2 style="margin-top:.55rem;max-width:14ch;">Dreamer: the Agent OS for Everyone</h2>
<p style="margin-top:1rem;">David Singleton 这期里,最值得抓住的不是具体 feature,而是 agent 产品成立的前提条件:只有当用户真正信得过,软件替你行动这件事才有意义。</p>
<div class="muted-box" style="margin-top:1rem;">
<div class="big-statement">Agent 的门槛,不是更像助手,而是更值得托付。</div>
</div>
</div>
<div class="panel reveal article-card">
<h3>这期播客给出的三个硬点</h3>
<ul class="takeaways">
<li>隐私和安全不是附属选项,而是 agent 产品的入口条件</li>
<li>真正的竞争力不是“看起来很聪明”,而是“能安全代你执行”</li>
<li>未来的护城河更可能长在 trust architecture 上,而非单次演示效果</li>
</ul>
<div class="snippet">原始链接:<a href="https://youtube.com/watch?v=TvmxWWfiYWI" target="_blank" rel="noopener noreferrer">https://youtube.com/watch?v=TvmxWWfiYWI</a></div>
</div>
</div>
</div>
</section>
<section class="slide">
<div class="wrap">
<div class="chrome reveal"><span class="section-label">Builder Signals</span><span>04 / 06</span></div>
<h2 class="reveal" style="max-width:14ch;">几条真正有信息含量的 builder 信号</h2>
<div class="cards" style="margin-top:auto;margin-bottom:auto;">
<article class="panel reveal article-card">
<div class="meta">Peter Yang · Product at Roblox</div>
<h3>短 sprint、demo 优先、反复重看旧功能</h3>
<p class="snippet">这不是在讲执行勤奋,而是在讲:模型变化太快,重设计比重规划更重要。</p>
<a href="https://x.com/petergyang/status/2035130974682718585" target="_blank" rel="noopener noreferrer">查看原帖</a>
</article>
<article class="panel reveal article-card">
<div class="meta">Cat Wu · Anthropic / Claude Code</div>
<h3>越快把原型放到用户面前,越能知道复杂度是不是多余</h3>
<p class="snippet">复杂系统会放大失败。最简单能跑通的版本,不是妥协,而是判断力。</p>
<a href="https://x.com/_catwu/status/2035104391137784111" target="_blank" rel="noopener noreferrer">查看原帖</a>
</article>
<article class="panel reveal article-card">
<div class="meta">Swyx / Karpathy</div>
<h3>值得追踪的,不只是观点,而是长期预测能力</h3>
<p class="snippet">真正值钱的是:谁持续给出经得起时间验证的判断,而不是谁今天说得热闹。</p>
<a href="https://x.com/swyx/status/2034893748916953450" target="_blank" rel="noopener noreferrer">查看原帖</a>
</article>
</div>
</div>
</section>
<section class="slide">
<div class="wrap">
<div class="chrome reveal"><span class="section-label">Compressed View</span><span>05 / 06</span></div>
<div class="split" style="margin-top:auto;margin-bottom:auto;align-items:center;">
<div class="panel panel-strong reveal">
<div class="section-label">Three-line summary</div>
<div class="big-statement" style="margin-top:.8rem;max-width:15ch;">今天这批内容,压到最后其实只有三句。</div>
</div>
<div class="panel reveal">
<ul class="takeaways">
<li>Agent 真正的门槛不是智能,而是可信。</li>
<li>AI 产品开发的关键不是规划更大,而是验证更快。</li>
<li>复杂系统容易放大失败,简单可行比花哨架构更值钱。</li>
</ul>
</div>
</div>
</div>
</section>
<section class="slide">
<div class="wrap">
<div class="chrome reveal"><span class="section-label">So What</span><span>06 / 06</span></div>
<div class="split" style="margin-top:auto;margin-bottom:auto;">
<div class="panel panel-strong reveal">
<h2>把 digest 从“阅读材料”升级成“研究输入”</h2>
<p style="margin-top:1rem;">这类内容真正的价值,不在于看完当下觉得有启发,而在于能不能被纳入一个持续复用的研究系统里。</p>
</div>
<div class="panel reveal">
<ul class="takeaways">
<li>建立 builder 观察池:高信噪比 / 高频更新 / 待观察</li>
<li>每期都压出 3 句共识,长期存档,观察重复出现的主题</li>
<li>把输出流程固定成:抓取 → 提炼 → 标注 → 复盘</li>
</ul>
<div class="muted-box" style="margin-top:1rem;">下一步应该做的,不是继续堆效果,而是让自动渲染版也达到这一层的排版质感。</div>
</div>
</div>
</div>
</section>
<script>
class Deck {
constructor() {
this.slides = [...document.querySelectorAll('.slide')];
this.current = 0;
this.bar = document.getElementById('bar');
this.dots = document.getElementById('dots');
this.touchStart = 0;
this.touchEnd = 0;
this.lock = false;
this.initObserver();
this.initDots();
this.initKeys();
this.initWheel();
this.initTouch();
this.sync();
window.addEventListener('scroll', () => this.sync(), { passive: true });
window.addEventListener('resize', () => this.sync());
}
initObserver() {
const io = new IntersectionObserver((entries) => {
entries.forEach(entry => { if (entry.isIntersecting) entry.target.classList.add('visible'); });
}, { threshold: 0.38 });
this.slides.forEach(s => io.observe(s));
}
initDots() {
this.slides.forEach((_, i) => {
const b = document.createElement('button');
b.setAttribute('aria-label', '跳转到第 ' + (i + 1) + ' 页');
b.addEventListener('click', () => this.go(i));
this.dots.appendChild(b);
});
}
initKeys() {
document.addEventListener('keydown', (e) => {
if (['ArrowDown', 'PageDown', ' '].includes(e.key)) { e.preventDefault(); this.go(this.current + 1); }
if (['ArrowUp', 'PageUp'].includes(e.key)) { e.preventDefault(); this.go(this.current - 1); }
if (e.key === 'Home') this.go(0);
if (e.key === 'End') this.go(this.slides.length - 1);
});
}
initWheel() {
let t = null;
window.addEventListener('wheel', (e) => {
if (this.lock) return;
clearTimeout(t);
t = setTimeout(() => {
if (Math.abs(e.deltaY) < 18) return;
this.go(this.current + (e.deltaY > 0 ? 1 : -1));
}, 24);
}, { passive: true });
}
initTouch() {
window.addEventListener('touchstart', (e) => { this.touchStart = e.changedTouches[0].screenY; }, { passive: true });
window.addEventListener('touchend', (e) => {
this.touchEnd = e.changedTouches[0].screenY;
const d = this.touchStart - this.touchEnd;
if (Math.abs(d) < 42) return;
this.go(this.current + (d > 0 ? 1 : -1));
}, { passive: true });
}
sync() {
const mid = window.scrollY + window.innerHeight / 2;
let nearest = 0, dist = Infinity;
this.slides.forEach((s, i) => {
const m = s.offsetTop + s.offsetHeight / 2;
const d = Math.abs(m - mid);
if (d < dist) { dist = d; nearest = i; }
});
this.current = nearest;
this.dots.querySelectorAll('button').forEach((b, i) => b.classList.toggle('active', i === this.current));
const max = document.documentElement.scrollHeight - window.innerHeight;
this.bar.style.width = (max <= 0 ? 0 : Math.min(100, Math.max(0, window.scrollY / max * 100))) + '%';
}
go(i) {
const target = Math.max(0, Math.min(i, this.slides.length - 1));
this.current = target; this.lock = true;
this.slides[target].scrollIntoView({ behavior: 'smooth', block: 'start' });
this.sync();
setTimeout(() => { this.lock = false; this.sync(); }, 700);
}
}
new Deck();
</script>
</body>
</html>