-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
439 lines (407 loc) · 25.7 KB
/
Copy pathindex.html
File metadata and controls
439 lines (407 loc) · 25.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Historical Figures Whisper Bot — a piece of history, on demand</title>
<meta name="description" content="A bilingual (EN/FR) Telegram bot that whispers a historical figure on demand: portrait, story, and the highlights that made them matter. Free, no sign-up." />
<!-- Open Graph / social preview -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Historical Figures Whisper Bot" />
<meta property="og:description" content="A piece of history, whispered to you on demand — right inside Telegram. Free, bilingual EN/FR, no sign-up." />
<meta property="og:image" content="https://jordantete.github.io/history_whisper_bot/assets/logo.png" />
<meta property="og:url" content="https://jordantete.github.io/history_whisper_bot/" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Historical Figures Whisper Bot" />
<meta name="twitter:description" content="A piece of history, whispered to you on demand — right inside Telegram." />
<meta name="twitter:image" content="https://jordantete.github.io/history_whisper_bot/assets/logo.png" />
<link rel="icon" href="assets/logo.png" />
<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=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap" rel="stylesheet" />
<style>
:root{
--navy-950:#0d0c20;
--navy-900:#14132e;
--navy-800:#1b1940;
--navy-700:#242150;
--gold:#e6c36c;
--gold-hi:#f6e4a6;
--gold-dk:#c49e4e;
--parchment:#efe9d6;
--muted:#a7a3c6;
--line:rgba(230,195,108,.22);
--maxw:1120px;
--ease:cubic-bezier(.22,.61,.36,1);
--display:'Cinzel', Georgia, serif;
--body:'EB Garamond', Georgia, serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
font-family:var(--body);
color:var(--parchment);
background:var(--navy-950);
line-height:1.6;
-webkit-font-smoothing:antialiased;
overflow-x:hidden;
}
/* Atmospheric background: layered radial glows + fine grain */
body::before{
content:"";position:fixed;inset:0;z-index:-2;
background:
radial-gradient(120% 80% at 50% -10%, rgba(58,56,110,.55), transparent 60%),
radial-gradient(80% 60% at 85% 20%, rgba(230,195,108,.10), transparent 55%),
radial-gradient(90% 70% at 10% 90%, rgba(120,90,190,.14), transparent 55%),
linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
body::after{
content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.5;
background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
/* Gold certificate hairline frame */
.frame{position:fixed;inset:16px;border:1px solid var(--line);pointer-events:none;z-index:50;border-radius:4px}
.frame::before{content:"";position:absolute;inset:5px;border:1px solid rgba(230,195,108,.10);border-radius:2px}
@media (max-width:640px){.frame{inset:9px}}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
a{color:inherit;text-decoration:none}
::selection{background:rgba(230,195,108,.28);color:#fff}
/* ---------- Nav ---------- */
nav{
position:sticky;top:0;z-index:40;
backdrop-filter:blur(9px);
background:linear-gradient(180deg, rgba(13,12,32,.82), rgba(13,12,32,.28));
border-bottom:1px solid var(--line);
}
.nav-in{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:28px 0 11px}
.gh-link{display:inline-flex;color:var(--muted);transition:color .25s}
.gh-link:hover{color:var(--gold)}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:38px;height:38px;border-radius:50%;box-shadow:0 0 0 1px var(--line),0 4px 14px rgba(0,0,0,.5)}
.brand b{font-family:var(--display);font-weight:600;font-size:.98rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-hi)}
.nav-right{display:flex;align-items:center;gap:20px}
.nav-right a.ghost{font-size:.95rem;letter-spacing:.06em;color:var(--muted);transition:color .25s}
.nav-right a.ghost:hover{color:var(--parchment)}
/* Language toggle */
.lang{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;font-family:var(--display);font-size:.72rem;letter-spacing:.12em}
.lang button{background:transparent;border:0;color:var(--muted);padding:7px 12px;cursor:pointer;transition:.25s;font-family:inherit;letter-spacing:inherit}
.lang button.active{background:var(--gold);color:#241c07}
/* ---------- Buttons ---------- */
.btn-tg{
--shine: -140%;
position:relative;display:inline-flex;align-items:center;gap:11px;
font-family:var(--display);font-weight:600;font-size:1.02rem;letter-spacing:.05em;
color:#241c07;background:linear-gradient(180deg,var(--gold-hi),var(--gold));
padding:15px 28px;border-radius:999px;overflow:hidden;
box-shadow:0 10px 30px rgba(230,195,108,.28), inset 0 1px 0 rgba(255,255,255,.5);
transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-tg svg{width:22px;height:22px}
.btn-tg::after{content:"";position:absolute;top:0;left:var(--shine);width:60%;height:100%;
background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-18deg);transition:left .7s var(--ease)}
.btn-tg:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(230,195,108,.42), inset 0 1px 0 rgba(255,255,255,.6)}
.btn-tg:hover::after{left:160%}
.btn-sm{padding:10px 18px;font-size:.86rem}
/* ---------- Hero ---------- */
header.hero{position:relative;text-align:center;padding:70px 0 40px}
.medallion{width:196px;height:196px;margin:0 auto 34px;position:relative;animation:float 7s ease-in-out infinite}
.medallion img{width:100%;height:100%;border-radius:50%;box-shadow:0 0 0 1px var(--line),0 24px 60px rgba(0,0,0,.6),0 0 60px rgba(230,195,108,.18)}
.medallion::before{content:"";position:absolute;inset:-14px;border-radius:50%;border:1px solid rgba(230,195,108,.16);animation:glow 7s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes glow{0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.85;transform:scale(1.04)}}
.eyebrow{font-family:var(--display);font-size:.78rem;letter-spacing:.42em;text-transform:uppercase;color:var(--gold);margin-bottom:22px}
h1{
font-family:var(--display);font-weight:700;line-height:1.06;
font-size:clamp(2.3rem,6vw,4.3rem);letter-spacing:.01em;
background:linear-gradient(180deg,#fff,var(--gold-hi) 55%,var(--gold));
-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
text-shadow:0 2px 30px rgba(230,195,108,.15);
}
h1 .sub-word{display:block;font-size:.42em;letter-spacing:.34em;text-transform:uppercase;color:var(--muted);-webkit-text-fill-color:var(--muted);margin-top:16px;font-weight:400}
.lede{max-width:620px;margin:26px auto 0;font-size:clamp(1.1rem,2.3vw,1.34rem);color:#d8d3ec;font-style:italic}
.cta-row{margin-top:38px;display:flex;flex-direction:column;align-items:center;gap:16px}
.micro{font-size:.92rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-family:var(--display)}
.micro span{color:var(--gold)}
/* Section scaffolding */
section{position:relative;padding:66px 0}
.sec-head{text-align:center;margin-bottom:46px}
.sec-head .kicker{font-family:var(--display);font-size:.74rem;letter-spacing:.34em;text-transform:uppercase;color:var(--gold);display:block;margin-bottom:14px}
.sec-head h2{font-family:var(--display);font-weight:600;font-size:clamp(1.7rem,3.6vw,2.5rem);color:var(--parchment)}
.divider{width:70px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:18px auto 0}
/* ---------- Telegram screenshot mockup ---------- */
.card-stage{display:flex;justify-content:center}
.phone{
width:min(360px,100%);background:#0b1119;border-radius:40px;padding:11px;
border:1px solid rgba(255,255,255,.07);
box-shadow:0 44px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(230,195,108,.16), 0 0 70px rgba(230,195,108,.10);
}
.screen{background:#0e1621;border-radius:30px;overflow:hidden}
.tg-status{display:flex;justify-content:space-between;align-items:center;padding:11px 22px 7px;
font-family:-apple-system,'Segoe UI',Roboto,sans-serif;font-weight:600;font-size:.82rem;color:#fff}
.tg-status .icons{display:flex;gap:6px;align-items:center}
.tg-status .icons svg{height:12px;fill:#fff}
.tg-head{display:flex;align-items:center;gap:10px;padding:9px 14px;background:#17212b}
.tg-head .back{color:#5ea9ea;font-size:1.7rem;line-height:.7;margin-right:1px}
.tg-head img{width:40px;height:40px;border-radius:50%}
.tg-head .who{display:flex;flex-direction:column;line-height:1.28;font-family:-apple-system,'Segoe UI',Roboto,sans-serif}
.tg-head .who b{color:#fff;font-size:.92rem;font-weight:600}
.tg-head .who span{color:#5ea9ea;font-size:.76rem}
.tg-body{padding:16px 12px 18px;display:flex;flex-direction:column;gap:9px;
background:radial-gradient(120% 70% at 50% 0,#1a2836,#0e1621);
font-family:-apple-system,'Segoe UI',Roboto,sans-serif}
.tg-out{align-self:flex-end;max-width:72%;background:#2b5278;color:#fff;font-size:.9rem;
padding:7px 11px 5px;border-radius:15px 15px 5px 15px}
.tg-out .t{display:block;text-align:right;font-size:.62rem;color:#a9c7e8;margin-top:1px}
.tg-in{align-self:flex-start;max-width:88%;background:#1b2735;border-radius:15px 15px 15px 5px;overflow:hidden;
box-shadow:0 1px 2px rgba(0,0,0,.35)}
.tg-in .ph{width:100%;display:block;aspect-ratio:1/1;object-fit:cover;object-position:50% 22%}
.tg-cap{padding:9px 12px 8px;color:#e7edf2;font-size:.86rem;line-height:1.46}
.tg-cap .nm{font-weight:700;color:#fff}
.tg-cap .bi{font-style:italic;color:#c6d1db;display:block;margin-top:3px}
.tg-cap .hh{font-weight:700;color:#fff;display:block;margin-top:9px}
.tg-cap ul{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:3px}
.tg-cap li{padding-left:14px;position:relative;color:#d4dde5}
.tg-cap li::before{content:"•";position:absolute;left:2px;color:#5ea9ea}
.tg-cap .t{text-align:right;font-size:.62rem;color:#7d8e9e;margin-top:5px}
.tg-kb{border-top:1px solid rgba(255,255,255,.08)}
.tg-kb .row{display:flex}
.tg-kb .row + .row{border-top:1px solid rgba(255,255,255,.08)}
.tg-kb b{flex:1;text-align:center;padding:11px 6px;color:#d5e6f7;font-weight:500;font-size:.84rem}
.tg-kb b + b{border-left:1px solid rgba(255,255,255,.08)}
/* ---------- Commands ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.plate{
background:linear-gradient(180deg,rgba(36,33,80,.5),rgba(20,19,46,.5));
border:1px solid var(--line);border-radius:16px;padding:28px 24px;
transition:transform .35s var(--ease),border-color .35s,box-shadow .35s;
}
.plate:hover{transform:translateY(-5px);border-color:rgba(230,195,108,.5);box-shadow:0 18px 44px rgba(0,0,0,.4)}
.plate .ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(230,195,108,.1);border:1px solid var(--line);margin-bottom:16px}
.plate .ic svg{width:24px;height:24px;stroke:var(--gold);fill:none;stroke-width:1.6}
.plate code{font-family:var(--display);font-weight:600;color:var(--gold-hi);font-size:1.14rem;letter-spacing:.04em}
.plate p{margin-top:8px;color:var(--muted);font-size:1.02rem}
/* ---------- Feature chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:820px;margin:0 auto}
.feat{border:1px solid var(--line);border-radius:999px;padding:11px 20px;font-size:.98rem;color:var(--parchment);letter-spacing:.02em;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.02)}
.feat b{color:var(--gold)}
/* ---------- Closing CTA ---------- */
.closing{text-align:center}
.closing h2{font-family:var(--display);font-weight:700;font-size:clamp(1.9rem,4.4vw,3rem);line-height:1.12;background:linear-gradient(180deg,#fff,var(--gold));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;max-width:760px;margin:0 auto 30px}
/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line);padding:40px 0 60px;margin-top:30px}
.foot-in{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.foot-in .brand b{font-size:.82rem}
.foot-links{display:flex;gap:24px;font-size:.95rem;color:var(--muted)}
.foot-links a{transition:color .25s;letter-spacing:.04em}
.foot-links a:hover{color:var(--gold)}
.foot-note{font-size:.86rem;color:var(--muted);letter-spacing:.08em}
/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.in{opacity:1;transform:none}
.hero .reveal{transition-duration:1.1s}
[data-delay="1"]{transition-delay:.12s}
[data-delay="2"]{transition-delay:.24s}
[data-delay="3"]{transition-delay:.36s}
[data-delay="4"]{transition-delay:.48s}
@media (prefers-reduced-motion:reduce){
.reveal{opacity:1;transform:none;transition:none}
.medallion,.medallion::before{animation:none}
}
@media (max-width:640px){
.nav-right .ghost.hide-sm{display:none}
section{padding:50px 0}
.medallion{width:150px;height:150px}
}
</style>
</head>
<body>
<div class="frame" aria-hidden="true"></div>
<!-- reusable glyphs -->
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
<symbol id="tg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.94 4.32 18.7 19.6c-.24 1.08-.88 1.35-1.78.84l-4.92-3.63-2.37 2.28c-.26.26-.48.48-.99.48l.35-5.02 9.13-8.25c.4-.35-.09-.55-.61-.2L5.63 13.02.77 11.5c-1.06-.33-1.08-1.06.22-1.57L20.57 2.9c.88-.33 1.65.2 1.37 1.42Z"/></symbol>
<symbol id="gh" viewBox="0 0 24 24"><path fill="currentColor" d="M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.2 11.39.6.11.82-.26.82-.58v-2.03c-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.09-.75.08-.73.08-.73 1.2.09 1.84 1.24 1.84 1.24 1.07 1.83 2.8 1.3 3.49.99.11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.13-.3-.54-1.52.11-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.29-1.55 3.3-1.23 3.3-1.23.65 1.66.24 2.88.12 3.18.77.84 1.23 1.91 1.23 3.22 0 4.61-2.81 5.62-5.49 5.92.43.37.81 1.1.81 2.22v3.29c0 .32.22.7.83.58A12.01 12.01 0 0 0 24 12.5C24 5.87 18.63.5 12 .5Z"/></symbol>
</svg>
<nav>
<div class="wrap nav-in">
<a class="gh-link" href="https://github.com/jordantete/history_whisper_bot" target="_blank" rel="noopener" aria-label="View on GitHub">
<svg viewBox="0 0 24 24" width="22" height="22"><use href="#gh"/></svg>
</a>
<div class="lang" role="group" aria-label="Language">
<button data-lang="en" class="active">EN</button>
<button data-lang="fr">FR</button>
</div>
</div>
</nav>
<span id="top"></span>
<header class="hero">
<div class="wrap">
<div class="medallion reveal"><img src="assets/logo.png" alt="Historical Figures Whisper Bot emblem" /></div>
<h1 class="reveal" data-delay="1">Historical Figures<span class="sub-word">Whisper Bot</span></h1>
<p class="lede reveal" data-delay="2"
data-en="A piece of history, whispered to you on demand. Discover a new figure in a single tap — portrait, story, and the highlights that made them matter."
data-fr="Une part d'Histoire, soufflée à la demande. Découvre une figure en un geste : portrait, récit et les faits qui ont marqué son époque.">
A piece of history, whispered to you on demand. Discover a new figure in a single tap — portrait, story, and the highlights that made them matter.
</p>
<div class="cta-row reveal" data-delay="3">
<a class="btn-tg" href="https://t.me/HistoricalFiguresWhisperBot" target="_blank" rel="noopener">
<svg><use href="#tg"/></svg><span data-en="Open in Telegram" data-fr="Ouvrir dans Telegram">Open in Telegram</span>
</a>
<p class="micro"><span>●</span> <span data-en="Free" data-fr="Gratuit">Free</span> · <span data-en="No sign-up" data-fr="Sans inscription">No sign-up</span></p>
</div>
</div>
</header>
<!-- What lands in your chat -->
<section>
<div class="wrap">
<div class="sec-head reveal">
<span class="kicker" data-en="Every figure" data-fr="Chaque figure">Every figure</span>
<h2 data-en="A portrait, a story, the essentials" data-fr="Un portrait, un récit, l'essentiel">A portrait, a story, the essentials</h2>
<div class="divider"></div>
</div>
<div class="card-stage reveal" data-delay="1">
<!-- Portrait: Ada Lovelace daguerreotype by Antoine Claudet (c.1843), public domain — via Wikimedia Commons -->
<div class="phone" role="img" aria-label="Screenshot of the bot inside Telegram, showing a figure card for Ada Lovelace">
<div class="screen">
<div class="tg-status">
<span>9:41</span>
<span class="icons">
<svg viewBox="0 0 18 12" aria-hidden="true"><rect x="0" y="8" width="3" height="4" rx="1"/><rect x="5" y="5" width="3" height="7" rx="1"/><rect x="10" y="2.5" width="3" height="9.5" rx="1"/><rect x="15" y="0" width="3" height="12" rx="1"/></svg>
<svg viewBox="0 0 16 12" aria-hidden="true"><path d="M8 2.4c2.6 0 5 1 6.8 2.7l1.2-1.3A11.4 11.4 0 0 0 8 .5 11.4 11.4 0 0 0 0 3.8L1.2 5A9.4 9.4 0 0 1 8 2.4Zm0 3.6c1.6 0 3.1.6 4.2 1.7l1.2-1.3A8 8 0 0 0 8 4a8 8 0 0 0-5.4 2.4L3.8 7.7A6 6 0 0 1 8 6Zm0 3.5 2.1-2.2a3 3 0 0 0-4.2 0L8 9.5Z"/></svg>
<svg viewBox="0 0 26 12" aria-hidden="true"><rect x="0.5" y="0.5" width="22" height="11" rx="3" fill="none" stroke="#fff" stroke-opacity=".5"/><rect x="2" y="2" width="17" height="8" rx="1.5"/><rect x="23.5" y="4" width="2" height="4" rx="1"/></svg>
</span>
</div>
<div class="tg-head">
<span class="back" aria-hidden="true">‹</span>
<img src="assets/logo.png" alt="" />
<div class="who">
<b>Historical Figures Whisper Bot</b>
<span data-en="bot" data-fr="bot">bot</span>
</div>
</div>
<div class="tg-body">
<div class="tg-out">/random<span class="t">9:41</span></div>
<div class="tg-in">
<img class="ph" src="assets/figure-ada.png" alt="Portrait of Ada Lovelace" />
<div class="tg-cap">
<span class="nm">Ada Lovelace</span>
<span class="bi"
data-en="English mathematician and writer, known for her work on Charles Babbage's proposed Analytical Engine."
data-fr="Mathématicienne et écrivaine anglaise, connue pour ses travaux sur la machine analytique de Charles Babbage.">
English mathematician and writer, known for her work on Charles Babbage's proposed Analytical Engine.</span>
<span class="hh" data-en="✨ Highlights" data-fr="✨ Faits marquants">✨ Highlights</span>
<ul>
<li data-en="Wrote what is regarded as the first published computer program." data-fr="A écrit ce qui est considéré comme le premier programme informatique publié.">Wrote what is regarded as the first published computer program.</li>
<li data-en="The programming language Ada is named in her honour." data-fr="Le langage de programmation Ada porte son nom.">The programming language Ada is named in her honour.</li>
</ul>
<div class="t">9:41</div>
</div>
<div class="tg-kb">
<div class="row">
<b data-en="🎲 Another" data-fr="🎲 Une autre">🎲 Another</b>
<b data-en="📅 Today" data-fr="📅 Aujourd'hui">📅 Today</b>
</div>
<div class="row"><b data-en="🔗 Read more" data-fr="🔗 En savoir plus">🔗 Read more</b></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Commands -->
<section>
<div class="wrap">
<div class="sec-head reveal">
<span class="kicker" data-en="How it works" data-fr="Comment ça marche">How it works</span>
<h2 data-en="Three ways to meet the past" data-fr="Trois façons de rencontrer le passé">Three ways to meet the past</h2>
<div class="divider"></div>
</div>
<div class="grid">
<div class="plate reveal" data-delay="1">
<div class="ic"><svg viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3"/><circle cx="9" cy="9" r="1.3" fill="#e6c36c" stroke="none"/><circle cx="15" cy="15" r="1.3" fill="#e6c36c" stroke="none"/><circle cx="15" cy="9" r="1.3" fill="#e6c36c" stroke="none"/><circle cx="9" cy="15" r="1.3" fill="#e6c36c" stroke="none"/></svg></div>
<code>/random</code>
<p data-en="A random figure, any era, any field." data-fr="Une figure au hasard, toutes époques, tous domaines.">A random figure, any era, any field.</p>
</div>
<div class="plate reveal" data-delay="2">
<div class="ic"><svg viewBox="0 0 24 24"><rect x="4" y="5" width="16" height="15" rx="2"/><path d="M4 9h16M8 3v4M16 3v4"/></svg></div>
<code>/today</code>
<p data-en="The figure of the day, fresh each morning." data-fr="La figure du jour, renouvelée chaque matin.">The figure of the day, fresh each morning.</p>
</div>
<div class="plate reveal" data-delay="3">
<div class="ic"><svg viewBox="0 0 24 24"><path d="M5 8a7 7 0 0 1 14 0c0 6 2 8 2 8H3s2-2 2-8Z"/><path d="M10 20a2 2 0 0 0 4 0"/></svg></div>
<code>/subscribe</code>
<p data-en="One figure delivered daily, automatically." data-fr="Une figure livrée chaque jour, automatiquement.">One figure delivered daily, automatically.</p>
</div>
</div>
</div>
</section>
<!-- Feature chips -->
<section>
<div class="wrap">
<div class="sec-head reveal">
<span class="kicker" data-en="Details" data-fr="Détails">Details</span>
<h2 data-en="Small bot, thoughtful touches" data-fr="Petit bot, attentions soignées">Small bot, thoughtful touches</h2>
<div class="divider"></div>
</div>
<div class="chips reveal" data-delay="1">
<span class="feat"><b>◆</b> <span data-en="Bilingual EN / FR" data-fr="Bilingue FR / EN">Bilingual EN / FR</span></span>
<span class="feat"><b>◆</b> <span data-en="Rich figure cards" data-fr="Cartes détaillées">Rich figure cards</span></span>
<span class="feat"><b>◆</b> <span data-en="Daily delivery" data-fr="Livraison quotidienne">Daily delivery</span></span>
<span class="feat"><b>◆</b> <span data-en="Wikipedia links" data-fr="Liens Wikipédia">Wikipedia links</span></span>
<span class="feat"><b>◆</b> <span data-en="Private & 1-to-1" data-fr="Privé & 1-à-1">Private & 1-to-1</span></span>
<span class="feat"><b>◆</b> <span data-en="Free forever" data-fr="Gratuit, pour toujours">Free forever</span></span>
</div>
</div>
</section>
<!-- Closing CTA -->
<section class="closing">
<div class="wrap reveal">
<h2 data-en="Meet history, one figure at a time." data-fr="Rencontre l'Histoire, une figure à la fois.">Meet history, one figure at a time.</h2>
<a class="btn-tg" href="https://t.me/HistoricalFiguresWhisperBot" target="_blank" rel="noopener">
<svg><use href="#tg"/></svg><span data-en="Open in Telegram" data-fr="Ouvrir dans Telegram">Open in Telegram</span>
</a>
</div>
</section>
<footer>
<div class="wrap foot-in">
<a class="brand" href="#top">
<img src="assets/logo.png" alt="" style="width:30px;height:30px" />
<b data-en="Historical Figures Whisper Bot" data-fr="Historical Figures Whisper Bot">Historical Figures Whisper Bot</b>
</a>
<div class="foot-links">
<a href="https://t.me/HistoricalFiguresWhisperBot" target="_blank" rel="noopener" data-en="Telegram" data-fr="Telegram">Telegram</a>
<a href="https://github.com/jordantete/history_whisper_bot" target="_blank" rel="noopener" data-en="View on GitHub" data-fr="Voir sur GitHub">View on GitHub</a>
</div>
<div class="foot-note" data-en="Open source · MIT License" data-fr="Open source · Licence MIT">Open source · MIT License</div>
</div>
</footer>
<script>
// Language toggle: swaps [data-en]/[data-fr] text content.
const langBtns = document.querySelectorAll('.lang button');
function setLang(lang){
document.documentElement.lang = lang;
document.querySelectorAll('[data-'+lang+']').forEach(el=>{
el.textContent = el.getAttribute('data-'+lang);
});
langBtns.forEach(b=>b.classList.toggle('active', b.dataset.lang===lang));
try{ localStorage.setItem('hwb-lang', lang); }catch(e){}
}
langBtns.forEach(b=>b.addEventListener('click',()=>setLang(b.dataset.lang)));
// Restore preference or follow the browser (fr* -> fr, else en)
let saved;
try{ saved = localStorage.getItem('hwb-lang'); }catch(e){}
const initial = saved || 'en'; // English by default; only a saved choice overrides
if(initial === 'fr') setLang('fr');
// Scroll reveals
const io = new IntersectionObserver((entries)=>{
entries.forEach(e=>{ if(e.isIntersecting){ e.target.classList.add('in'); io.unobserve(e.target); } });
},{threshold:.16});
document.querySelectorAll('.reveal').forEach(el=>io.observe(el));
// Hero reveals fire immediately on load
window.addEventListener('load',()=>{
document.querySelectorAll('.hero .reveal').forEach(el=>el.classList.add('in'));
});
</script>
</body>
</html>