-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresentation.html
More file actions
748 lines (702 loc) · 28 KB
/
Copy pathpresentation.html
File metadata and controls
748 lines (702 loc) · 28 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
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FlashArxiv — 발표</title>
<style>
:root {
--bg: #282828;
--bg1: #3c3836;
--bg2: #504945;
--bg3: #665c54;
--fg: #ebdbb2;
--fg2: #d5c4a1;
--fg3: #bdae93;
--red: #fb4934;
--green: #b8bb26;
--yellow: #fabd2f;
--blue: #83a598;
--purple: #d3869b;
--aqua: #8ec07c;
--orange: #fe8019;
--gray: #928374;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--fg);
font-family: Georgia, 'Palatino Linotype', serif;
height: 100vh;
overflow: hidden;
user-select: none;
}
/* ── Slide container ── */
.deck { width: 100vw; height: 100vh; position: relative; }
.slide {
position: absolute; inset: 0;
display: flex; flex-direction: column;
padding: 56px 72px;
opacity: 0; pointer-events: none;
transform: translateY(24px);
transition: opacity .35s ease, transform .35s ease;
}
.slide.active {
opacity: 1; pointer-events: all;
transform: translateY(0);
}
/* ── Typography ── */
.slide-label {
font-family: 'Courier New', monospace;
font-size: 11px;
letter-spacing: .12em;
text-transform: uppercase;
color: var(--gray);
margin-bottom: 10px;
}
h1 { font-size: 52px; color: var(--yellow); line-height: 1.15; }
h2 { font-size: 34px; color: var(--yellow); margin-bottom: 28px; }
h3 { font-size: 18px; color: var(--aqua); margin-bottom: 10px; }
p { font-size: 17px; line-height: 1.7; color: var(--fg2); }
.sub { font-size: 20px; color: var(--fg3); margin-top: 16px; line-height: 1.6; }
.tag {
display: inline-block;
background: var(--bg2);
border: 1px solid var(--bg3);
border-radius: 4px;
padding: 2px 8px;
font-family: 'Courier New', monospace;
font-size: 13px;
color: var(--aqua);
}
/* ── Grid helpers ── */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cols-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
/* ── Card ── */
.card {
background: var(--bg1);
border: 1px solid var(--bg2);
border-radius: 8px;
padding: 22px 24px;
}
.card h3 { margin-bottom: 8px; }
.card ul { list-style: none; }
.card ul li {
font-size: 15px;
color: var(--fg2);
padding: 4px 0;
border-bottom: 1px solid var(--bg2);
display: flex; align-items: baseline; gap: 8px;
}
.card ul li:last-child { border-bottom: none; }
.card ul li .val {
margin-left: auto;
font-family: 'Courier New', monospace;
font-size: 13px;
color: var(--orange);
}
/* ── Flow diagram ── */
.flow {
display: flex;
align-items: center;
gap: 0;
flex-wrap: nowrap;
}
.flow-node {
background: var(--bg1);
border: 1.5px solid var(--bg3);
border-radius: 8px;
padding: 14px 20px;
text-align: center;
min-width: 110px;
flex-shrink: 0;
}
.flow-node .node-label {
font-size: 13px; color: var(--fg3);
font-family: 'Courier New', monospace;
margin-bottom: 4px;
}
.flow-node .node-name {
font-size: 16px; font-weight: bold;
color: var(--fg);
}
.flow-node.accent-blue { border-color: var(--blue); background: #1d3438; }
.flow-node.accent-green { border-color: var(--green); background: #272e10; }
.flow-node.accent-yel { border-color: var(--yellow); background: #2e2710; }
.flow-node.accent-red { border-color: var(--red); background: #2e1210; }
.flow-node.accent-pur { border-color: var(--purple); background: #2a1826; }
.flow-node.accent-aqu { border-color: var(--aqua); background: #1a2e1e; }
.arrow {
color: var(--bg3);
font-size: 22px;
padding: 0 6px;
flex-shrink: 0;
}
.arrow-label {
display: flex; flex-direction: column; align-items: center;
gap: 2px; flex-shrink: 0; padding: 0 4px;
}
.arrow-label .al-text {
font-family: 'Courier New', monospace;
font-size: 10px; color: var(--gray);
white-space: nowrap;
}
.arrow-label .al-sym { color: var(--bg3); font-size: 18px; }
/* ── Badge pill ── */
.pill {
display: inline-block;
padding: 3px 10px;
border-radius: 99px;
font-family: 'Courier New', monospace;
font-size: 12px;
font-weight: bold;
}
.pill-green { background: #1e2a10; color: var(--green); border: 1px solid var(--green); }
.pill-blue { background: #1a2b30; color: var(--blue); border: 1px solid var(--blue); }
.pill-yellow { background: #2a2210; color: var(--yellow); border: 1px solid var(--yellow); }
.pill-orange { background: #2a1a08; color: var(--orange); border: 1px solid var(--orange); }
.pill-purple { background: #261428; color: var(--purple); border: 1px solid var(--purple); }
.pill-aqua { background: #182a1c; color: var(--aqua); border: 1px solid var(--aqua); }
.pill-gray { background: var(--bg1); color: var(--gray); border: 1px solid var(--bg3); }
/* ── Loop diagram (Claude Code workflow) ── */
.loop-wrap {
display: flex; align-items: center; justify-content: center;
gap: 0; margin-top: 8px;
}
.loop-node {
border-radius: 50%;
width: 140px; height: 140px;
display: flex; flex-direction: column;
align-items: center; justify-content: center;
gap: 6px; text-align: center;
font-size: 15px; font-weight: bold;
flex-shrink: 0;
}
.loop-node .ln-icon { font-size: 28px; }
.loop-node .ln-sub { font-size: 11px; font-family: 'Courier New', monospace; color: var(--gray); margin-top: 2px; }
.loop-node.human { background: #1a2b30; border: 2px solid var(--blue); color: var(--blue); }
.loop-node.ai { background: #2a1a08; border: 2px solid var(--orange); color: var(--orange); }
.loop-node.verify { background: #1e2a10; border: 2px solid var(--green); color: var(--green); }
.loop-arrow {
display: flex; flex-direction: column;
align-items: center; gap: 2px;
padding: 0 8px; flex-shrink: 0;
}
.loop-arrow .la-text {
font-family: 'Courier New', monospace;
font-size: 10px; color: var(--gray); white-space: nowrap;
}
.loop-arrow .la-sym { color: var(--bg3); font-size: 20px; }
/* ── Code block ── */
pre {
background: var(--bg1);
border: 1px solid var(--bg2);
border-radius: 6px;
padding: 16px 20px;
font-family: 'Courier New', monospace;
font-size: 13px;
color: var(--fg2);
line-height: 1.6;
overflow: auto;
}
.kw { color: var(--red); }
.str { color: var(--green); }
.cmt { color: var(--gray); }
.num { color: var(--purple); }
.fn { color: var(--yellow); }
/* ── Highlight list ── */
.hl-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hl-list li {
display: flex; align-items: flex-start; gap: 14px;
font-size: 16px; color: var(--fg2); line-height: 1.5;
}
.hl-list li .icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
/* ── Nav bar ── */
.nav {
position: fixed; bottom: 24px; left: 50%;
transform: translateX(-50%);
display: flex; align-items: center; gap: 20px;
background: var(--bg1);
border: 1px solid var(--bg2);
border-radius: 99px;
padding: 8px 20px;
z-index: 100;
}
.nav button {
background: none; border: none;
color: var(--gray);
font-size: 18px; cursor: pointer; padding: 2px 6px;
border-radius: 4px; transition: color .15s, background .15s;
}
.nav button:hover { color: var(--fg); background: var(--bg2); }
.nav .counter {
font-family: 'Courier New', monospace;
font-size: 13px; color: var(--gray);
min-width: 50px; text-align: center;
}
.dots {
display: flex; gap: 6px;
}
.dot {
width: 6px; height: 6px; border-radius: 50%;
background: var(--bg3); cursor: pointer;
transition: background .2s, transform .2s;
}
.dot.active { background: var(--yellow); transform: scale(1.3); }
/* ── Slide-specific layouts ── */
#s0 { justify-content: center; }
#s0 h1 { font-size: 64px; }
#s0 .subtitle { font-size: 21px; color: var(--fg3); margin-top: 18px; }
#s0 .url-badge {
margin-top: 28px;
font-family: 'Courier New', monospace;
font-size: 14px;
color: var(--blue);
background: var(--bg1);
border: 1px solid var(--bg2);
border-radius: 6px;
padding: 8px 18px;
display: inline-block;
}
.divider {
width: 48px; height: 3px;
background: var(--yellow);
border-radius: 2px;
margin-bottom: 28px;
}
/* two-panel */
.two-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; flex: 1; }
.panel-left { display: flex; flex-direction: column; gap: 16px; }
.panel-right { display: flex; flex-direction: column; gap: 16px; }
/* vertical flow */
.vflow { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.vflow-node {
background: var(--bg1);
border: 1.5px solid var(--bg3);
border-radius: 8px;
padding: 12px 20px;
font-size: 15px;
color: var(--fg);
width: 100%;
}
.vflow-node.accent-blue { border-color: var(--blue); background: #1d3438; color: var(--blue); }
.vflow-node.accent-green { border-color: var(--green); background: #272e10; color: var(--green); }
.vflow-node.accent-yel { border-color: var(--yellow); background: #2e2710; color: var(--yellow); }
.vflow-node.accent-pur { border-color: var(--purple); background: #2a1826; color: var(--purple); }
.vflow-arrow { color: var(--bg3); font-size: 18px; padding: 4px 0 4px 20px; }
</style>
</head>
<body>
<div class="deck" id="deck">
<!-- ════════════════════ SLIDE 0 — Title ════════════════════ -->
<div class="slide active" id="s0">
<div class="slide-label">FlashArxiv · 아키텍처 & 개발 방식</div>
<h1>FlashArxiv</h1>
<p class="subtitle">arXiv 최신 논문 탐색 · Gemini AI 한국어 요약 · 개인 연구 피드</p>
<div style="margin-top:32px; display:flex; gap:10px; flex-wrap:wrap;">
<span class="pill pill-blue">React 19</span>
<span class="pill pill-orange">Vite 8</span>
<span class="pill pill-yellow">Gemini Flash</span>
<span class="pill pill-purple">Firebase</span>
<span class="pill pill-green">arXiv API</span>
<span class="pill pill-gray">Vercel</span>
</div>
<div class="url-badge">https://flash-arxiv-seonuk-mu.vercel.app</div>
</div>
<!-- ════════════════════ SLIDE 1 — 전체 아키텍처 ════════════════════ -->
<div class="slide" id="s1">
<div class="slide-label">Architecture</div>
<h2>전체 구조</h2>
<!-- Top flow: User → Browser → External -->
<div class="flow" style="margin-bottom:20px;">
<div class="flow-node accent-blue">
<div class="node-label">사용자</div>
<div class="node-name">Browser</div>
</div>
<div class="arrow-label">
<div class="al-text">keywords / actions</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node" style="min-width:140px;">
<div class="node-label">Frontend</div>
<div class="node-name">React App</div>
</div>
<div class="arrow-label">
<div class="al-text">Vercel rewrite</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node accent-green">
<div class="node-label">논문 소스</div>
<div class="node-name">arXiv API</div>
</div>
<div class="arrow" style="color: transparent;">→</div>
<div class="arrow-label">
<div class="al-text">한국어 요약</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node accent-yel">
<div class="node-label">AI 요약</div>
<div class="node-name">Gemini Flash</div>
</div>
</div>
<div class="flow">
<div class="flow-node" style="min-width:140px; visibility:hidden;">
<div class="node-name">React App</div>
</div>
<div class="arrow-label">
<div class="al-text">Google 로그인</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node accent-pur">
<div class="node-label">인증</div>
<div class="node-name">Firebase Auth</div>
</div>
<div class="arrow-label">
<div class="al-text">데이터 동기화</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node accent-aqu">
<div class="node-label">DB</div>
<div class="node-name">Firestore</div>
</div>
<div class="arrow-label">
<div class="al-text">배포</div>
<div class="al-sym">→</div>
</div>
<div class="flow-node accent-red">
<div class="node-label">호스팅</div>
<div class="node-name">Vercel</div>
</div>
</div>
<div style="margin-top:28px;">
<p style="font-size:15px; color:var(--fg3);">
별도 백엔드 서버 없음 — 프론트엔드에서 arXiv·Gemini·Firebase를 직접 호출
</p>
</div>
</div>
<!-- ════════════════════ SLIDE 2 — 기술 스택 ════════════════════ -->
<div class="slide" id="s2">
<div class="slide-label">Tech Stack</div>
<h2>기술 스택</h2>
<div class="cols-3">
<div class="card">
<h3>Frontend</h3>
<ul>
<li>UI <span class="val">React 19</span></li>
<li>빌드 <span class="val">Vite 8</span></li>
<li>언어 <span class="val">JSX / ES Modules</span></li>
<li>스타일 <span class="val">CSS Variables</span></li>
<li>테마 <span class="val">Gruvbox Dark</span></li>
<li>폰트 <span class="val">ZEN Serif + Georgia</span></li>
<li>Markdown <span class="val">react-markdown</span></li>
</ul>
</div>
<div class="card">
<h3>AI & 데이터</h3>
<ul>
<li>논문 소스 <span class="val">arXiv API</span></li>
<li>AI 요약 <span class="val">Gemini Flash</span></li>
<li>요약 캐싱 <span class="val">localStorage</span></li>
<li>폴링 주기 <span class="val">60초</span></li>
<li>페이지 크기 <span class="val">300개</span></li>
<li>정렬 <span class="val">최신 제출일순</span></li>
</ul>
</div>
<div class="card">
<h3>Auth & 배포</h3>
<ul>
<li>인증 <span class="val">Firebase Auth</span></li>
<li>DB <span class="val">Firestore</span></li>
<li>쓰기 지연 <span class="val">800ms debounce</span></li>
<li>호스팅 <span class="val">Vercel</span></li>
<li>CI/CD <span class="val">GitHub → Vercel</span></li>
<li>브랜치 <span class="val">main / dev / feature</span></li>
</ul>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 3 — arXiv API 흐름 ════════════════════ -->
<div class="slide" id="s3">
<div class="slide-label">Data Flow</div>
<h2>논문 데이터 흐름</h2>
<div class="two-panel">
<div class="panel-left">
<div class="vflow">
<div class="vflow-node accent-blue">① 키워드 + 카테고리 입력</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-yel">② arXiv 쿼리 생성<br><span style="font-family:monospace;font-size:12px;color:var(--fg3);">ti:"..." OR abs:"..." OR au:"..."</span></div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-green">③ Vercel rewrite → export.arxiv.org</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-pur">④ Atom XML 파싱 → JS 객체</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node">⑤ 날짜별 그룹핑 후 렌더</div>
</div>
</div>
<div class="panel-right">
<div class="card" style="margin-bottom:16px;">
<h3>CORS 해결</h3>
<ul>
<li>개발 환경 <span class="val">Vite proxy</span></li>
<li>프로덕션 <span class="val">vercel.json rewrite</span></li>
</ul>
<pre style="margin-top:12px; font-size:11px;">{
<span class="str">"rewrites"</span>: [{
<span class="str">"source"</span>: <span class="str">"/arxiv/:path*"</span>,
<span class="str">"destination"</span>: <span class="str">"https://export.arxiv.org/:path*"</span>
}]
}</pre>
</div>
<div class="card">
<h3>Rate Limit 처리</h3>
<ul>
<li>요청 간격 <span class="val">최소 5초</span></li>
<li>429 응답 <span class="val">10초 대기 후 재시도</span></li>
<li>재시도 횟수 <span class="val">최대 3회</span></li>
</ul>
</div>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 4 — AI 요약 흐름 ════════════════════ -->
<div class="slide" id="s4">
<div class="slide-label">AI Summary</div>
<h2>AI 한국어 요약 흐름</h2>
<div class="two-panel">
<div class="panel-left">
<div class="vflow">
<div class="vflow-node accent-blue">① "3줄" 버튼 클릭</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-green">② localStorage 캐시 확인<br><span style="font-family:monospace;font-size:12px;color:var(--fg3);">캐시 있으면 즉시 반환</span></div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-yel">③ 프롬프트 생성<br><span style="font-family:monospace;font-size:12px;color:var(--fg3);">제목 + 초록 → 한국어 3줄</span></div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-pur">④ Gemini Flash API 호출</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node">⑤ 결과 캐싱 + 화면 표시</div>
</div>
</div>
<div class="panel-right">
<div class="card">
<h3>프롬프트 설계</h3>
<pre style="font-size:12px; line-height:1.7;">다음 논문을 한국어로
핵심 내용 <span class="num">3</span>가지 불렛으로 요약해줘.
형식은 정확히 아래처럼
<span class="str">"- "</span>으로 시작하는 <span class="num">3</span>줄로만 답해줘.
- (첫 번째 핵심 내용.)
- (두 번째 핵심 내용.)
- (세 번째 핵심 내용.)
제목: ${title}
초록: ${abstract}</pre>
</div>
<div class="card" style="margin-top:16px;">
<h3>Gemini Flash 선택 이유</h3>
<ul>
<li>무료 티어 <span class="val">1,500 req/day</span></li>
<li>응답 속도 <span class="val">빠름</span></li>
<li>한국어 품질 <span class="val">높음</span></li>
</ul>
</div>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 5 — Firebase / 사용자 데이터 ════════════════════ -->
<div class="slide" id="s5">
<div class="slide-label">Auth & Persistence</div>
<h2>인증 & 데이터 저장</h2>
<div class="two-panel">
<div class="panel-left">
<div class="vflow">
<div class="vflow-node accent-blue">Google 로그인 (Firebase Auth)</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-green">Firestore에서 사용자 데이터 로드</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-yel">State 복원 (keywords, saved, notes, folders)</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node">변경 감지 → 800ms debounce → Firestore 저장</div>
<div class="vflow-arrow">↓</div>
<div class="vflow-node accent-pur">beforeunload → 즉시 flush</div>
</div>
</div>
<div class="panel-right">
<div class="card">
<h3>Firestore 저장 데이터</h3>
<ul>
<li>keywords <span class="val">string[]</span></li>
<li>categories <span class="val">string[]</span></li>
<li>saved <span class="val">Paper[]</span></li>
<li>notes <span class="val">Record<id, string></span></li>
<li>folders <span class="val">Folder[]</span></li>
<li>paperFolders <span class="val">Record<id, folderId></span></li>
</ul>
</div>
<div class="card" style="margin-top:16px;">
<h3>세션 유지</h3>
<ul>
<li>로그인 캐시 <span class="val">localStorage</span></li>
<li>탭 상태 <span class="val">localStorage</span></li>
<li>요약 캐시 <span class="val">localStorage</span></li>
</ul>
</div>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 6 — Claude Code 워크플로 ════════════════════ -->
<div class="slide" id="s6">
<div class="slide-label">Development</div>
<h2>Claude Code로 개발한 방식</h2>
<div class="loop-wrap" style="margin-bottom:32px;">
<div class="loop-node human">
<div class="ln-icon">👨💻</div>
<div>요청</div>
<div class="ln-sub">기능 명세를<br>자연어로</div>
</div>
<div class="loop-arrow">
<div class="la-text">코드 작성</div>
<div class="la-sym">→</div>
</div>
<div class="loop-node ai">
<div class="ln-icon">🤖</div>
<div>Claude Code</div>
<div class="ln-sub">파일 분석 &<br>코드 변경</div>
</div>
<div class="loop-arrow">
<div class="la-text">결과 확인</div>
<div class="la-sym">→</div>
</div>
<div class="loop-node verify">
<div class="ln-icon">✅</div>
<div>검증</div>
<div class="ln-sub">브라우저에서<br>직접 테스트</div>
</div>
<div class="loop-arrow">
<div class="la-text" style="color:var(--gray);">피드백 / 완료</div>
<div class="la-sym" style="transform:rotate(180deg); display:block;">→</div>
</div>
<div class="loop-node human" style="opacity:0.4;">
<div class="ln-icon">👨💻</div>
<div>다음 요청</div>
</div>
</div>
<div class="cols-2" style="gap:20px;">
<div class="card">
<h3>핵심 원칙</h3>
<ul class="hl-list">
<li><span class="icon">✍️</span>코드 작성은 AI가</li>
<li><span class="icon">🔍</span>판단과 검증은 사람이</li>
<li><span class="icon">🔄</span>기능 단위로 짧은 루프 반복</li>
</ul>
</div>
<div class="card">
<h3>실제 예시</h3>
<ul class="hl-list">
<li><span class="icon">📁</span>"폴더 분류 기능 추가해줘" → 전체 State + UI 완성</li>
<li><span class="icon">🌐</span>"CORS 에러 해결해줘" → vercel.json rewrite 설정</li>
<li><span class="icon">⚡</span>"Firestore 쓰기 너무 많이 해" → 800ms debounce 적용</li>
</ul>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 7 — CLAUDE.md ════════════════════ -->
<div class="slide" id="s7">
<div class="slide-label">CLAUDE.md</div>
<h2>AI에게 주는 프로젝트 헌법</h2>
<div class="two-panel">
<div class="panel-left">
<pre style="font-size:13px; line-height:1.8; flex:1;"># Seonuk's Interactive Research Helper
## Design System
- <span class="kw">Theme</span>: <span class="str">Gruvbox</span> (dark/light)
— 예외 없이 전체 적용
- <span class="kw">Typography</span>: Serif fonts
— 학술 논문 느낌
## Code Style
- <span class="cmt"># 불필요한 주석 금지</span>
- <span class="cmt"># 과도한 추상화 금지</span>
- <span class="cmt"># API 키 하드코딩 절대 금지</span>
→ 반드시 env vars 사용</pre>
</div>
<div class="panel-right">
<div class="card" style="flex:1;">
<h3>CLAUDE.md 효과</h3>
<ul class="hl-list" style="margin-top:8px;">
<li><span class="icon">🎨</span>테마 일관성 — 어떤 컴포넌트를 추가해도 Gruvbox 유지</li>
<li><span class="icon">🔒</span>보안 — env var 없이 API 키 하드코딩 시 AI가 스스로 거부</li>
<li><span class="icon">🧹</span>코드 품질 — 불필요한 주석, 과설계 방지</li>
<li><span class="icon">📋</span>일관된 컨텍스트 — 매 대화마다 다시 설명할 필요 없음</li>
</ul>
</div>
</div>
</div>
</div>
<!-- ════════════════════ SLIDE 8 — 마무리 ════════════════════ -->
<div class="slide" id="s8">
<div class="slide-label">Summary</div>
<h2>정리</h2>
<div class="cols-3" style="margin-bottom:28px;">
<div class="card" style="text-align:center;">
<div style="font-size:36px; margin-bottom:8px;">📄</div>
<h3>논문 탐색</h3>
<p style="font-size:14px; margin-top:8px; color:var(--fg3);">키워드 + 카테고리로<br>arXiv 최신 논문 피드</p>
</div>
<div class="card" style="text-align:center;">
<div style="font-size:36px; margin-bottom:8px;">🤖</div>
<h3>AI 요약</h3>
<p style="font-size:14px; margin-top:8px; color:var(--fg3);">Gemini Flash로<br>한국어 3줄 요약</p>
</div>
<div class="card" style="text-align:center;">
<div style="font-size:36px; margin-bottom:8px;">⭐</div>
<h3>논문 관리</h3>
<p style="font-size:14px; margin-top:8px; color:var(--fg3);">저장 · 메모 · 폴더<br>Firestore 동기화</p>
</div>
</div>
<div class="card" style="text-align:center; padding:24px;">
<div style="font-family:'Courier New',monospace; font-size:15px; color:var(--blue);">
https://flash-arxiv-seonuk-mu.vercel.app
</div>
<div style="margin-top:12px; font-size:15px; color:var(--fg3);">감사합니다</div>
</div>
</div>
</div><!-- /deck -->
<!-- ── Navigation ── -->
<div class="nav" id="nav">
<button id="prev" title="Previous (←)">←</button>
<div class="dots" id="dots"></div>
<span class="counter" id="counter">1 / 9</span>
<button id="next" title="Next (→ or Space)">→</button>
</div>
<script>
const slides = Array.from(document.querySelectorAll('.slide'))
const dotsEl = document.getElementById('dots')
const counter = document.getElementById('counter')
let current = 0
// Build dots
slides.forEach((_, i) => {
const d = document.createElement('div')
d.className = 'dot' + (i === 0 ? ' active' : '')
d.addEventListener('click', () => go(i))
dotsEl.appendChild(d)
})
function go(n) {
slides[current].classList.remove('active')
dotsEl.children[current].classList.remove('active')
current = Math.max(0, Math.min(slides.length - 1, n))
slides[current].classList.add('active')
dotsEl.children[current].classList.add('active')
counter.textContent = `${current + 1} / ${slides.length}`
}
document.getElementById('prev').addEventListener('click', () => go(current - 1))
document.getElementById('next').addEventListener('click', () => go(current + 1))
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowRight' || e.key === ' ') { e.preventDefault(); go(current + 1) }
if (e.key === 'ArrowLeft') { e.preventDefault(); go(current - 1) }
if (e.key === 'ArrowUp') { e.preventDefault(); go(0) }
if (e.key === 'ArrowDown') { e.preventDefault(); go(slides.length - 1) }
})
// Click anywhere on slide to advance
document.getElementById('deck').addEventListener('click', (e) => {
if (e.target.closest('.nav')) return
go(current + 1)
})
</script>
</body>
</html>