-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.html
More file actions
651 lines (587 loc) · 37.5 KB
/
documentation.html
File metadata and controls
651 lines (587 loc) · 37.5 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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AppliSync — AI-Powered Job Application Tracker</title>
<meta name="description" content="Track, analyze, and optimize your job applications in real-time with AppliSync. AI-powered insights, automatic capture, and enterprise-grade analytics.">
<meta name="keywords" content="job tracker, application tracking, AI job search, career management, AppliSync">
<meta name="author" content="AppliSync">
<meta property="og:title" content="AppliSync — AI-Powered Job Application Tracker">
<meta property="og:description" content="Track, analyze, and optimize your job applications in real-time.">
<meta property="og:type" content="website">
<meta name="theme-color" content="#f97316">
<link rel="icon" type="image/png" href="dashboard/assest/work.gif">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<!-- Firebase SDK -->
<script type="module">
import { initializeApp } from "https://www.gstatic.com/firebasejs/11.4.0/firebase-app.js";
import { getAuth, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInWithPopup, GoogleAuthProvider, GithubAuthProvider, onAuthStateChanged, signOut } from "https://www.gstatic.com/firebasejs/11.4.0/firebase-auth.js";
const firebaseConfig = {
apiKey: "AIzaSyDW5ASQ8Tm0PvD8Nc1TbxkYK6ds89pI8ho",
authDomain: "joyboy-b6f27.firebaseapp.com",
projectId: "joyboy-b6f27",
storageBucket: "joyboy-b6f27.firebasestorage.app",
messagingSenderId: "896032215833",
appId: "1:896032215833:web:c0cd83fdec7b6cc37e2b88",
measurementId: "G-LZ2X4BXW26"
};
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const googleProvider = new GoogleAuthProvider();
const githubProvider = new GithubAuthProvider();
// Auth State Listener
onAuthStateChanged(auth, (user) => {
if (user) {
window.location.href = 'dashboard/index.html';
}
});
// Email Sign Up
window.emailSignUp = async () => {
const email = document.getElementById('signupEmail').value;
const password = document.getElementById('signupPassword').value;
const name = document.getElementById('signupName').value;
const errorEl = document.getElementById('authError');
errorEl.classList.add('hidden');
if (!name || !email || !password) {
errorEl.textContent = 'Please fill in all fields.';
errorEl.classList.remove('hidden');
return;
}
if (password.length < 6) {
errorEl.textContent = 'Password must be at least 6 characters.';
errorEl.classList.remove('hidden');
return;
}
try {
await createUserWithEmailAndPassword(auth, email, password);
} catch (err) {
errorEl.textContent = err.message.replace('Firebase: ', '').replace(/\(auth\/.*\)/, '');
errorEl.classList.remove('hidden');
}
};
// Email Sign In
window.emailSignIn = async () => {
const email = document.getElementById('signinEmail').value;
const password = document.getElementById('signinPassword').value;
const errorEl = document.getElementById('authError');
errorEl.classList.add('hidden');
if (!email || !password) {
errorEl.textContent = 'Please fill in all fields.';
errorEl.classList.remove('hidden');
return;
}
try {
await signInWithEmailAndPassword(auth, email, password);
} catch (err) {
errorEl.textContent = err.message.replace('Firebase: ', '').replace(/\(auth\/.*\)/, '');
errorEl.classList.remove('hidden');
}
};
// Google Sign In
window.googleSignIn = async () => {
try {
await signInWithPopup(auth, googleProvider);
} catch (err) {
const errorEl = document.getElementById('authError');
errorEl.textContent = err.message.replace('Firebase: ', '').replace(/\(auth\/.*\)/, '');
errorEl.classList.remove('hidden');
}
};
// GitHub Sign In
window.githubSignIn = async () => {
try {
await signInWithPopup(auth, githubProvider);
} catch (err) {
const errorEl = document.getElementById('authError');
errorEl.textContent = err.message.replace('Firebase: ', '').replace(/\(auth\/.*\)/, '');
errorEl.classList.remove('hidden');
}
};
</script>
<style>
:root {
/* Light Theme: White and Orange */
--bg-primary: #ffffff;
--bg-secondary: #fffcf9;
--bg-card: rgba(255, 255, 255, 0.8);
--bg-card-hover: rgba(255, 255, 255, 0.98);
--border: rgba(249, 115, 22, 0.15);
--border-light: rgba(249, 115, 22, 0.08);
--text-primary: #1a1512;
--text-secondary: #5a524c;
--text-muted: #9e938a;
--accent: #f97316;
--accent-light: #fb923c;
--accent-dark: #ea580c;
--accent-glow: rgba(249, 115, 22, 0.15);
--gradient-accent: linear-gradient(135deg, #fb923c, #ea580c);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 24px;
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.dark-mode {
/* Dark Theme: Obsidian and Amber/Gold */
--bg-primary: #0a0a0a;
--bg-secondary: #121212;
--bg-card: rgba(26, 26, 26, 0.7);
--bg-card-hover: rgba(38, 38, 38, 0.85);
--border: rgba(251, 191, 36, 0.2);
--border-light: rgba(251, 191, 36, 0.1);
--text-primary: #fdfdfd;
--text-secondary: #a3a3a3;
--text-muted: #525252;
--accent: #fbbf24;
--accent-light: #fde047;
--accent-dark: #d97706;
--accent-glow: rgba(251, 191, 36, 0.25);
--gradient-accent: linear-gradient(135deg, #fde047, #f59e0b);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* ─── Animations ─── */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
@keyframes glowPulse {
0%, 100% { box-shadow: 0 8px 24px var(--accent-glow); }
50% { box-shadow: 0 12px 36px rgba(249, 115, 22, 0.4); }
}
body {
font-family: 'Inter', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
transition: background 0.3s ease, color 0.3s ease;
}
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
/* ─── Navbar ─── */
.navbar {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
background: rgba(250, 248, 255, 0.8);
backdrop-filter: blur(32px);
border-bottom: 1px solid var(--border);
transition: all 0.3s ease;
}
.dark-mode .navbar { background: rgba(8, 8, 8, 0.85); border-bottom-color: var(--border); }
.navbar-inner {
max-width: 1280px; margin: 0 auto;
padding: 0 2rem;
display: flex; align-items: center; justify-content: space-between;
height: 72px;
}
.logo {
display: flex; align-items: center; gap: 10px;
font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px;
}
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
padding: 8px; border-radius: 8px; border: 1px solid var(--border);
background: var(--bg-card); cursor: pointer; color: var(--text-secondary);
font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
padding: 8px 18px; border-radius: 8px;
font-size: 0.875rem; font-weight: 600; color: var(--text-secondary);
border: 1px solid var(--border);
background: transparent; cursor: pointer;
transition: all 0.2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: var(--bg-card-hover); }
.btn-primary {
padding: 8px 22px; border-radius: 8px;
font-size: 0.875rem; font-weight: 600; color: #fff;
background: var(--gradient-accent);
border: none; cursor: pointer;
transition: all 0.2s;
box-shadow: 0 4px 12px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25); }
.btn-primary-lg {
padding: 14px 36px; border-radius: 10px;
font-size: 1rem; font-weight: 700; color: #fff;
background: var(--gradient-accent);
border: none; cursor: pointer;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 8px 24px var(--accent-glow);
animation: glowPulse 3s infinite;
}
.btn-primary-lg:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px rgba(249, 115, 22, 0.4); }
/* ─── Hero ─── */
.hero {
min-height: 90vh;
display: flex; align-items: center; justify-content: center;
text-align: center;
padding: 120px 2rem 80px;
position: relative;
background: radial-gradient(circle at top right, #fff7ed, transparent 40%),
radial-gradient(circle at bottom left, #eff6ff, transparent 40%);
}
.dark-mode .hero {
background: #000000;
}
.hero-badge {
display: inline-flex; align-items: center; gap: 8px;
padding: 6px 16px; border-radius: 100px;
background: #fff7ed; border: 1px solid #ffedd5;
font-size: 0.8rem; font-weight: 700; color: var(--accent-dark);
margin-bottom: 2rem;
animation: float 4s ease-in-out infinite;
}
.dark-mode .hero-badge { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.25); color: var(--accent-light); }
.hero h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 900; line-height: 1.05; letter-spacing: -2px;
margin-bottom: 1.5rem; color: #0f172a;
}
.dark-mode .hero h1 { color: #f8fafc; }
.hero h1 .accent {
background: var(--gradient-accent);
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
font-size: 1.15rem; color: var(--text-secondary);
max-width: 600px; margin: 0 auto 2.5rem;
line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
/* ─── Stats Bar ─── */
.stats-bar {
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: var(--bg-secondary);
padding: 3rem 2rem;
}
.stats-inner {
max-width: 1100px; margin: 0 auto;
display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
text-align: center;
}
.stat-item h3 {
font-size: 2.5rem; font-weight: 800; color: var(--accent);
letter-spacing: -1px; margin-bottom: 0.25rem;
}
.stat-item p { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
/* ─── Features ─── */
.features { padding: 100px 2rem; max-width: 1200px; margin: 0 auto; }
.section-label {
display: inline-flex; align-items: center; gap: 8px;
font-size: 0.75rem; font-weight: 700; color: var(--accent);
text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1rem; color: var(--text-primary); }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; transition: all 0.3s;
backdrop-filter: blur(32px);
}
.feature-card:hover { border-color: var(--accent-light); background: var(--bg-card-hover); transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); z-index: 10; position: relative; }
.dark-mode .feature-card:hover { box-shadow: 0 24px 60px rgba(251, 191, 36, 0.12); }
.feature-icon {
width: 48px; height: 48px; border-radius: 12px; background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.2);
display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.25rem; color: var(--accent);
}
.dark-mode .feature-icon { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.2); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.3px; color: var(--text-primary); }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
/* ─── How It Works ─── */
.how-it-works { padding: 100px 2rem; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.step-card { text-align: center; padding: 2.5rem 2rem; }
.step-number {
display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
background: var(--gradient-accent); font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 1.5rem;
box-shadow: 0 8px 24px var(--accent-glow);
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-primary); }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
/* ─── Testimonials ─── */
.testimonials { padding: 100px 2rem; max-width: 1200px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.testimonial-card { padding: 2.5rem 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-accent);
display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: #fff;
}
.author-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }
/* ─── CTA ─── */
.cta-section { padding: 120px 2rem; text-align: center; background: #fff7ed; border-top: 1px solid #ffedd5; position: relative; overflow: hidden; }
.dark-mode .cta-section { background: #0d0d0d; border-color: rgba(255,255,255,0.07); }
.cta-section h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -2px; margin-bottom: 1.5rem; color: var(--text-primary); }
.cta-section p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 3rem; max-width: 600px; margin-inline: auto; }
/* ─── Footer ─── */
.footer { padding: 80px 2rem 40px; border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 4rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-secondary); margin-top: 1.25rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-primary); margin-bottom: 1.5rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1280px; margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
/* ─── Auth Modal ─── */
.modal-overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(10px);
display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.auth-modal {
width: 100%; max-width: 440px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
padding: 3rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); position: relative; animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--text-primary); }
.auth-modal h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 0.5rem; color: var(--text-primary); }
.auth-modal .subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2rem; }
.auth-input { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.05); border: none; border-bottom: 2px solid var(--border); border-radius: 4px 4px 0 0; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 0.8rem; outline: none; transition: all 0.3s; }
.auth-input:focus { border-bottom-color: var(--accent); background: rgba(172, 138, 255, 0.05); }
.auth-submit { width: 100%; padding: 14px; background: var(--gradient-accent); border: none; border-radius: 12px; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 1rem; }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--accent-glow); }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.social-btns { display: flex; flex-direction: column; gap: 0.8rem; }
.social-btn { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-primary); color: var(--text-primary); font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: all 0.2s; }
.social-btn:hover { background: var(--bg-card-hover); border-color: var(--accent-light); }
.social-btn svg { width: 20px; height: 20px; }
.auth-switch { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: var(--text-secondary); }
.auth-switch a { color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-tab { display: none; }
.auth-tab.active { display: block; }
.auth-error { background: #fee2e2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px; border-radius: 10px; font-size: 0.85rem; margin-bottom: 1.5rem; }
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
</style>
<script>
(function() {
const savedTheme = localStorage.getItem('applisync_theme');
if (savedTheme === 'dark' || (!savedTheme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark-mode');
}
})();
</script>
</head>
<body>
<!-- ═══ Navbar ═══ -->
<nav class="navbar">
<div class="navbar-inner">
<a href="index.html" class="logo">
<img src="dashboard/assest/work.gif" alt="AppliSync">
Appli<span>Sync</span>
</a>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="index.html#features">Features</a>
<a href="job-board.html">Job-Board</a>
<a href="how-it-works.html">How It Works</a>
<a href="index.html#testimonials">Testimonials</a>
</div>
<div class="nav-cta">
<button class="theme-toggle" onclick="toggleDarkMode()" title="Toggle Dark Mode"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg></button>
<button class="btn-ghost" onclick="openAuth('signin')">Sign In</button>
<button class="btn-primary" onclick="openAuth('signup')">Get Started</button>
</div>
</div>
</nav>
<!-- ═══ Main Content ═══ -->
<main style="padding: 120px 2rem 80px; min-height: 80vh; max-width: 1200px; margin: 0 auto;">
<div class="fade-up" style="max-width: 900px; margin: 0 auto; line-height: 1.8;">
<h1 style="font-size: 3rem; font-weight: 800; margin-bottom: 1rem;">Technical <span style="color: var(--accent)">Documentation</span></h1>
<p style="color: var(--text-secondary); margin-bottom: 3rem; font-size: 1.1rem;">AppliSync is an AI-powered tracker that bridges a background Chrome Extension with a Firebase-powered Web Dashboard via the Groq LLM API.</p>
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">1. Tech Stack & Architecture</h2>
<table style="width: 100%; border-collapse: collapse; margin-bottom: 2rem; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-card);">
<tr style="border-bottom: 1px solid var(--border);"><td style="padding: 1rem; width: 30%;"><strong>Frontend Layer</strong></td><td style="padding: 1rem;">Vanilla HTML/CSS/JS, "Obsidian Velvet" Design System</td></tr>
<tr style="border-bottom: 1px solid var(--border);"><td style="padding: 1rem;"><strong>Auth & Database</strong></td><td style="padding: 1rem;">Firebase Auth + Firestore (joyboy-b6f27)</td></tr>
<tr><td style="padding: 1rem;"><strong>AI Engine</strong></td><td style="padding: 1rem;">Groq API (llama-3.3-70b-versatile)</td></tr>
</table>
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">2. Component Deep-Dives</h2>
<ul style="color: var(--text-secondary); margin-bottom: 2rem; padding-left: 1.5rem;">
<li><strong>Chrome Extension (Manifest V3):</strong> Uses <code>MutationObserver</code> for Auto-Pilot mode. Captures page text and form state.</li>
<li><strong>Dashboard:</strong> A centralized Firebase portal. Listens for <code>window.postMessage</code> auth syncs from the extension.</li>
<li><strong>Landing Pages:</strong> Fully static, SEO-optimized, utilizing serverless FormSubmit for contact inquiries.</li>
</ul>
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">3. Setup Guide</h2>
<div style="background: var(--bg-secondary); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 2rem;">
<strong style="color: var(--text-primary);">Web Dev:</strong> <code>python -m http.server 8000</code><br><br>
<strong style="color: var(--text-primary);">Extension Install:</strong><br>
1. Go to <code>chrome://extensions</code><br>
2. Enable Developer Mode<br>
3. Click "Load Unpacked" and select the repository folder.
</div>
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">4. AI Extraction Output Schema</h2>
<pre style="background: #1e293b; color: #cbd5e1; padding: 1.5rem; border-radius: 12px; overflow-x: auto; font-family: monospace; font-size: 0.9rem; margin-bottom: 2rem;">{
"company_name": "",
"job_title": "",
"experience_required": "",
"salary_range": "",
"hr_intelligence": {
"recruiter_name": "",
"linkedin_profile": ""
}
}</pre>
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">5. Security & Extensibility</h2>
<p style="color: var(--text-secondary); margin-bottom: 2rem;">
<strong>Security:</strong> The Groq API key currently resides in <code>content.js</code>. For strict production, proxy this via Firebase Cloud Functions. Ensure Firestore rules validate the UID on write operations.<br>
<strong>Extending:</strong> To add new job boards, simply update the System Prompt instruction set within the <code>extractJobDataViaAI</code> function inside `content.js`.
</p>
</div>
</main>
<!-- ═══ Footer ═══ -->
<footer class="footer">
<div class="footer-inner">
<div class="footer-brand">
<a href="index.html" class="logo" style="text-decoration:none;color:inherit;"><img src="dashboard/assest/work.gif" alt="AppliSync" style="width:28px;height:28px;">
Appli<span>Sync</span>
</a>
<p>Track, analyze, and optimize your job applications with AI-powered intelligence. No coding required — just apply and discover.</p>
</div>
<div class="footer-col">
<h4>Product</h4>
<a href="index.html#features">Features</a>
<a href="job-board.html">Job-Board</a>
<a href="how-it-works.html">How It Works</a>
<a href="dashboard/index.html">Dashboard</a>
</div>
<div class="footer-col">
<h4>Support</h4>
<a href="contact.html">Contact</a>
<a href="faq.html">FAQ</a>
</div>
<div class="footer-col">
<h4>Legal</h4>
<a href="privacy-policy.html">Privacy Policy</a>
<a href="terms.html">Terms of Service</a>
<a href="cookie-policy.html">Cookie Policy</a>
</div>
</div>
<div class="footer-bottom">
<span>© 2026 AppliSync. All rights reserved.</span>
</div>
</footer>
<!-- ═══ Auth Modal ═══ -->
<div class="modal-overlay" id="authModal">
<div class="auth-modal">
<button class="modal-close" onclick="closeAuth()">×</button>
<div id="authError" class="auth-error hidden"></div>
<!-- Sign Up Tab -->
<div id="tab-signup" class="auth-tab active">
<h2>Create Account</h2>
<p class="subtitle">Start tracking your applications in seconds.</p>
<div class="social-btns">
<button class="social-btn" onclick="googleSignIn()">
<svg viewBox="0 0 24 24"><path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"/><path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>
Continue with Google
</button>
<button class="social-btn" onclick="githubSignIn()">
<svg viewBox="0 0 24 24" fill="currentColor"><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.23A11.509 11.509 0 0112 5.803c1.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.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/></svg>
Continue with GitHub
</button>
</div>
<div class="auth-divider">or sign up with email</div>
<input type="text" id="signupName" class="auth-input" placeholder="Full name">
<input type="email" id="signupEmail" class="auth-input" placeholder="Email address">
<input type="password" id="signupPassword" class="auth-input" placeholder="Create password (6+ characters)">
<button class="auth-submit" onclick="emailSignUp()">Create Account</button>
<div class="auth-switch">
Already have an account? <a onclick="switchAuthTab('signin')">Sign in</a>
</div>
</div>
<!-- Sign In Tab -->
<div id="tab-signin" class="auth-tab">
<h2>Welcome Back</h2>
<p class="subtitle">Sign in to your AppliSync dashboard.</p>
<div class="social-btns">
<button class="social-btn" onclick="googleSignIn()">
<svg viewBox="0 0 24 24"><path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"/><path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>
Continue with Google
</button>
<button class="social-btn" onclick="githubSignIn()">
<svg viewBox="0 0 24 24" fill="currentColor"><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.23A11.509 11.509 0 0112 5.803c1.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.924-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/></svg>
Continue with GitHub
</button>
</div>
<div class="auth-divider">or sign in with email</div>
<input type="email" id="signinEmail" class="auth-input" placeholder="Email address">
<input type="password" id="signinPassword" class="auth-input" placeholder="Password">
<button class="auth-submit" onclick="emailSignIn()">Sign In</button>
<div class="auth-switch">
Don't have an account? <a onclick="switchAuthTab('signup')">Create one</a>
</div>
</div>
</div>
</div>
<!-- ═══ Scripts ═══ -->
<script>
// Theme Toggle
function toggleDarkMode() {
const isDark = document.documentElement.classList.toggle('dark-mode');
localStorage.setItem('applisync_theme', isDark ? 'dark' : 'light');
const btn = document.querySelector('.theme-toggle');
if (btn) btn.innerHTML = isDark ? '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>' : '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>';
}
// Initialize button icon on load
window.addEventListener('DOMContentLoaded', () => {
const btn = document.querySelector('.theme-toggle');
if (btn && document.documentElement.classList.contains('dark-mode')) {
btn.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>';
}
});
// Auth Modal Logic
function openAuth(tab) {
document.getElementById('authModal').classList.add('active');
switchAuthTab(tab);
}
function closeAuth() {
document.getElementById('authModal').classList.remove('active');
}
function switchAuthTab(tab) {
document.querySelectorAll('.auth-tab').forEach(t => t.classList.remove('active'));
document.getElementById('tab-' + tab).classList.add('active');
}
// Scroll Animations
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, { threshold: 0.1 });
document.querySelectorAll('.fade-up').forEach(el => observer.observe(el));
// Navbar scroll effect
window.addEventListener('scroll', () => {
const nav = document.querySelector('.navbar');
if (window.scrollY > 50) {
nav.style.borderBottomColor = 'rgba(34, 34, 34, 0.8)';
} else {
nav.style.borderBottomColor = 'var(--border)';
}
});
</script>
</body>
</html>