-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
506 lines (462 loc) · 39.3 KB
/
Copy pathindex.html
File metadata and controls
506 lines (462 loc) · 39.3 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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SignPDF — Sign, Initial & Stamp PDFs Online (Free & Private) | Bros AI</title>
<meta name="description" content="SignPDF: sign PDF documents, add initials to every page and design a realistic company stamp (tampon de société) — 11 country styles, background removal for scanned signatures. Free, no account, 100% in your browser: your files never leave your device.">
<meta name="keywords" content="sign pdf online, signature pdf, signer pdf gratuit, parapher pdf, tampon société, tampon entreprise, company stamp maker, cachet entreprise, pdf signature tool, e-signature, initials pdf, stamp pdf, hanko, company chop, bros ai, gauthier bros">
<meta name="author" content="Bros AI">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#4361ee">
<link rel="canonical" href="https://bros-ai.github.io/SignPDF/">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://bros-ai.github.io/SignPDF/">
<meta property="og:title" content="SignPDF — Sign, Initial & Stamp PDFs in your browser">
<meta property="og:description" content="Draw signatures, initial every page, design a realistic company stamp (11 country styles) and apply everything to your PDFs. Free & private: nothing leaves your device.">
<meta property="og:site_name" content="SignPDF">
<meta property="og:image" content="https://bros-ai.github.io/SignPDF/assets/og-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="SignPDF — sign, initial and stamp PDF documents in your browser">
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="fr_FR">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="SignPDF — Sign, Initial & Stamp PDFs in your browser">
<meta name="twitter:description" content="Signatures, initials and realistic company stamps for your PDFs. Free & private — everything stays on your device.">
<meta name="twitter:image" content="https://bros-ai.github.io/SignPDF/assets/og-image.png">
<meta name="twitter:site" content="@GauthierBros">
<meta name="twitter:creator" content="@GauthierBros">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🖋</text></svg>">
<!-- Structured data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "SignPDF",
"url": "https://bros-ai.github.io/SignPDF/",
"description": "Sign PDF documents, add initials and design realistic company stamps — free, no account, 100% in the browser.",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Any (Web browser)",
"browserRequirements": "Requires JavaScript",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "EUR" },
"inLanguage": ["en", "fr"],
"featureList": "PDF signature, initials on every page, company stamp designer with 11 country styles, background removal for scanned signatures, dark mode, French and English",
"author": {
"@type": "Person",
"name": "Gauthier Bros",
"url": "https://bros.ai",
"sameAs": [
"https://github.com/Bros-AI",
"https://x.com/GauthierBros",
"https://www.linkedin.com/in/gauthier-bros/"
]
}
}
</script>
<!-- External libraries (pinned + SRI) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"
integrity="sha512-q+4liFwdPC/bNdhUpZx6aXDx/h77yEQtn4I1slHydcbZK34nLaR3cAeYSJshoxIOq3mjEf7xJE8YWIUHMn+oCQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/5.3.1/fabric.min.js"
integrity="sha512-CeIsOAsgJnmevfCi2C7Zsyy6bQKi43utIjdA87Q0ZY84oDqnI0uwfM9+bKiIkI75lUeI00WG/+uJzOmuHlesMA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf-lib/1.17.1/pdf-lib.min.js"
integrity="sha512-z8IYLHO8bTgFqj+yrPyIJnzBDf7DDhWwiEsk4sY+Oe6J2M+WQequeGS7qioI5vT6rXgVRb4K1UVQC5ER7MKzKQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header class="topbar">
<div class="topbar-inner">
<a class="brand" href="#" aria-label="SignPDF home">
<span class="brand-mark" aria-hidden="true">🖋️</span>
<span class="brand-name">SignPDF</span>
<span class="brand-badge">v2.0</span>
</a>
<div class="topbar-actions">
<span class="privacy-pill" data-i18n="privacyPill">100% local — nothing is uploaded</span>
<button class="icon-btn" id="langToggle" type="button" aria-label="Switch language">FR</button>
<button class="icon-btn" id="themeToggle" type="button" aria-label="Toggle dark mode">🌙</button>
<a class="icon-btn" href="https://github.com/Bros-AI/SignPDF" target="_blank" rel="noopener" aria-label="GitHub repository">
<svg width="18" height="18" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
</a>
</div>
</div>
</header>
<div class="hero-section">
<h1 class="hero-title" data-i18n="heroTitle">Sign, Initial & Stamp your PDFs</h1>
<p class="hero-subtitle" data-i18n="heroSubtitle">Draw your signature, add initials, design a realistic company stamp — then place everything on your document. Everything runs in your browser: no account, no server, no data leaves your device.</p>
</div>
<div class="container">
<div class="toast-stack" id="toastStack" aria-live="polite"></div>
<div class="app-container">
<!-- ============================ STEP 1 ============================ -->
<section class="step card" id="step1">
<div class="step-title">
<div class="number">1</div>
<h2 data-i18n="step1Title">Create your signature, initials & stamp</h2>
</div>
<div class="signature-tab-container">
<div class="signature-tabs" role="tablist">
<button class="signature-tab active" role="tab" aria-selected="true" data-tab="signature" data-i18n="tabSignature">Signature</button>
<button class="signature-tab" role="tab" aria-selected="false" data-tab="paraf" data-i18n="tabInitials">Initials</button>
<button class="signature-tab" role="tab" aria-selected="false" data-tab="stamp" data-i18n="tabStamp">Company stamp</button>
</div>
<!-- ------- Signature tab ------- -->
<div class="signature-tab-content active" id="signature-tab" role="tabpanel">
<div class="signature-options">
<button class="option-btn active" id="uploadOption" type="button">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>
<span data-i18n="uploadImage">Upload image</span>
</button>
<button class="option-btn" id="drawOption" type="button">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"></path></svg>
<span data-i18n="drawSignature">Draw signature</span>
</button>
</div>
<div id="uploadContainer">
<div class="dropzone" id="signatureDropzone">
<p data-i18n="dropSignature">Drag & drop your signature image here</p>
<p class="dropzone-or" data-i18n="or">or</p>
<input type="file" id="signatureUpload" accept="image/*" hidden />
<button class="upload-btn" id="browseSignature" type="button" data-i18n="browseFiles">Browse files</button>
</div>
<div class="preview-container">
<img id="signaturePreview" alt="Signature preview" />
</div>
<div class="sig-editor" id="signatureEditor" hidden>
<div class="sig-edit-frame">
<canvas id="signatureEditCanvas" aria-label="Signature transparency preview"></canvas>
</div>
<div class="sig-editor-controls">
<label class="range-label"><span data-i18n="bgRemoval">Background removal</span>
<input type="range" id="signatureBg" min="0" max="100" value="45">
</label>
<label class="range-label"><span data-i18n="inkBoost">Ink intensity</span>
<input type="range" id="signatureInk" min="0" max="100" value="0">
</label>
<button class="action-btn" id="signatureEditReset" type="button" data-i18n="resetOriginal">Reset</button>
</div>
</div>
</div>
<div class="signature-pad-container" id="drawContainer" hidden>
<div class="pen-controls">
<div class="swatches" id="penColors" role="group" aria-label="Pen color">
<button class="swatch active" type="button" data-color="#111827" style="--sw:#111827" aria-label="Black ink"></button>
<button class="swatch" type="button" data-color="#1e40af" style="--sw:#1e40af" aria-label="Blue ink"></button>
<button class="swatch" type="button" data-color="#0f766e" style="--sw:#0f766e" aria-label="Teal ink"></button>
</div>
<label class="range-label"><span data-i18n="penWidth">Pen width</span>
<input type="range" id="penWidth" min="1" max="7" value="3" step="0.5">
</label>
</div>
<canvas id="signaturePad" aria-label="Signature drawing pad"></canvas>
<div class="signature-pad-actions">
<button class="action-btn clear-btn" id="clearSignature" type="button" data-i18n="clear">Clear</button>
<button class="action-btn save-btn" id="saveSignature" type="button" data-i18n="saveSignature">Save signature</button>
</div>
</div>
</div>
<!-- ------- Initials tab ------- -->
<div class="signature-tab-content" id="paraf-tab" role="tabpanel" hidden>
<div class="signature-options">
<button class="option-btn active" id="uploadParafOption" type="button">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>
<span data-i18n="uploadImage">Upload image</span>
</button>
<button class="option-btn" id="drawParafOption" type="button">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"></path></svg>
<span data-i18n="drawInitials">Draw initials</span>
</button>
</div>
<div id="uploadParafContainer">
<div class="dropzone" id="parafDropzone">
<p data-i18n="dropInitials">Drag & drop your initials image here</p>
<p class="dropzone-or" data-i18n="or">or</p>
<input type="file" id="parafUpload" accept="image/*" hidden />
<button class="upload-btn" id="browseParaf" type="button" data-i18n="browseFiles">Browse files</button>
</div>
<div class="preview-container">
<img id="parafPreview" alt="Initials preview" />
</div>
<div class="sig-editor" id="parafEditor" hidden>
<div class="sig-edit-frame">
<canvas id="parafEditCanvas" aria-label="Initials transparency preview"></canvas>
</div>
<div class="sig-editor-controls">
<label class="range-label"><span data-i18n="bgRemoval">Background removal</span>
<input type="range" id="parafBg" min="0" max="100" value="45">
</label>
<label class="range-label"><span data-i18n="inkBoost">Ink intensity</span>
<input type="range" id="parafInk" min="0" max="100" value="0">
</label>
<button class="action-btn" id="parafEditReset" type="button" data-i18n="resetOriginal">Reset</button>
</div>
</div>
</div>
<div class="signature-pad-container" id="drawParafContainer" hidden>
<canvas id="parafPad" aria-label="Initials drawing pad"></canvas>
<div class="signature-pad-actions">
<button class="action-btn clear-btn" id="clearParaf" type="button" data-i18n="clear">Clear</button>
<button class="action-btn save-btn" id="saveParaf" type="button" data-i18n="saveInitials">Save initials</button>
</div>
</div>
</div>
<!-- ------- Stamp designer tab ------- -->
<div class="signature-tab-content" id="stamp-tab" role="tabpanel" hidden>
<p class="stamp-intro" data-i18n="stampIntro">Design a realistic stamp for your own company — curved text, ink color and natural wear included.</p>
<div class="stamp-designer">
<div class="stamp-form">
<label class="field-group">
<span class="field-label" data-i18n="stampCountry">Country style</span>
<select id="stampCountry">
<option value="custom" data-i18n="presetCustom">Custom</option>
<option value="fr" selected>🇫🇷 France</option>
<option value="be">🇧🇪 Belgique</option>
<option value="ch">🇨🇭 Suisse / Schweiz</option>
<option value="de">🇩🇪 Deutschland</option>
<option value="uk">🇬🇧 United Kingdom</option>
<option value="us">🇺🇸 United States</option>
<option value="es">🇪🇸 España</option>
<option value="it">🇮🇹 Italia</option>
<option value="in">🇮🇳 India</option>
<option value="cn">🇨🇳 中国</option>
<option value="jp">🇯🇵 日本</option>
</select>
</label>
<div class="field-group">
<span class="field-label" data-i18n="stampShape">Shape</span>
<div class="segmented" id="stampShape" role="group">
<button type="button" class="seg-btn active" data-value="round" data-i18n="shapeRound">Round</button>
<button type="button" class="seg-btn" data-value="oval" data-i18n="shapeOval">Oval</button>
<button type="button" class="seg-btn" data-value="rect" data-i18n="shapeRect">Rectangular</button>
</div>
</div>
<label class="field-group">
<span class="field-label" data-i18n="stampTopText">Top text (curved)</span>
<input type="text" id="stampTop" maxlength="60" value="MA SOCIÉTÉ SARL" autocomplete="organization">
</label>
<label class="field-group">
<span class="field-label" data-i18n="stampBottomText">Bottom text (curved)</span>
<input type="text" id="stampBottom" maxlength="60" value="PARIS — FRANCE">
</label>
<label class="field-group">
<span class="field-label" data-i18n="stampCenterLines">Center lines (one per line)</span>
<textarea id="stampLines" rows="4" maxlength="240">12 RUE DE L'EXEMPLE
75001 PARIS
SIRET 123 456 789 00012
Tél. 01 23 45 67 89</textarea>
</label>
<div class="field-row">
<div class="field-group">
<span class="field-label" data-i18n="stampInk">Ink color</span>
<div class="swatches" id="stampColors" role="group" aria-label="Ink color">
<button class="swatch active" type="button" data-color="#2f4e9e" style="--sw:#2f4e9e" aria-label="Blue"></button>
<button class="swatch" type="button" data-color="#1f2430" style="--sw:#1f2430" aria-label="Black"></button>
<button class="swatch" type="button" data-color="#b3282d" style="--sw:#b3282d" aria-label="Red"></button>
<button class="swatch" type="button" data-color="#1d6b3c" style="--sw:#1d6b3c" aria-label="Green"></button>
<button class="swatch" type="button" data-color="#5b2d8e" style="--sw:#5b2d8e" aria-label="Purple"></button>
</div>
</div>
<label class="field-group">
<span class="field-label" data-i18n="stampFont">Font</span>
<select id="stampFont">
<option value="sans" selected data-i18n="fontSans">Sans-serif (modern)</option>
<option value="serif" data-i18n="fontSerif">Serif (classic)</option>
<option value="mono" data-i18n="fontMono">Typewriter</option>
</select>
</label>
</div>
<div class="field-row">
<label class="field-group">
<span class="field-label" data-i18n="stampBorder">Border</span>
<select id="stampBorder">
<option value="double" selected data-i18n="borderDouble">Double line</option>
<option value="single" data-i18n="borderSingle">Single line</option>
</select>
</label>
<label class="field-group">
<span class="field-label" data-i18n="stampSeparator">Separators</span>
<select id="stampSeparator">
<option value="star" selected>★</option>
<option value="dot">●</option>
<option value="none" data-i18n="sepNone">None</option>
</select>
</label>
</div>
<label class="range-label"><span data-i18n="stampWear">Ink wear / texture</span>
<input type="range" id="stampWear" min="0" max="100" value="35">
</label>
<label class="range-label"><span data-i18n="stampPressure">Uneven pressure</span>
<input type="range" id="stampPressure" min="0" max="100" value="40">
</label>
<div class="check-row">
<label class="checkbox-label">
<input type="checkbox" id="stampShowDate">
<span data-i18n="stampShowDate">Include today's date</span>
</label>
<label class="checkbox-label">
<input type="checkbox" id="stampTilt" checked>
<span data-i18n="stampTilt">Natural tilt when placed</span>
</label>
</div>
</div>
<div class="stamp-preview-panel">
<div class="stamp-preview-frame">
<canvas id="stampPreview" aria-label="Stamp preview"></canvas>
</div>
<div class="stamp-preview-actions">
<button class="action-btn" id="stampShuffle" type="button" title="New ink texture">🎲 <span data-i18n="stampShuffle">New texture</span></button>
<button class="action-btn" id="stampDownload" type="button">⬇ <span data-i18n="stampDownload">PNG</span></button>
<button class="action-btn save-btn" id="stampUse" type="button" data-i18n="stampUse">Save stamp</button>
</div>
<p class="fine-print" data-i18n="stampLegal">Only create stamps for organizations you are authorized to represent.</p>
</div>
</div>
</div>
</div>
</section>
<!-- ============================ STEP 2 ============================ -->
<section class="step card" id="step2">
<div class="step-title">
<div class="number">2</div>
<h2 data-i18n="step2Title">Upload your document</h2>
</div>
<div class="dropzone" id="documentDropzone">
<p data-i18n="dropDocument">Drag & drop your PDF document here</p>
<p class="dropzone-or" data-i18n="or">or</p>
<input type="file" id="documentUpload" accept="application/pdf,.pdf" hidden />
<button class="upload-btn" id="browseDocument" type="button" data-i18n="browseFiles">Browse files</button>
</div>
<div class="loading" id="documentLoading" hidden>
<div class="spinner" role="status" aria-label="Loading"></div>
</div>
<div class="document-preview" id="documentPreview" hidden>
<div class="doc-toolbar">
<div class="pagination" id="pagination"></div>
<p class="page-indicator"><span data-i18n="page">Page</span> <span id="currentPage">1</span> / <span id="totalPages">1</span></p>
<div class="zoom-controls" role="group" aria-label="Zoom">
<button class="icon-btn" id="zoomOut" type="button" aria-label="Zoom out">−</button>
<span class="zoom-level" id="zoomLevel">150%</span>
<button class="icon-btn" id="zoomIn" type="button" aria-label="Zoom in">+</button>
</div>
</div>
<div class="canvas-container">
<canvas id="pdfCanvas"></canvas>
</div>
</div>
</section>
<!-- ============================ STEP 3 ============================ -->
<section class="step card" id="step3">
<div class="step-title">
<div class="number">3</div>
<h2 data-i18n="step3Title">Place & export</h2>
</div>
<p class="step-hint" data-i18n="step3Hint">Drag, resize and rotate items directly on the page. Select an item and press Delete to remove it.</p>
<div class="options-row">
<label class="checkbox-label">
<input type="checkbox" id="includeTimestamp" checked>
<span data-i18n="optTimestamp">Add date & time under signatures</span>
</label>
<label class="checkbox-label">
<input type="checkbox" id="includeIP">
<span data-i18n="optIP">Also include my IP address</span>
</label>
</div>
<div class="document-actions">
<button class="action-btn primary-btn" id="addSignature" type="button">✍️ <span data-i18n="addSignature">Add signature</span></button>
<button class="action-btn primary-btn" id="addBottomSignature" type="button">⬇️ <span data-i18n="addBottom">Signature at bottom</span></button>
<button class="action-btn info-btn" id="addParaf" type="button">🔤 <span data-i18n="addInitials">Add initials</span></button>
<button class="action-btn warning-btn" id="addAllParaf" type="button">📑 <span data-i18n="initialAll">Initial every page</span></button>
<button class="action-btn stamp-btn" id="addStamp" type="button">🏷️ <span data-i18n="addStamp">Add stamp</span></button>
<button class="action-btn danger-btn" id="removeSelected" type="button">🗑️ <span data-i18n="removeSelected">Remove selected</span></button>
<button class="action-btn success-btn" id="saveDocument" type="button">💾 <span data-i18n="saveDocument">Download signed PDF</span></button>
</div>
<div class="progress-bar" id="progressBar" hidden>
<div class="progress" id="progress"></div>
</div>
</section>
</div>
</div>
<footer class="footer">
<div class="footer-inner">
<a href="https://bros.ai" target="_blank" rel="noopener noreferrer" class="made-with-love">
<span data-i18n="footerMade">Created with</span> ❤️ <span>by Bros AI</span>
</a>
<p class="footer-privacy" data-i18n="footerPrivacy">Your files never leave your device.</p>
<div class="footer-links">
<button id="openSupport" class="footer-cta" type="button" data-i18n="footerShare">🔗 Share</button>
<a class="social-btn" href="https://github.com/Bros-AI/SignPDF" target="_blank" rel="noopener noreferrer" aria-label="SignPDF on GitHub">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
</a>
<a class="social-btn" href="https://x.com/GauthierBros" target="_blank" rel="noopener noreferrer" aria-label="Gauthier Bros on X">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="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>
</a>
<a class="social-btn" href="https://www.linkedin.com/in/gauthier-bros/" target="_blank" rel="noopener noreferrer" aria-label="Gauthier Bros on LinkedIn">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>
</a>
</div>
</div>
</footer>
<!-- ====== SUPPORT / SHARE MODAL ====== -->
<div id="supportOverlay" class="modal-overlay" hidden>
<div class="modal-card" role="dialog" aria-modal="true" aria-labelledby="supportTitle">
<button class="modal-close" id="supportClose" type="button" aria-label="Close">✕</button>
<div class="modal-emoji">🖋️</div>
<h2 id="supportTitle" data-i18n="supportTitle">Your PDF is on its way!</h2>
<p class="modal-sub" data-i18n="supportSubtitle">SignPDF is free and open source. If it saved you time, a star or a share helps enormously!</p>
<div class="support-grid">
<a class="support-btn star" href="https://github.com/Bros-AI/SignPDF" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.401 8.168L12 19.301l-7.335 3.864 1.401-8.168L.132 9.21l8.2-1.192z"/></svg>
<span data-i18n="supportStar">Star the project</span>
</a>
<a class="support-btn" href="https://github.com/Bros-AI" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
<span data-i18n="supportContribute">Contribute on GitHub</span>
</a>
<a class="support-btn" href="https://x.com/GauthierBros" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="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>
<span>X / Twitter</span>
</a>
<a class="support-btn" href="https://www.linkedin.com/in/gauthier-bros/" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>
<span>LinkedIn</span>
</a>
</div>
<div class="modal-divider"><span data-i18n="shareTitle">Share SignPDF</span></div>
<div class="share-grid">
<a class="share-btn" id="shareX" href="#" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="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>
<span>X</span>
</a>
<a class="share-btn" id="shareLinkedIn" href="#" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>
<span>LinkedIn</span>
</a>
<a class="share-btn" id="shareReddit" href="#" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"/></svg>
<span>Reddit</span>
</a>
<a class="share-btn" id="shareEmail" href="#">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
<span>Email</span>
</a>
</div>
<div class="share-copy-row">
<input class="share-copy-input" id="shareCopyInput" type="text" value="https://bros-ai.github.io/SignPDF/" readonly>
<button class="share-copy-btn" id="shareCopyBtn" type="button" data-i18n="shareCopy">Copy</button>
</div>
<button class="modal-later" id="supportLater" type="button" data-i18n="supportLater">Maybe later</button>
</div>
</div>
<script>
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';
</script>
<script src="i18n.js"></script>
<script src="stamp.js"></script>
<script src="script.js"></script>
</body>
</html>