- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
525 lines (460 loc) · 31.8 KB
/
Copy pathindex.html
File metadata and controls
525 lines (460 loc) · 31.8 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
<!DOCTYPE html>
<htmllang="en" class="dark" data-theme="dark">
<head>
<metacharset="UTF-8" />
<metaname="viewport" content="width=device-width, initial-scale=1.0" />
<title>EmailForge — Signatures That Impress</title>
<metaname="description" content="The most elegant and intelligent HTML email signature builder. Create premium professional signatures in seconds." />
<!-- Tailwind CSS CDN -->
<scriptsrc="https://cdn.tailwindcss.com"></script>
<!-- Google Fonts: Playfair Display + DM Sans -->
<linkrel="preconnect" href="https://fonts.googleapis.com" />
<linkrel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<linkhref="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet" />
<!-- Custom CSS -->
<linkrel="stylesheet" href="css/style.css" />
<!-- Favicon -->
<linkrel="icon" type="image/x-icon" href="https://blackbirdo.com/images/icon.png" />
<!-- Tailwind config -->
<script>
tailwind.config={
darkMode: 'class',
theme: {
extend: {
fontFamily: {
display: ['Playfair Display','serif'],
body: ['DM Sans','sans-serif'],
mono: ['DM Mono','monospace'],
},
}
}
}
</script>
</head>
<bodyclass="font-body antialiased transition-colors duration-500">
<!-- ─── BACKGROUND ─────────────────────────────────── -->
<divclass="ef-bg-canvas" aria-hidden="true">
<divclass="ef-bg-orb ef-orb-1"></div>
<divclass="ef-bg-orb ef-orb-2"></div>
<divclass="ef-bg-orb ef-orb-3"></div>
<divclass="ef-noise"></div>
</div>
<!-- ─── HEADER ─────────────────────────────────────── -->
<headerclass="ef-header" role="banner">
<divclass="ef-header-inner">
<!-- Logo -->
<ahref="https://icodingstack.github.io/EmailForge/" class="ef-logo" aria-label="EmailForge Home">
<spanclass="ef-logo-icon" aria-hidden="true">
<svgwidth="28" height="28" viewBox="0 0 28 28" fill="none">
<rectx="2" y="6" width="24" height="16" rx="3" stroke="currentColor" stroke-width="1.5"/>
<pathd="M2 9L14 16L26 9" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>
<pathd="M18 14L26 20" stroke="currentColor" stroke-width="1.2" opacity="0.5"/>
<pathd="M10 14L2 20" stroke="currentColor" stroke-width="1.2" opacity="0.5"/>
</svg>
</span>
<spanclass="ef-logo-text">
<spanclass="ef-logo-name">EmailForge</span>
<spanclass="ef-logo-tagline">Signatures That Impress</span>
</span>
</a>
<!-- Right Controls -->
<divclass="ef-header-actions">
<!-- Profile selector -->
<divclass="ef-profile-selector" id="profileSelector">
<buttonclass="ef-btn-ghost ef-profile-btn" id="profileMenuBtn" aria-haspopup="true" aria-expanded="false" title="Switch Signature Profile">
<svgwidth="14" height="14" viewBox="0 0 16 16" fill="none"><circlecx="8" cy="5" r="3" stroke="currentColor" stroke-width="1.4"/><pathd="M2 14c0-3.314 2.686-5 6-5s6 1.686 6 5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
<spanid="activeProfileName">Professional</span>
<svgwidth="10" height="10" viewBox="0 0 10 10" fill="none"><pathd="M2 4l3 3 3-3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
</button>
<divclass="ef-dropdown" id="profileDropdown" role="menu" aria-label="Signature Profiles">
<divclass="ef-dropdown-header">
<span>My Signatures</span>
<buttonclass="ef-btn-link" id="newProfileBtn" title="Create new profile">+ New</button>
</div>
<divid="profileList" class="ef-profile-list"></div>
</div>
</div>
<!-- GitHub link -->
<ahref="https://github.com/ICodingStack/EmailForge" target="_blank" rel="noopener" class="ef-btn-ghost" title="View on GitHub" aria-label="GitHub Repository">
<svgwidth="16" height="16" viewBox="0 0 24 24" fill="currentColor"><pathd="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.008-.866-.013-1.7-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.268 2.75 1.026A9.578 9.578 0 0112 6.836c.85.004 1.705.115 2.504.337 1.909-1.294 2.747-1.026 2.747-1.026.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.741 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg>
</a>
<!-- Theme Toggle -->
<buttonclass="ef-btn-ghost ef-theme-toggle" id="themeToggle" title="Toggle light/dark mode" aria-label="Toggle theme">
<spanclass="ef-sun" aria-hidden="true">
<svgwidth="16" height="16" viewBox="0 0 16 16" fill="none"><circlecx="8" cy="8" r="3" stroke="currentColor" stroke-width="1.4"/><pathd="M8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3.05 3.05l1.06 1.06M11.89 11.89l1.06 1.06M3.05 12.95l1.06-1.06M11.89 4.11l1.06-1.06" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
</span>
<spanclass="ef-moon" aria-hidden="true">
<svgwidth="16" height="16" viewBox="0 0 16 16" fill="none"><pathd="M13.5 10.5A6 6 0 015.5 2.5a6 6 0 108 8z" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
</span>
</button>
</div>
</div>
</header>
<!-- ─── MAIN LAYOUT ────────────────────────────────── -->
<mainclass="ef-main" role="main">
<divclass="ef-layout">
<!-- ── LEFT PANEL: Builder ─────────────────────── -->
<asideclass="ef-panel ef-panel-left" aria-label="Signature Builder">
<!-- Panel Tab Bar -->
<divclass="ef-tabs" role="tablist" aria-label="Builder sections">
<buttonclass="ef-tab ef-tab-active" role="tab" aria-selected="true" aria-controls="panel-info" data-tab="info">
<svgwidth="14" height="14" viewBox="0 0 16 16" fill="none"><circlecx="8" cy="5" r="2.5" stroke="currentColor" stroke-width="1.4"/><pathd="M3 14c0-2.761 2.239-4 5-4s5 1.239 5 4" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
Info
</button>
<buttonclass="ef-tab" role="tab" aria-selected="false" aria-controls="panel-design" data-tab="design">
<svgwidth="14" height="14" viewBox="0 0 16 16" fill="none"><rectx="2" y="2" width="5" height="5" rx="1" stroke="currentColor" stroke-width="1.4"/><rectx="9" y="2" width="5" height="5" rx="1" stroke="currentColor" stroke-width="1.4"/><rectx="2" y="9" width="5" height="5" rx="1" stroke="currentColor" stroke-width="1.4"/><rectx="9" y="9" width="5" height="5" rx="1" stroke="currentColor" stroke-width="1.4"/></svg>
Design
</button>
<buttonclass="ef-tab" role="tab" aria-selected="false" aria-controls="panel-social" data-tab="social">
<svgwidth="14" height="14" viewBox="0 0 16 16" fill="none"><circlecx="12" cy="4" r="1.5" stroke="currentColor" stroke-width="1.4"/><circlecx="4" cy="8" r="1.5" stroke="currentColor" stroke-width="1.4"/><circlecx="12" cy="12" r="1.5" stroke="currentColor" stroke-width="1.4"/><pathd="M5.5 7.2l5-2.4M5.5 8.8l5 2.4" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/></svg>
Social
</button>
<buttonclass="ef-tab" role="tab" aria-selected="false" aria-controls="panel-ai" data-tab="ai">
<svgwidth="14" height="14" viewBox="0 0 16 16" fill="none"><pathd="M8 2L9.5 6H14L10.5 8.5L12 13L8 10.5L4 13L5.5 8.5L2 6H6.5L8 2Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>
AI Magic
</button>
</div>
<!-- ── Tab: Info ───────────────────────────────── -->
<divclass="ef-tab-panel ef-tab-panel-active" id="panel-info" role="tabpanel">
<divclass="ef-section-label">Personal Information</div>
<divclass="ef-field-group">
<divclass="ef-field">
<labelclass="ef-label" for="firstName">First Name</label>
<inputclass="ef-input" type="text" id="firstName" placeholder="Alexandra" autocomplete="given-name" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="lastName">Last Name</label>
<inputclass="ef-input" type="text" id="lastName" placeholder="Chen" autocomplete="family-name" />
</div>
</div>
<divclass="ef-field">
<labelclass="ef-label" for="jobTitle">Job Title</label>
<inputclass="ef-input" type="text" id="jobTitle" placeholder="Creative Director" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="department">Department <spanclass="ef-label-opt">optional</span></label>
<inputclass="ef-input" type="text" id="department" placeholder="Brand & Marketing" />
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Company</div>
<divclass="ef-field">
<labelclass="ef-label" for="company">Company Name</label>
<inputclass="ef-input" type="text" id="company" placeholder="Meridian Studio" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="website">Website</label>
<inputclass="ef-input" type="url" id="website" placeholder="https://meridianstudio.co" />
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Contact Details</div>
<divclass="ef-field">
<labelclass="ef-label" for="email">Email</label>
<inputclass="ef-input" type="email" id="email" placeholder="alex@meridianstudio.co" autocomplete="email" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="phone">Phone</label>
<inputclass="ef-input" type="tel" id="phone" placeholder="+1 (555) 000-0000" autocomplete="tel" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="address">Address <spanclass="ef-label-opt">optional</span></label>
<inputclass="ef-input" type="text" id="address" placeholder="New York, NY 10001" />
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Avatar / Logo</div>
<divclass="ef-avatar-row">
<divclass="ef-avatar-preview" id="avatarPreview" aria-label="Avatar preview">
<svgwidth="24" height="24" viewBox="0 0 24 24" fill="none"><circlecx="12" cy="8" r="4" stroke="currentColor" stroke-width="1.5"/><pathd="M4 20c0-4.418 3.582-7 8-7s8 2.582 8 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>
</div>
<divclass="ef-avatar-controls">
<labelclass="ef-btn-secondary ef-upload-label" for="avatarUpload" role="button" tabindex="0">
<svgwidth="13" height="13" viewBox="0 0 16 16" fill="none"><pathd="M2 10v2a2 2 0 002 2h8a2 2 0 002-2v-2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/><pathd="M8 2v8M5 5l3-3 3 3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
Upload Photo
</label>
<inputtype="file" id="avatarUpload" accept="image/*" class="sr-only" aria-label="Upload avatar image" />
<buttonclass="ef-btn-ghost ef-remove-avatar" id="removeAvatar" title="Remove avatar" style="display:none">Remove</button>
</div>
</div>
<divclass="ef-field ef-mt">
<labelclass="ef-label" for="tagline">Personal Tagline <spanclass="ef-label-opt">optional</span></label>
<inputclass="ef-input" type="text" id="tagline" placeholder="Building brands that people remember." />
</div>
</div>
<!-- ── Tab: Design ─────────────────────────────── -->
<divclass="ef-tab-panel" id="panel-design" role="tabpanel" hidden>
<divclass="ef-section-label">Template</div>
<divclass="ef-templates-grid" id="templatesGrid" role="listbox" aria-label="Signature templates">
<!-- Injected by JS -->
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Accent Color</div>
<divclass="ef-color-row">
<divclass="ef-color-presets" id="colorPresets" role="listbox" aria-label="Color presets"></div>
<divclass="ef-color-custom">
<labelclass="ef-label-small" for="customColor">Custom</label>
<inputtype="color" id="customColor" class="ef-color-input" value="#6366f1" title="Pick custom accent color" aria-label="Custom accent color" />
</div>
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Typography</div>
<divclass="ef-field">
<labelclass="ef-label" for="fontFamily">Font Family</label>
<selectclass="ef-select" id="fontFamily" aria-label="Signature font family">
<optionvalue="Arial, Helvetica, sans-serif">Arial (Universal)</option>
<optionvalue="'Georgia', serif">Georgia (Classic)</option>
<optionvalue="'Trebuchet MS', sans-serif">Trebuchet MS</option>
<optionvalue="'Palatino Linotype', serif">Palatino (Editorial)</option>
<optionvalue="Verdana, sans-serif">Verdana (Readable)</option>
<optionvalue="'Courier New', monospace">Courier New (Technical)</option>
</select>
</div>
<divclass="ef-field">
<labelclass="ef-label" for="fontSize">Base Font Size</label>
<divclass="ef-range-row">
<inputtype="range" id="fontSize" class="ef-range" min="11" max="16" value="13" step="1" aria-valuemin="11" aria-valuemax="16" />
<spanclass="ef-range-val" id="fontSizeVal">13px</span>
</div>
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">Layout Options</div>
<divclass="ef-toggle-row">
<labelclass="ef-toggle-label" for="showDivider">Show divider line</label>
<labelclass="ef-toggle" aria-label="Toggle divider line">
<inputtype="checkbox" id="showDivider" checkedrole="switch" />
<spanclass="ef-toggle-track"><spanclass="ef-toggle-thumb"></span></span>
</label>
</div>
<divclass="ef-toggle-row">
<labelclass="ef-toggle-label" for="showAvatar">Show avatar/photo</label>
<labelclass="ef-toggle" aria-label="Toggle avatar display">
<inputtype="checkbox" id="showAvatar" checkedrole="switch" />
<spanclass="ef-toggle-track"><spanclass="ef-toggle-thumb"></span></span>
</label>
</div>
<divclass="ef-toggle-row">
<labelclass="ef-toggle-label" for="showIcons">Show social icons</label>
<labelclass="ef-toggle" aria-label="Toggle social icons">
<inputtype="checkbox" id="showIcons" checkedrole="switch" />
<spanclass="ef-toggle-track"><spanclass="ef-toggle-thumb"></span></span>
</label>
</div>
<divclass="ef-toggle-row">
<labelclass="ef-toggle-label" for="showTagline">Show tagline</label>
<labelclass="ef-toggle" aria-label="Toggle tagline">
<inputtype="checkbox" id="showTagline" checkedrole="switch" />
<spanclass="ef-toggle-track"><spanclass="ef-toggle-thumb"></span></span>
</label>
</div>
</div>
<!-- ── Tab: Social ─────────────────────────────── -->
<divclass="ef-tab-panel" id="panel-social" role="tabpanel" hidden>
<divclass="ef-section-label">Social & Professional Links</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="linkedin">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="currentColor"><pathd="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"/><circlecx="4" cy="4" r="2"/></svg>
LinkedIn
</label>
<inputclass="ef-input" type="url" id="linkedin" placeholder="https://linkedin.com/in/yourprofile" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="twitter">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="currentColor"><pathd="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>
X / Twitter
</label>
<inputclass="ef-input" type="url" id="twitter" placeholder="https://x.com/yourhandle" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="instagram">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="none"><rectx="2" y="2" width="20" height="20" rx="5" stroke="currentColor" stroke-width="1.7"/><circlecx="12" cy="12" r="4" stroke="currentColor" stroke-width="1.7"/><circlecx="17.5" cy="6.5" r="1" fill="currentColor"/></svg>
Instagram
</label>
<inputclass="ef-input" type="url" id="instagram" placeholder="https://instagram.com/yourhandle" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="github">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="currentColor"><pathd="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.166 6.839 9.489.5.092.682-.217.682-.482 0-.237-.008-.866-.013-1.7-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.463-1.11-1.463-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.268 2.75 1.026A9.578 9.578 0 0112 6.836c.85.004 1.705.115 2.504.337 1.909-1.294 2.747-1.026 2.747-1.026.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.741 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/></svg>
GitHub
</label>
<inputclass="ef-input" type="url" id="github" placeholder="https://github.com/yourusername" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="dribbble">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="none"><circlecx="12" cy="12" r="10" stroke="currentColor" stroke-width="1.7"/><pathd="M8.5 3.5C9.5 7 11 11 14 13.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><pathd="M3.5 10.5c3 .5 7 .5 10 2.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><pathd="M15.5 3.5c.5 3 0 8-2 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>
Dribbble
</label>
<inputclass="ef-input" type="url" id="dribbble" placeholder="https://dribbble.com/yourprofile" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="youtube">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="currentColor"><pathd="M22.54 6.42a2.78 2.78 0 00-1.95-1.96C18.88 4 12 4 12 4s-6.88 0-8.59.46a2.78 2.78 0 00-1.95 1.96A29 29 0 001 12a29 29 0 00.46 5.58A2.78 2.78 0 003.41 19.6C5.12 20 12 20 12 20s6.88 0 8.59-.46a2.78 2.78 0 001.95-1.95A29 29 0 0023 12a29 29 0 00-.46-5.58zM9.75 15.02V8.98L15.5 12l-5.75 3.02z"/></svg>
YouTube
</label>
<inputclass="ef-input" type="url" id="youtube" placeholder="https://youtube.com/@yourchannel" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="calendly">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="none"><rectx="3" y="4" width="18" height="18" rx="2" stroke="currentColor" stroke-width="1.7"/><pathd="M3 9h18M8 2v4M16 2v4" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/></svg>
Book a Meeting
</label>
<inputclass="ef-input" type="url" id="calendly" placeholder="https://calendly.com/yourlink" />
</div>
<divclass="ef-field">
<labelclass="ef-label ef-label-icon" for="whatsapp">
<svgwidth="13" height="13" viewBox="0 0 24 24" fill="currentColor"><pathd="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z"/><pathd="M12 2C6.477 2 2 6.477 2 12c0 1.89.525 3.66 1.438 5.168L2 22l4.984-1.406A9.962 9.962 0 0012 22c5.523 0 10-4.477 10-10S17.523 2 12 2z"/></svg>
WhatsApp
</label>
<inputclass="ef-input" type="tel" id="whatsapp" placeholder="+1 555 000 0000" />
</div>
</div>
<!-- ── Tab: AI Magic ────────────────────────────── -->
<divclass="ef-tab-panel" id="panel-ai" role="tabpanel" hidden>
<divclass="ef-ai-hero">
<divclass="ef-ai-icon" aria-hidden="true">
<svgwidth="32" height="32" viewBox="0 0 32 32" fill="none">
<pathd="M16 4L19 12H28L21 17.5L24 26L16 21L8 26L11 17.5L4 12H13L16 4Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>
</svg>
</div>
<h2class="ef-ai-title">AI Signature Builder</h2>
<pclass="ef-ai-desc">Enter just three details. EmailForge's AI will craft a complete, polished professional signature instantly.</p>
</div>
<divclass="ef-ai-form">
<divclass="ef-field">
<labelclass="ef-label" for="aiName">Your Full Name <spanclass="ef-required">*</span></label>
<inputclass="ef-input" type="text" id="aiName" placeholder="e.g. Marcus Webb" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="aiTitle">Job Title <spanclass="ef-required">*</span></label>
<inputclass="ef-input" type="text" id="aiTitle" placeholder="e.g. Senior Product Designer" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="aiCompany">Company <spanclass="ef-required">*</span></label>
<inputclass="ef-input" type="text" id="aiCompany" placeholder="e.g. Vertex Labs" />
</div>
<divclass="ef-field">
<labelclass="ef-label" for="aiTone">Tone & Style</label>
<selectclass="ef-select" id="aiTone" aria-label="AI generation tone">
<optionvalue="executive">Executive — authoritative & polished</option>
<optionvalue="creative">Creative — bold & memorable</option>
<optionvalue="minimal">Minimal — clean & refined</option>
<optionvalue="warm">Warm — approachable & friendly</option>
<optionvalue="technical">Technical — precise & professional</option>
</select>
</div>
<buttonclass="ef-btn-ai" id="generateAiBtn" aria-label="Generate AI signature">
<spanclass="ef-btn-ai-icon" aria-hidden="true">
<svgwidth="16" height="16" viewBox="0 0 16 16" fill="none"><pathd="M8 2L9.5 6H14L10.5 8.5L12 13L8 10.5L4 13L5.5 8.5L2 6H6.5L8 2Z" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>
</span>
<spanid="aiBtnText">Generate My Signature</span>
<spanclass="ef-btn-ai-shine" aria-hidden="true"></span>
</button>
<divclass="ef-ai-status" id="aiStatus" aria-live="polite" aria-atomic="true"></div>
</div>
<divclass="ef-divider"></div>
<divclass="ef-section-label">What AI Fills For You</div>
<ulclass="ef-ai-features" aria-label="AI-generated features list">
<li><spanclass="ef-check" aria-hidden="true">✦</span> Smart email address generation</li>
<li><spanclass="ef-check" aria-hidden="true">✦</span> Professional website URL</li>
<li><spanclass="ef-check" aria-hidden="true">✦</span> Phone number placeholder</li>
<li><spanclass="ef-check" aria-hidden="true">✦</span> Tailored personal tagline</li>
<li><spanclass="ef-check" aria-hidden="true">✦</span> LinkedIn & Twitter handles</li>
<li><spanclass="ef-check" aria-hidden="true">✦</span> Best-fit template selection</li>
</ul>
</div>
</aside>
<!-- ── RIGHT PANEL: Preview & Export ──────────────── -->
<sectionclass="ef-panel ef-panel-right" aria-label="Signature Preview & Export">
<!-- Preview Header -->
<divclass="ef-preview-header">
<divclass="ef-preview-title-row">
<spanclass="ef-preview-title">Live Preview</span>
<divclass="ef-preview-client-tabs" role="tablist" aria-label="Email client preview">
<buttonclass="ef-client-tab ef-client-active" data-client="gmail" role="tab" aria-selected="true">Gmail</button>
<buttonclass="ef-client-tab" data-client="outlook" role="tab" aria-selected="false">Outlook</button>
<buttonclass="ef-client-tab" data-client="apple" role="tab" aria-selected="false">Apple Mail</button>
</div>
</div>
<!-- Mock email chrome -->
<divclass="ef-email-chrome" aria-hidden="true">
<divclass="ef-email-chrome-dots">
<span></span><span></span><span></span>
</div>
<divclass="ef-email-chrome-address" id="clientLabel">Gmail — Compose</div>
</div>
</div>
<!-- Email Mock Body -->
<divclass="ef-email-mock" role="region" aria-label="Email preview window">
<divclass="ef-email-body">
<divclass="ef-email-to">
<spanclass="ef-email-label">To:</span>
<spanclass="ef-email-val">sarah.johnson@acmecorp.com</span>
</div>
<divclass="ef-email-subject">
<spanclass="ef-email-label">Subject:</span>
<spanclass="ef-email-val">Following up on our conversation</span>
</div>
<divclass="ef-email-content">
<p>Hi Sarah,</p>
<p>Thanks for taking the time to meet yesterday. I've outlined our proposal below and would love to discuss the next steps at your earliest convenience.</p>
<p>Looking forward to hearing from you.</p>
<p>Best regards,</p>
</div>
<divclass="ef-signature-wrapper" id="signatureWrapper">
<!-- Signature injected here by JS -->
</div>
</div>
</div>
<!-- Export Bar -->
<divclass="ef-export-bar">
<divclass="ef-export-label" aria-label="Export options">Export Signature:</div>
<divclass="ef-export-actions">
<buttonclass="ef-btn-export ef-btn-primary-export" id="copyHtmlBtn" title="Copy raw HTML code" aria-label="Copy HTML code">
<svgwidth="13" height="13" viewBox="0 0 16 16" fill="none"><pathd="M10.5 2H13a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V3a1 1 0 011-1h2.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/><rectx="5" y="1" width="6" height="3" rx="1" stroke="currentColor" stroke-width="1.4"/></svg>
Copy HTML
</button>
<buttonclass="ef-btn-export" id="copyGmailBtn" title="Copy optimized for Gmail" aria-label="Copy for Gmail">
<svgwidth="13" height="13" viewBox="0 0 16 16" fill="none"><rectx="2" y="3" width="12" height="10" rx="1.5" stroke="currentColor" stroke-width="1.4"/><pathd="M2 5l6 4 6-4" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>
Gmail
</button>
<buttonclass="ef-btn-export" id="copyOutlookBtn" title="Copy optimized for Outlook" aria-label="Copy for Outlook">
<svgwidth="13" height="13" viewBox="0 0 16 16" fill="none"><rectx="1" y="4" width="9" height="8" rx="1.5" stroke="currentColor" stroke-width="1.4"/><pathd="M10 6l5-3v10l-5-3" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"/></svg>
Outlook
</button>
<buttonclass="ef-btn-export ef-btn-plain" id="copyPlainBtn" title="Copy as plain text" aria-label="Copy plain text">
<svgwidth="13" height="13" viewBox="0 0 16 16" fill="none"><pathd="M3 4h10M3 7h8M3 10h6" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg>
Plain Text
</button>
</div>
</div>
<!-- Toast Notification -->
<divclass="ef-toast" id="toastNotif" role="status" aria-live="polite" aria-atomic="true"></div>
<!-- HTML Code Panel -->
<divclass="ef-code-panel" id="codePanel">
<divclass="ef-code-panel-header">
<span>Generated HTML</span>
<buttonclass="ef-btn-ghost ef-close-code" id="closeCodePanel" aria-label="Close code panel">✕</button>
</div>
<preclass="ef-code-pre" id="codeOutput" tabindex="0" aria-label="Signature HTML code"></pre>
</div>
</section>
</div>
</main>
<!-- ─── PROFILE NAME MODAL ─────────────────────────── -->
<divclass="ef-modal-overlay" id="modalOverlay" role="dialog" aria-modal="true" aria-label="Name your signature profile" hidden>
<divclass="ef-modal">
<h3class="ef-modal-title">Name Your Signature</h3>
<pclass="ef-modal-desc">Give this profile a name so you can find it easily later.</p>
<inputclass="ef-input ef-modal-input" type="text" id="profileNameInput" placeholder="e.g. Sales, Support, Personal..." maxlength="40" aria-label="Profile name" />
<divclass="ef-modal-actions">
<buttonclass="ef-btn-secondary" id="cancelModal">Cancel</button>
<buttonclass="ef-btn-primary" id="saveModal">Save Profile</button>
</div>
</div>
</div>
<!-- ─── SCRIPTS ─────────────────────────────────────── -->
<scriptsrc="js/utils.js"></script>
<scriptsrc="js/signature-generator.js"></script>
<scriptsrc="js/preview-renderer.js"></script>
<scriptsrc="js/copy-utils.js"></script>
<scriptsrc="js/ai-signature-builder.js"></script>
<scriptsrc="js/main.js"></script>
</body>
</html>