-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
487 lines (431 loc) · 13.4 KB
/
Copy pathindex.html
File metadata and controls
487 lines (431 loc) · 13.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MAC Dazzle Astrology — 48-Hour Fortune 500 Rescue</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0a0a0a;
color: #e5e5e5;
line-height: 1.6;
padding: 24px;
}
.wrap { max-width: 1100px; margin: 0 auto; }
h1 {
font-size: 2.5rem;
font-weight: 700;
color: #fff;
margin-bottom: 12px;
display: inline-block;
}
h2 {
font-size: 1.5rem;
font-weight: 700;
color: #fff;
margin-bottom: 16px;
}
h3 {
font-size: 1rem;
font-weight: 600;
color: #fff;
margin-bottom: 8px;
}
.muted {
color: #888;
font-size: 0.95rem;
}
.hero-header {
display: flex;
align-items: baseline;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.pill {
display: inline-block;
background: transparent;
color: #999;
padding: 4px 12px;
border-radius: 16px;
border: 1px solid #333;
font-size: 0.75rem;
font-weight: 600;
text-transform: lowercase;
letter-spacing: 0.3px;
}
.card {
background: #111;
border: 1px solid #222;
border-radius: 12px;
padding: 24px;
margin-bottom: 24px;
}
.ctas {
margin: 16px 0;
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.ctas a {
background: linear-gradient(135deg, #5A42ED, #E34049);
color: #fff;
padding: 10px 18px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
transition: all 0.3s;
}
.ctas a:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(90, 66, 237, 0.4);
}
.btn-secondary {
background: #1a1a1a;
color: #e5e5e5;
padding: 10px 16px;
border-radius: 8px;
border: 1px solid #333;
font-weight: 500;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s;
font-family: inherit;
}
.btn-secondary:hover {
background: #222;
border-color: #444;
transform: translateY(-1px);
}
.test-buttons {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin: 16px 0;
}
input, select {
width: 100%;
padding: 12px 14px;
border-radius: 8px;
border: 1px solid #333;
background: #1a1a1a;
color: #e5e5e5;
font-size: 0.95rem;
font-family: inherit;
transition: all 0.2s;
}
input:focus, select:focus {
outline: none;
border-color: #5A42ED;
box-shadow: 0 0 0 3px rgba(90, 66, 237, 0.1);
}
input::placeholder { color: #666; }
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 16px;
}
.form-group {
display: flex;
flex-direction: column;
}
label {
font-size: 0.8rem;
font-weight: 600;
color: #888;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.kpis {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 16px;
margin: 24px 0;
}
.kpi {
text-align: center;
padding: 16px;
background: #0a0a0a;
border-radius: 8px;
}
.kpi-label {
display: block;
color: #888;
font-size: 0.8rem;
margin-bottom: 8px;
}
.kpi-value {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, #5A42ED, #E34049);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.receipt-container {
display: none;
margin-top: 32px;
}
.receipt-container.show { display: block; }
.receipt {
max-width: 500px;
margin: 0 auto;
text-align: center;
}
.receipt img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.demo-badge {
background: linear-gradient(135deg, #5A42ED, #E34049);
color: #fff;
padding: 8px 16px;
border-radius: 16px;
font-size: 0.85rem;
font-weight: 700;
display: inline-block;
margin-top: 24px;
letter-spacing: 1px;
}
.footer {
display: flex;
gap: 8px;
justify-content: center;
flex-wrap: wrap;
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid #222;
}
.footer .pill {
background: #111;
border: 1px solid #222;
color: #888;
padding: 6px 14px;
font-size: 0.8rem;
text-transform: capitalize;
}
@media (max-width: 768px) {
h1 { font-size: 2rem; }
.ctas { flex-direction: column; }
.ctas a { width: 100%; text-align: center; }
.test-buttons { flex-direction: column; }
.btn-secondary { width: 100%; }
.form-row { grid-template-columns: 1fr; }
.kpis { grid-template-columns: repeat(2, 1fr); }
}
</style>
</head>
<body>
<div class="wrap">
<div class="hero-header">
<h1>☀️ MAC Dazzle Astrology</h1>
<span class="pill">90 sec cut</span>
</div>
<p class="muted">48-hour rescue for Fortune 500 brand event. Zero downtime for 250+ VIP guests.</p>
<div class="card">
<p class="ctas">
<a href="https://stan.store/Savino/p/minipoc" target="_blank" rel="noopener">Start mini POC · $7.5k</a>
<a href="https://calendly.com/savinop/intro" target="_blank" rel="noopener">Book 15-min intro</a>
<a href="https://www.loom.com/share/59bce459af714b52820aec036ea629af" target="_blank" rel="noopener">Watch 90-sec Loom</a>
<a href="https://github.com/savinopicciotto/mac-dazzle-astrology" target="_blank" rel="noopener">README + Repo</a>
</p>
<p class="muted">Deliverables (2–3 days): 90-sec Loom • shareable live demo URL • acceptance tests.</p>
<h3 style="margin:16px 0 8px;">What this shows</h3>
<ol style="margin:0 0 12px 20px; color: #bbb;">
<li>Emergency rescue: broken code → production in 48 hours.</li>
<li>API integration: AstrologyAPI + geocoding + thermal printing.</li>
<li>Zero downtime: 250+ personalized receipts, live event fixes.</li>
</ol>
<h3 style="margin:16px 0 8px;">How to try it</h3>
<ul style="margin:0 0 0 20px; color: #bbb;">
<li>Click any test profile button below to auto-generate a receipt.</li>
<li>View the personalized astrology chart and interpretation.</li>
</ul>
</div>
<div class="card">
<h3>The Challenge</h3>
<p class="muted">Hired Monday night. Event Wednesday. Code was broken. Had to ship.</p>
<div class="kpis">
<div class="kpi">
<small class="kpi-label">Build time</small>
<h2 class="kpi-value">48hrs</h2>
</div>
<div class="kpi">
<small class="kpi-label">Receipts printed</small>
<h2 class="kpi-value">250+</h2>
</div>
<div class="kpi">
<small class="kpi-label">Downtime</small>
<h2 class="kpi-value">0</h2>
</div>
<div class="kpi">
<small class="kpi-label">Size reduction</small>
<h2 class="kpi-value">99.4%</h2>
</div>
</div>
</div>
<div class="card">
<h3>Try a Test Profile</h3>
<p class="muted">Click any button to auto-generate an astrology receipt.</p>
<div class="test-buttons">
<button class="btn-secondary" onclick="loadProfile('dan')">Dan Wender</button>
<button class="btn-secondary" onclick="loadProfile('maya')">Maya Rodriguez</button>
<button class="btn-secondary" onclick="loadProfile('savino')">Savino Picciotto</button>
<button class="btn-secondary" onclick="loadProfile('zoe')">Zoë Rose</button>
</div>
</div>
<div class="card">
<h3>Guest Information</h3>
<div class="form-row">
<div class="form-group">
<label>Guest Name (Optional)</label>
<input type="text" id="guestName" placeholder="Enter name">
</div>
<div class="form-group">
<label>Receipt Size</label>
<select id="receiptSize">
<option value="58mm">58mm</option>
<option value="80mm">80mm</option>
</select>
</div>
</div>
<h3 style="margin-top: 24px;">Birth Details</h3>
<div class="form-row">
<div class="form-group">
<label>Birth Date</label>
<input type="date" id="birthDate">
</div>
<div class="form-group">
<label>Birth Time</label>
<input type="time" id="birthTime">
</div>
<div class="form-group">
<label>Timezone (UTC)</label>
<input type="text" id="timezone" placeholder="-4">
</div>
</div>
<h3 style="margin-top: 24px;">Birth Location</h3>
<div class="form-row">
<div class="form-group">
<label>City Name</label>
<input type="text" id="cityName" placeholder="New York">
</div>
<div class="form-group">
<label>Latitude</label>
<input type="text" id="latitude" placeholder="40.7128">
</div>
<div class="form-group">
<label>Longitude</label>
<input type="text" id="longitude" placeholder="-74.0060">
</div>
</div>
<p class="ctas" style="margin-top: 24px;">
<a href="#" onclick="generateReceipt(); return false;" style="width: 100%; text-align: center;">✨ Generate Chart</a>
</p>
</div>
<div class="receipt-container" id="receiptContainer">
<div class="card">
<h2 style="text-align: center; margin-bottom: 24px;">Your Astrology Receipt</h2>
<div class="receipt" id="receipt"></div>
</div>
</div>
<div class="footer">
<span class="pill">48-hour build</span>
<span class="pill">250+ receipts</span>
<span class="pill">Zero downtime</span>
<span class="pill">Demo mode</span>
</div>
</div>
<script>
const profiles = {
dan: {
name: "Dan Wender",
birthDate: "1988-04-18",
birthTime: "05:51",
timezone: "UTC-4",
city: "new york",
latitude: "40.7128",
longitude: "-74.0060",
sun: "Aries ♈",
moon: "Taurus ♉",
rising: "Aries ♈",
message: "Balance and harmony are within reach. Seek peace in all your endeavors.",
receiptImage: "assets/dan_chart-1.png"
},
maya: {
name: "Maya Rodriguez",
birthDate: "1990-06-22",
birthTime: "11:33",
timezone: "UTC-8",
city: "los angeles",
latitude: "34.0522",
longitude: "-118.2437",
sun: "Cancer ♋",
moon: "Cancer ♋",
rising: "Virgo ♍",
message: "The stars align in your favor for new beginnings. Embrace change with confidence.",
receiptImage: "assets/maya_chart-1.png"
},
savino: {
name: "Savino Picciotto",
birthDate: "1983-08-16",
birthTime: "21:35",
timezone: "UTC-4",
city: "new york",
latitude: "40.7128",
longitude: "-74.0060",
sun: "Leo ♌",
moon: "Sagittarius ♐",
rising: "Aries ♈",
message: "Your natural charisma draws others to you. Use this influence wisely and with compassion.",
receiptImage: "assets/savino_chart-1.png"
},
zoe: {
name: "Zoë Rose",
birthDate: "1995-11-08",
birthTime: "19:15",
timezone: "UTC+2",
city: "paris",
latitude: "48.8566",
longitude: "2.3522",
sun: "Scorpio ♏",
moon: "Gemini ♊",
rising: "Gemini ♊",
message: "Patience and persistence will bring rewards. Trust in the timing of your journey.",
receiptImage: "assets/zoe_chart-1.png"
}
};
function loadProfile(key) {
const p = profiles[key];
document.getElementById('guestName').value = p.name;
document.getElementById('birthDate').value = p.birthDate;
document.getElementById('birthTime').value = p.birthTime;
document.getElementById('timezone').value = p.timezone.replace('UTC', '');
document.getElementById('cityName').value = p.city;
document.getElementById('latitude').value = p.latitude;
document.getElementById('longitude').value = p.longitude;
generateReceipt();
}
function generateReceipt() {
const name = document.getElementById('guestName').value || "Guest";
let p = profiles.savino;
Object.values(profiles).forEach(profile => {
if (profile.name.toLowerCase() === name.toLowerCase()) p = profile;
});
document.getElementById('receipt').innerHTML = `
<img src="${p.receiptImage}" alt="${p.name} Astrology Receipt">
<div class="demo-badge">*** DEMO VERSION ***</div>
`;
document.getElementById('receiptContainer').classList.add('show');
document.getElementById('receiptContainer').scrollIntoView({behavior:'smooth'});
}
</script>
</body>
</html>