-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathonboarding.html
More file actions
447 lines (400 loc) · 11.7 KB
/
onboarding.html
File metadata and controls
447 lines (400 loc) · 11.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to QueryBoost</title>
<style>
:root {
--bg: #18191c;
--surface: #222328;
--border: #34353a;
--accent: #00e1aa;
--accent-glow: rgba(0, 225, 170, 0.35);
--text: #f0f0f5;
--muted: #9092a0;
--faint: #60626a;
--green: #3ecf8e;
--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
--mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--text);
font-family: var(--font);
font-size: 15px;
line-height: 1.6;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
.page {
max-width: 660px;
margin: 0 auto;
padding: 60px 32px 80px;
}
/* ── Hero ── */
.hero {
text-align: center;
margin-bottom: 56px;
}
.hero-logo {
width: 80px;
height: 80px;
display: inline-block;
margin-bottom: 24px;
filter: drop-shadow(0 0 30px var(--accent-glow));
}
.hero-logo img {
width: 100%;
height: 100%;
}
.hero h1 {
font-size: 32px;
font-weight: 800;
letter-spacing: -0.03em;
margin-bottom: 10px;
}
.hero h1 span {
color: var(--accent);
}
.hero p {
font-size: 16px;
color: var(--muted);
max-width: 440px;
margin: 0 auto;
}
/* ── How it works ── */
.section {
margin-bottom: 48px;
}
.section-label {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--faint);
margin-bottom: 18px;
}
/* Steps */
.steps {
display: flex;
flex-direction: column;
gap: 14px;
}
.step {
display: flex;
gap: 16px;
align-items: flex-start;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px 18px;
}
.step-num {
width: 28px;
height: 28px;
background: rgba(124,106,247,0.15);
border: 1px solid rgba(124,106,247,0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
color: #a78bfa;
flex-shrink: 0;
margin-top: 1px;
}
.step-body h3 {
font-size: 14px;
font-weight: 600;
color: var(--text);
margin-bottom: 3px;
}
.step-body p {
font-size: 13px;
color: var(--muted);
}
/* Feature grid */
.feature-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.feature-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px;
}
.feature-icon {
font-size: 22px;
margin-bottom: 8px;
display: block;
}
.feature-card h3 {
font-size: 13px;
font-weight: 600;
color: var(--text);
margin-bottom: 4px;
}
.feature-card p {
font-size: 12px;
color: var(--muted);
line-height: 1.5;
}
/* Query type table */
.types-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.type-pill {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px 12px;
font-size: 12px;
}
.type-pill .label {
font-weight: 600;
color: #a78bfa;
font-family: var(--mono);
font-size: 11px;
display: block;
margin-bottom: 2px;
}
.type-pill .example {
color: var(--muted);
font-size: 11px;
}
/* Privacy highlight */
.privacy-box {
background: rgba(62,207,142,0.06);
border: 1px solid rgba(62,207,142,0.2);
border-radius: 12px;
padding: 20px 22px;
display: flex;
gap: 14px;
align-items: flex-start;
}
.privacy-box .icon {
font-size: 24px;
flex-shrink: 0;
margin-top: 1px;
}
.privacy-box h3 {
font-size: 14px;
font-weight: 600;
color: var(--green);
margin-bottom: 6px;
}
.privacy-box p {
font-size: 13px;
color: var(--muted);
line-height: 1.55;
}
.privacy-box a {
color: var(--green);
text-decoration: none;
}
.privacy-box a:hover {
text-decoration: underline;
}
/* CTA */
.cta {
text-align: center;
margin-top: 52px;
}
.cta p {
color: var(--muted);
font-size: 14px;
margin-bottom: 20px;
}
.cta-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--accent);
color: #fff;
font-family: var(--font);
font-size: 14px;
font-weight: 600;
padding: 12px 28px;
border-radius: 10px;
border: none;
cursor: pointer;
text-decoration: none;
box-shadow: 0 4px 16px var(--accent-glow);
transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.cta-btn:hover {
background: #6b5ae3;
box-shadow: 0 6px 24px var(--accent-glow);
transform: translateY(-1px);
}
.cta-btn:active {
transform: translateY(0);
}
/* Divider */
.divider {
height: 1px;
background: var(--border);
margin: 48px 0;
}
</style>
</head>
<body>
<div class="page">
<div class="hero">
<div class="hero-logo">
<img src="../icons/icon128.png" alt="QueryBoost Logo">
</div>
<h1>Welcome to <span>QueryBoost</span></h1>
<p>Your personal AI assistant for silently enhancing search queries on your favorite platforms.</p>
</div>
<div class="section">
<div class="section-label">How it works</div>
<div class="steps">
<div class="step">
<div class="step-num">1</div>
<div class="step-body">
<h3>You type normally</h3>
<p>No templates, no pre-prompts, no copy-pasting. Just type into ChatGPT, Claude, Gemini, or Perplexity as you always have.</p>
</div>
</div>
<div class="step">
<div class="step-num">2</div>
<div class="step-body">
<h3>QueryBoost detects your intent</h3>
<p>Before your query is sent, QueryBoost classifies it — code, explanation, how-to, analysis, creative, and more — using a weighted signal engine.</p>
</div>
</div>
<div class="step">
<div class="step-num">3</div>
<div class="step-body">
<h3>A structured wrapper is injected</h3>
<p>The query is silently rewritten with precise output instructions tailored to the intent. The AI never surfaces these instructions in its response.</p>
</div>
</div>
<div class="step">
<div class="step-num">4</div>
<div class="step-body">
<h3>You get a noticeably better answer</h3>
<p>A small toast confirms the boost type. Click <strong>Preview</strong> to see what was added. That's it.</p>
</div>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Features -->
<div class="section">
<div class="section-label">What's included in v2.0</div>
<div class="feature-grid">
<div class="feature-card">
<span class="feature-icon">🎯</span>
<h3>10 Query Types</h3>
<p>Separate wrappers for code, how-to, data/SQL, creative, opinion, and more.</p>
</div>
<div class="feature-card">
<span class="feature-icon">🧑💻</span>
<h3>Domain Modes</h3>
<p>Developer, Student, Researcher, Writer — tune the AI's register to your context.</p>
</div>
<div class="feature-card">
<span class="feature-icon">🔀</span>
<h3>A/B Testing</h3>
<p>Two wrapper variants. See which one gets better feedback in the Stats tab.</p>
</div>
<div class="feature-card">
<span class="feature-icon">✏️</span>
<h3>Custom Wrappers</h3>
<p>Override any query type with your own template using <code>{{query}}</code>.</p>
</div>
<div class="feature-card">
<span class="feature-icon">👁️</span>
<h3>Transparency Mode</h3>
<p>See exactly what was injected into your prompt — highlighted in the toast preview.</p>
</div>
<div class="feature-card">
<span class="feature-icon">📊</span>
<h3>Feedback Loop</h3>
<p>Rate every boost with 👍/👎. Per-type approval rates tracked in Stats.</p>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Supported query types -->
<div class="section">
<div class="section-label">Detected query types</div>
<div class="types-grid">
<div class="type-pill">
<span class="label">Code / Debug</span>
<span class="example">"Fix this TypeError in my React component"</span>
</div>
<div class="type-pill">
<span class="label">Explain / Learn</span>
<span class="example">"What is the difference between TCP and UDP?"</span>
</div>
<div class="type-pill">
<span class="label">How-To / Steps</span>
<span class="example">"How do I deploy a Next.js app to Vercel?"</span>
</div>
<div class="type-pill">
<span class="label">Analyze / Review</span>
<span class="example">"Pros and cons of microservices vs monolith"</span>
</div>
<div class="type-pill">
<span class="label">Write / Draft</span>
<span class="example">"Write a cover letter for a senior dev role"</span>
</div>
<div class="type-pill">
<span class="label">Data / SQL</span>
<span class="example">"Write a query to find top 5 customers by revenue"</span>
</div>
<div class="type-pill">
<span class="label">Recommend / List</span>
<span class="example">"Best books on system design"</span>
</div>
<div class="type-pill">
<span class="label">Opinion / Decision</span>
<span class="example">"Should I learn Rust or Go in 2026?"</span>
</div>
<div class="type-pill">
<span class="label">Creative</span>
<span class="example">"Write a short story about a sentient compiler"</span>
</div>
<div class="type-pill">
<span class="label">Local / Travel</span>
<span class="example">"Best coffee shops in Lisbon for remote work"</span>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Privacy -->
<div class="section">
<div class="privacy-box">
<div class="icon">🔒</div>
<div>
<h3>100% private — nothing leaves your browser</h3>
<p>
QueryBoost reads your query text only to detect intent and inject the wrapper.
No data is sent to any server. No queries are logged or stored remotely.
Everything happens locally, on your device.
<br><br>
<a href="privacy.html" target="_blank">Read the full privacy policy →</a>
</p>
</div>
</div>
</div>
<!-- CTA -->
<div class="cta">
<p>Go to any supported platform and start asking questions — QueryBoost is already running.</p>
<a class="cta-btn" href="https://chatgpt.com" target="_blank" rel="noopener noreferrer">
⚡ Open ChatGPT and try it
</a>
</div>
</div>
</body>
</html>