-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathembed.html
More file actions
451 lines (423 loc) · 29.7 KB
/
embed.html
File metadata and controls
451 lines (423 loc) · 29.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
440
441
442
443
444
445
446
447
448
449
450
451
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tattoo Touch-Up Timeline Calculator - Embed</title>
<link rel="stylesheet" href="css/style.css">
<style>
/* Embed-specific styles */
body {
margin: 0;
padding: 0;
}
.touch-up-timeline__header {
position: relative;
padding: var(--spacing-md);
}
.touch-up-timeline__main {
padding: var(--spacing-lg) 0;
}
.community-feedback {
display: none; /* Hide feedback in embed */
}
.touch-up-timeline__footer {
padding: var(--spacing-lg);
margin-top: var(--spacing-lg);
}
.touch-up-timeline__support-section {
display: none; /* Hide Ko-fi in embed */
}
.embed__email-section{background:linear-gradient(135deg,#3B82F6 0%,#8B5CF6 100%);padding:2rem 1rem;margin:2rem 0;border-radius:8px}
.embed__email-box{max-width:500px;margin:0 auto;text-align:center}
.embed__email-title{font-size:1.3rem;font-weight:700;color:#FFF;margin-bottom:0.5rem}
.embed__email-subtitle{font-size:0.9rem;color:rgba(255,255,255,0.9);margin-bottom:1rem}
.embed__email-input-group{display:flex;gap:0.5rem;margin-bottom:0.75rem}
.embed__email-input{flex:1;padding:0.75rem;border:2px solid rgba(255,255,255,0.3);border-radius:6px;background:rgba(255,255,255,0.95);color:#1A1A1A;font-size:0.9rem}
.embed__email-input:focus{outline:none;border-color:#FFF;background:#FFF}
.embed__email-submit{padding:0.75rem 1.5rem;background:#FF006E;color:#FFF;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all 0.3s ease;font-size:0.9rem}
.embed__email-submit:hover{background:#D6005C;transform:translateY(-2px)}
.embed__email-success,.embed__email-error{padding:0.5rem;border-radius:6px;font-size:0.85rem;margin-top:0.5rem}
.embed__email-success{background:rgba(40,167,69,0.2);color:#FFF;border:1px solid rgba(40,167,69,0.5)}
.embed__email-error{background:rgba(220,53,69,0.2);color:#FFF;border:1px solid rgba(220,53,69,0.5)}
.embed__email-trust{display:flex;justify-content:center;gap:1rem;font-size:0.75rem;color:rgba(255,255,255,0.8);flex-wrap:wrap}
.embed__features-section{background:#F8F8F8;padding:2rem 1rem;margin:2rem 0;border-radius:8px;border:2px solid #E0E0E0}
.embed__features-title{font-size:1.3rem;font-weight:700;color:#FF006E;margin-bottom:1rem;text-align:center}
.embed__features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0.75rem;max-width:600px;margin:0 auto}
.embed__feature-item{display:flex;align-items:center;gap:0.5rem;padding:0.75rem;background:#FFF;border-radius:6px;font-size:0.9rem;border:1px solid #E8E8E8}
.embed__feature-check{color:#28A745;font-size:1.1rem;font-weight:700}
.embed__feature-text{color:#333}
@media (max-width:600px){.embed__email-input-group{flex-direction:column}.embed__features-grid{grid-template-columns:1fr}}
.embed-footer{background:#F8F8F8;padding:1.5rem;text-align:center;border-top:2px solid #E0E0E0;margin-top:2rem}
.embed-footer-content{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.embed-footer-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.25rem;border-radius:6px;font-weight:600;text-decoration:none;transition:all 0.3s ease}
.embed-footer-btn--tools{background:linear-gradient(135deg,#3B82F6 0%,#8B5CF6 100%);color:#FFF}
.embed-footer-btn--support{background:#FF5E5B;color:#FFF}
.embed-footer-link{color:#8B5CF6;text-decoration:none;font-weight:600}
</style>
</head>
<body>
<div class="touch-up-timeline">
<!-- SIMPLIFIED EMBED HEADER -->
<header class="touch-up-timeline__header">
<div class="touch-up-timeline__header-content">
<div class="touch-up-timeline__logo-container">
<img src="images/Poli-International-Co.webp" alt="Poli International" class="touch-up-timeline__logo">
</div>
<div class="touch-up-timeline__title-group">
<h1 class="touch-up-timeline__header-title">Tattoo Touch-Up Timeline Calculator</h1>
<p class="touch-up-timeline__header-subtitle">
Calculate fading timelines and plan lifetime tattoo care
</p>
</div>
<div class="touch-up-timeline__header-buttons">
<button id="darkModeToggle" class="touch-up-timeline__dark-mode-toggle">
<span class="dark-mode-icon">◐</span>
</button>
</div>
</div>
</header>
<!-- MAIN TOOL -->
<main class="touch-up-timeline__main">
<div class="touch-up-timeline__container">
<!-- TABS -->
<section class="touch-up-timeline__tabs">
<button class="touch-up-timeline__tab touch-up-timeline__tab--active" data-tab="calculator">
⏱️ Calculator
</button>
<button class="touch-up-timeline__tab" data-tab="fading">
📉 Fading
</button>
<button class="touch-up-timeline__tab" data-tab="maintenance">
📋 Care
</button>
<button class="touch-up-timeline__tab" data-tab="cost">
💰 Costs
</button>
<button class="touch-up-timeline__tab" data-tab="readiness">
✅ Readiness
</button>
</section>
<!-- TAB 1: TOUCH-UP TIMELINE CALCULATOR -->
<div id="tab-calculator" class="touch-up-timeline__tab-content touch-up-timeline__tab-content--active">
<section class="touch-up-timeline__section">
<h2 class="touch-up-timeline__section-title">
<span class="touch-up-timeline__step-number">1</span>
Calculate Your Touch-Up Timeline
</h2>
<form id="touchUpForm" class="touch-up-timeline__form">
<div class="touch-up-timeline__form-grid">
<!-- Tattoo Age -->
<div class="touch-up-timeline__form-group">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Tattoo Age</span>
<span class="touch-up-timeline__label-help">How long since you got it?</span>
</label>
<div class="touch-up-timeline__input-with-unit">
<input type="number" id="tattooAge" class="touch-up-timeline__input" step="0.5" min="0" max="50" value="0" required>
<span class="touch-up-timeline__unit">years</span>
</div>
</div>
<!-- Tattoo Style -->
<div class="touch-up-timeline__form-group">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Tattoo Style</span>
</label>
<select id="tattooStyle" class="touch-up-timeline__select" required>
<option value="">Select style...</option>
<option value="black_and_grey">Black & Grey</option>
<option value="traditional_color">Traditional / American Traditional</option>
<option value="color_realism">Color Realism</option>
<option value="black_realism">Black & Grey Realism</option>
<option value="watercolor">Watercolor</option>
<option value="fine_line">Fine Line / Single Needle</option>
<option value="tribal_blackwork">Tribal / Solid Blackwork</option>
<option value="script_text">Script / Lettering</option>
</select>
</div>
<!-- Colors Used -->
<div class="touch-up-timeline__form-group touch-up-timeline__form-group--full">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Colors Used</span>
<span class="touch-up-timeline__label-help">Select all that apply</span>
</label>
<div class="touch-up-timeline__checkbox-grid">
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="black">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #000;"></span>
Black
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="dark_blue">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #1E40AF;"></span>
Dark Blue
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="purple">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #7C3AED;"></span>
Purple
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="red">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #DC2626;"></span>
Red
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="green">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #10B981;"></span>
Green
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="yellow">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #FCD34D;"></span>
Yellow
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="orange">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #F97316;"></span>
Orange
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="pink_light_colors">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #FCA5A5;"></span>
Pink/Light
</span>
</label>
<label class="touch-up-timeline__checkbox">
<input type="checkbox" name="colors" value="white">
<span class="touch-up-timeline__checkbox-label">
<span class="touch-up-timeline__color-swatch" style="background: #FFF; border: 1px solid #ccc;"></span>
White
</span>
</label>
</div>
</div>
<!-- Body Location -->
<div class="touch-up-timeline__form-group">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Body Location</span>
</label>
<select id="bodyLocation" class="touch-up-timeline__select" required>
<option value="">Select location...</option>
<option value="covered_areas">Covered Areas (Torso, Upper Arms, Thighs)</option>
<option value="occasionally_exposed">Occasionally Exposed (Forearms, Lower Legs)</option>
<option value="frequently_exposed">Frequently Exposed (Hands, Face, Neck)</option>
<option value="high_friction">High Friction (Feet, Hands, Fingers)</option>
</select>
</div>
<!-- Sun Exposure -->
<div class="touch-up-timeline__form-group">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Sun Exposure Level</span>
</label>
<div class="touch-up-timeline__radio-group">
<label class="touch-up-timeline__radio">
<input type="radio" name="sunExposure" value="low" checked>
<span class="touch-up-timeline__radio-label">
<strong>Low</strong> - Usually covered
</span>
</label>
<label class="touch-up-timeline__radio">
<input type="radio" name="sunExposure" value="medium">
<span class="touch-up-timeline__radio-label">
<strong>Medium</strong> - Sometimes exposed
</span>
</label>
<label class="touch-up-timeline__radio">
<input type="radio" name="sunExposure" value="high">
<span class="touch-up-timeline__radio-label">
<strong>High</strong> - Frequently in sun
</span>
</label>
</div>
</div>
<!-- Care Level -->
<div class="touch-up-timeline__form-group">
<label class="touch-up-timeline__label">
<span class="touch-up-timeline__label-text">Care Level</span>
</label>
<div class="touch-up-timeline__radio-group">
<label class="touch-up-timeline__radio">
<input type="radio" name="careLevel" value="excellent">
<span class="touch-up-timeline__radio-label">
<strong>Excellent</strong> - Daily moisturizer, always SPF
</span>
</label>
<label class="touch-up-timeline__radio">
<input type="radio" name="careLevel" value="good" checked>
<span class="touch-up-timeline__radio-label">
<strong>Good</strong> - Regular moisturizer, SPF when exposed
</span>
</label>
<label class="touch-up-timeline__radio">
<input type="radio" name="careLevel" value="fair">
<span class="touch-up-timeline__radio-label">
<strong>Fair</strong> - Occasional moisturizer, some SPF
</span>
</label>
<label class="touch-up-timeline__radio">
<input type="radio" name="careLevel" value="poor">
<span class="touch-up-timeline__radio-label">
<strong>Poor</strong> - Minimal care, no SPF
</span>
</label>
</div>
</div>
</div>
<button type="submit" class="touch-up-timeline__btn touch-up-timeline__btn--primary">
⏱️ Calculate Touch-Up Timeline
</button>
</form>
<!-- Results Section -->
<div id="touchUpResults" class="touch-up-timeline__results" style="display: none;">
<h3 class="touch-up-timeline__results-title">Your Touch-Up Timeline</h3>
<div id="urgencyIndicator" class="touch-up-timeline__urgency-card">
<div class="touch-up-timeline__urgency-icon">⏰</div>
<div class="touch-up-timeline__urgency-content">
<h4 id="urgencyLevel" class="touch-up-timeline__urgency-level"></h4>
<p id="urgencyMessage" class="touch-up-timeline__urgency-message"></p>
</div>
</div>
<div class="touch-up-timeline__results-grid">
<div class="touch-up-timeline__result-card">
<div class="touch-up-timeline__result-icon">📅</div>
<div class="touch-up-timeline__result-label">Current Age</div>
<div id="currentAge" class="touch-up-timeline__result-value"></div>
</div>
<div class="touch-up-timeline__result-card touch-up-timeline__result-card--highlight">
<div class="touch-up-timeline__result-icon">⏱️</div>
<div class="touch-up-timeline__result-label">Touch-Up Recommended In</div>
<div id="touchUpIn" class="touch-up-timeline__result-value"></div>
</div>
<div class="touch-up-timeline__result-card">
<div class="touch-up-timeline__result-icon">📊</div>
<div class="touch-up-timeline__result-label">Fading Progress</div>
<div id="fadingProgress" class="touch-up-timeline__result-value"></div>
</div>
</div>
<div class="touch-up-timeline__fading-order">
<h4 class="touch-up-timeline__subsection-title">What Fades First</h4>
<div id="fadingOrderList" class="touch-up-timeline__fading-list"></div>
</div>
<div class="touch-up-timeline__recommendations">
<h4 class="touch-up-timeline__subsection-title">Recommendations</h4>
<div id="recommendations" class="touch-up-timeline__recommendation-text"></div>
</div>
</div>
</section>
</div>
<!-- Note: Other tabs (fading, maintenance, cost, readiness) are identical to index.html -->
<!-- Keeping only the calculator tab for brevity in embed version -->
<!-- Full version available at standalone page -->
<div id="tab-fading" class="touch-up-timeline__tab-content">
<section class="touch-up-timeline__section">
<h2 class="touch-up-timeline__section-title">
<span class="touch-up-timeline__step-number">2</span>
Fading Prediction Timeline
</h2>
<div class="touch-up-timeline__info-card">
<p>📊 Complete the Touch-Up Calculator first to see your personalized fading timeline.</p>
</div>
<div id="fadingPrediction" class="touch-up-timeline__prediction" style="display: none;">
<div class="touch-up-timeline__timeline">
<h4 class="touch-up-timeline__subsection-title">Your Tattoo Over Time</h4>
<div id="fadingTimeline" class="touch-up-timeline__timeline-visual"></div>
</div>
<div class="touch-up-timeline__comparison">
<h4 class="touch-up-timeline__subsection-title">With Care vs. Without Care</h4>
<div id="careComparison" class="touch-up-timeline__comparison-chart"></div>
</div>
</div>
</section>
</div>
<div id="tab-maintenance" class="touch-up-timeline__tab-content">
<section class="touch-up-timeline__section">
<p style="text-align: center; color: var(--text-secondary); padding: var(--spacing-xl);">
Visit the full tool for comprehensive maintenance schedules and sun protection calculators.
</p>
</section>
</div>
<div id="tab-cost" class="touch-up-timeline__tab-content">
<section class="touch-up-timeline__section">
<p style="text-align: center; color: var(--text-secondary); padding: var(--spacing-xl);">
Visit the full tool for lifetime cost calculations and budget planning.
</p>
</section>
</div>
<div id="tab-readiness" class="touch-up-timeline__tab-content">
<section class="touch-up-timeline__section">
<p style="text-align: center; color: var(--text-secondary); padding: var(--spacing-xl);">
Visit the full tool for touch-up readiness assessment.
</p>
</section>
</div>
</div>
</main>
<section class="embed__email-section">
<div class="embed__email-box">
<h2 class="embed__email-title">🔔 Get Notified of New Tools!</h2>
<p class="embed__email-subtitle">Be first to know when we launch new free tools for tattoo professionals.</p>
<form id="embed-email-form"><div class="embed__email-input-group">
<input type="email" id="embed-email-input" class="embed__email-input" placeholder="Your email address" required>
<button type="submit" class="embed__email-submit">Notify Me</button>
</div>
<p class="embed__email-success" id="embed-email-success" style="display:none">✅ Thanks! We'll notify you when new tools launch!</p>
<p class="embed__email-error" id="embed-email-error" style="display:none">❌ Please enter a valid email address.</p>
<div class="embed__email-trust"><span>✅ Free tool updates only</span><span>✅ No spam</span><span>✅ Unsubscribe anytime</span></div>
</form>
</div>
</section>
<section class="embed__features-section">
<h2 class="embed__features-title">✨ Tool Features</h2>
<div class="embed__features-grid">
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Touch-Up Timeline Guide</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Healing Stage Tracker</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Readiness Assessment</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Professional Advice</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Mobile-Responsive Design</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Dark/Light Mode</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">100% Free, No Ads</span></div>
<div class="embed__feature-item"><span class="embed__feature-check">✅</span><span class="embed__feature-text">Professional Results</span></div>
</div>
</section>
<footer class="embed-footer">
<div class="embed-footer-content">
<a href="https://poliinternational.com/tools" target="_blank" class="embed-footer-btn embed-footer-btn--tools"><span class="btn-icon">🔧</span><span class="btn-text">More Tools</span></a>
<a href='https://ko-fi.com/C0C81NEXBV' target='_blank' class="embed-footer-btn embed-footer-btn--support"><span class="btn-icon">☕</span><span class="btn-text">Support Us</span></a>
<a href="index.html" target="_blank" class="embed-footer-link">Open Full Version →</a>
</div>
</footer>
<!-- MINIMAL FOOTER -->
<footer class="touch-up-timeline__footer">
<div class="touch-up-timeline__footer-info">
<p class="touch-up-timeline__copyright">
© 2025 Poli International
</p>
<p class="touch-up-timeline__disclaimer">
⚠️ Estimates are general guidelines. Results vary by skin type, lifestyle, and care routine.
</p>
</div>
</footer>
</div>
<!-- SCRIPTS -->
<script src="js/longevity-database.js"></script>
<script src="js/calculators.js"></script>
<script src="js/timeline.js"></script>
<script src="js/common.js"></script>
</body>
</html>