-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
542 lines (486 loc) · 23.2 KB
/
Copy pathindex.html
File metadata and controls
542 lines (486 loc) · 23.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MailLayer - Integrated Email for the Modern Web</title>
<meta name="description" content="MailLayer intercepts mailto links and provides a seamless, integrated email composition experience directly in your browser. No more context switching.">
<!-- AEO Optimization tags -->
<meta name="keywords" content="email extension, mailto interceptor, chrome extension email, productivity tool, webmail integration">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
<style>
:root {
--blackberry: #58355e;
--burnt-tangerine: #e03616;
--banana-cream: #fff689;
--tea-green: #cfffb0;
--blue-bell: #5998c5;
--black: #000000;
--dark-grey: #0a0a0a;
--white: #ffffff;
--text-main: #f3f4f6;
--text-dim: #9ca3af;
}
html { scroll-behavior: smooth; background-color: var(--black); }
body {
background-color: transparent;
color: var(--text-main);
font-family: 'Inter', -apple-system, sans-serif;
margin: 0;
line-height: 1.6;
overflow-x: hidden;
position: relative;
}
/* --- Background Animation: Meteor Envelopes --- */
#bg-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
pointer-events: none;
background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(10,10,15,0.8) 100%);
}
.bg-gradient-overlay {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 0%, rgba(224, 54, 22, 0.1) 0%, transparent 50%),
radial-gradient(ellipse at 100% 100%, rgba(88, 53, 94, 0.15) 0%, transparent 50%);
}
@keyframes meteor-fall {
0% {
transform: rotate(-45deg) translateX(0);
opacity: 0;
}
10% {
opacity: 1;
}
70% {
opacity: 1;
}
100% {
transform: rotate(-45deg) translateX(-300vmax);
opacity: 0;
}
}
.meteor-envelope {
position: absolute;
color: rgba(255, 255, 255, 0.8);
font-size: 42px;
filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
/* The animation is dynamically applied in JS */
}
.meteor-tail {
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 100%;
width: 150px;
height: 2px;
background: linear-gradient(to right, rgba(224, 54, 22, 0.8), transparent);
}
/* --- Layout & Sections --- */
.section {
padding: 8rem 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.container {
max-width: 1100px !important;
width: 100%;
}
.section-heading {
color: var(--white);
font-weight: 800;
letter-spacing: -0.05em;
margin-bottom: 3rem !important;
line-height: 1.1;
}
.hero {
min-height: 100vh;
background: transparent;
display: flex;
align-items: center;
}
.hero .title {
color: var(--white);
font-weight: 900;
font-size: 4rem;
}
.hero .subtitle {
color: var(--text-dim);
font-size: 1.5rem;
max-width: 800px;
margin: 1.5rem auto 0 !important;
}
.button.is-primary {
background: var(--burnt-tangerine);
border: none;
font-weight: 700;
color: var(--white);
box-shadow: 0 4px 15px rgba(224, 54, 22, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-btn {
padding: 2rem 3rem !important;
height: auto !important;
}
.button.is-primary:hover {
transform: translateY(-4px);
box-shadow: 0 8px 30px rgba(224, 54, 22, 0.5);
background: var(--burnt-tangerine);
}
.tag.is-danger.is-light {
background-color: rgba(224, 54, 22, 0.1);
color: var(--burnt-tangerine);
border: 1px solid rgba(224, 54, 22, 0.2);
font-weight: 600;
}
/* --- Cards --- */
.columns.is-multiline {
display: flex;
flex-wrap: wrap;
}
.column.fixed-column {
display: flex;
}
.box.is-standard {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 24px;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
padding: 3rem;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
backdrop-filter: blur(10px);
}
.box.is-standard:hover {
background: rgba(255, 255, 255, 0.04);
transform: translateY(-8px);
border-color: rgba(255, 255, 255, 0.15);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 2rem;
color: var(--burnt-tangerine);
}
footer {
background-color: var(--black);
border-top: 1px solid rgba(255, 255, 255, 0.05);
color: var(--text-dim);
padding: 6rem 1.5rem;
}
footer a { color: var(--text-dim); transition: color 0.2s; }
footer a:hover { color: var(--banana-cream); }
.image-box {
background: linear-gradient(135deg, rgba(88, 53, 94, 0.2) 0%, rgba(0,0,0,0.5) 100%);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.05);
min-height: 400px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }
/* Custom Video Controls */
.video-controls-overlay {
position: absolute;
bottom: 20px;
right: 20px;
display: flex;
gap: 10px;
z-index: 5;
opacity: 0;
transition: opacity 0.3s ease;
}
.video-container:hover .video-controls-overlay {
opacity: 1;
}
.control-btn {
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
width: 44px;
height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
font-size: 1.1rem;
}
.control-btn:hover {
background: rgba(224, 54, 22, 0.8);
transform: scale(1.1);
}
</style>
</head>
<body>
<div id="bg-canvas">
<div class="bg-gradient-overlay"></div>
<!-- Meteors will be injected here -->
</div>
<nav style="position: absolute; top: 2.5rem; left: 2.5rem; z-index: 100;">
<a href="https://github.com/Spuds0588/MailLayer" target="_blank" class="has-text-grey-light is-size-6" style="display: inline-flex; align-items: center; transition: color 0.3s ease; text-decoration: none; font-weight: 500;" onmouseover="this.style.color='#fff'" onmouseout="this.style.color='var(--text-dim)'">
<i class="fab fa-github mr-2"></i> Open Source
</a>
</nav>
<section class="hero">
<div class="hero-body">
<div class="container has-text-centered">
<div class="tag is-danger is-light is-rounded mb-5">Version 1.2 — The Universal Email Experience</div>
<h1 class="title">
Click email. Send email. <br><span class="has-text-danger">Done.</span>
</h1>
<h2 class="subtitle">
MailLayer brings a seamless, integrated email experience to every corner of the web. Compose instantly with our floating modal or side panel. No context switching, just speed.
</h2>
<div class="mt-6">
<a href="https://chromewebstore.google.com/detail/maillayer/cdkbfdlipmopkdfjbceadindobfpajma?authuser=0&hl=en" target="_blank" class="button is-primary is-large is-rounded px-6 hero-btn"><i class="fab fa-chrome mr-2"></i> Add to Chrome</a>
</div>
</div>
</div>
</section>
<section id="demo" class="section">
<div class="container has-text-centered">
<h2 class="title is-2 section-heading">See MailLayer in Action</h2>
<div class="video-container" style="max-width: 900px; margin: 0 auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #000;">
<div style="position: relative; padding-bottom: 56.25%; height: 0;">
<video
id="promo-video"
muted
loop
playsinline
poster="assets/MailLayer%20Youtube%20Thumb.png"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;">
<source src="assets/MailLayer%20Promo%20Video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="video-controls-overlay">
<button id="mute-toggle" class="control-btn" title="Toggle Sound">
<i class="fas fa-volume-mute"></i>
</button>
<button id="restart-video" class="control-btn" title="Restart Video">
<i class="fas fa-redo"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<section id="problem" class="section">
<div class="container">
<div class="columns is-vcentered is-variable is-8">
<div class="column is-6">
<h2 class="title is-2 section-heading">Meet MailLayer. 🚀</h2>
<p class="is-size-4 mb-6" style="color: var(--text-dim); line-height: 1.4;">
Tired of clicking an email link only to be ripped away from your current tab, or having it launch a clunky desktop email app you never use?
</p>
<p class="is-size-5 mb-5" style="color: var(--text-main)">
MailLayer creates a <strong>universal email layer</strong> across your entire browser. It doesn't just intercept traditional "mailto:" links—it actively detects plain-text email addresses on any page and transforms them into 1-click composition points.
</p>
<p class="is-size-5 mb-6" style="color: var(--text-main)">
Just click any email address you see, and MailLayer instantly injects a floating, rich-text composer right into your current context. No new tabs, no app launches, no distractions.
</p>
<div class="box is-standard p-6 mt-6">
<ul class="checklist">
<li class="mb-5 is-size-5">
<span class="icon mr-3" style="color: var(--burnt-tangerine)"><i class="fas fa-check-circle"></i></span>
<strong>Universal Detection:</strong> Send mail from any address on any site.
</li>
<li class="mb-5 is-size-5">
<span class="icon mr-3" style="color: var(--burnt-tangerine)"><i class="fas fa-check-circle"></i></span>
<strong>Smart Interception:</strong> Blocks clunky desktop app launches.
</li>
<li class="is-size-5">
<span class="icon mr-3" style="color: var(--burnt-tangerine)"><i class="fas fa-check-circle"></i></span>
<strong>Workflow First:</strong> Keyboard shortcuts for rapid-fire sending.
</li>
</ul>
</div>
</div>
<div class="column is-6">
<div class="image-box" style="padding: 4rem;">
<div class="has-text-centered">
<div class="feature-icon" style="margin-bottom: 2.5rem;">
<img src="assets/MailLayer%20Icon%20Raw%20(Transparent).png" alt="MailLayer Icon" style="width: 160px; height: auto; filter: drop-shadow(0 0 35px rgba(224, 54, 22, 0.4));">
</div>
<p class="is-size-3 has-text-weight-bold" style="color: var(--white); font-weight: 800; letter-spacing: -0.02em;">One Click. One Flow.</p>
<p class="mt-4 is-size-5" style="color: var(--blue-bell); font-weight: 600;">The ultimate utility for high-performance outreach.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="features" class="section is-light">
<div class="container">
<h2 class="title is-2 section-heading has-text-centered">Everything You Need</h2>
<div class="columns is-multiline is-variable is-6">
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-bolt"></i></div>
<h3 class="title is-4" style="color: var(--white)">API-Powered Sending</h3>
<p style="color: var(--text-dim)">Connect securely to Gmail and Outlook APIs for fast, background sending without loading clunky webmail interfaces.</p>
</div>
</div>
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-keyboard"></i></div>
<h3 class="title is-4" style="color: var(--white)">Keyboard Shortcuts</h3>
<p style="color: var(--text-dim)">Send emails instantly with Ctrl+Enter (or Cmd+Enter) and discard with Esc. Designed for high-performance workflows.</p>
</div>
</div>
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-search"></i></div>
<h3 class="title is-4" style="color: var(--white)">Auto-Detect Emails</h3>
<p style="color: var(--text-dim)">Automatically turn plain-text emails on any page into clickable MailLayer links. Exclude specific sites with a single click.</p>
</div>
</div>
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-pen-fancy"></i></div>
<h3 class="title is-4" style="color: var(--white)">Rich Composition</h3>
<p style="color: var(--text-dim)">Full WYSIWYG editor, file attachments, global signatures, and a dedicated Email Templates gallery to speed up your outreach.</p>
</div>
</div>
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-columns"></i></div>
<h3 class="title is-4" style="color: var(--white)">Flexible UI</h3>
<p style="color: var(--text-dim)">Choose between a beautiful, shadow-DOM isolated in-page modal, or the native Chrome Side Panel. Your context, your choice.</p>
</div>
</div>
<div class="column is-4 fixed-column">
<div class="box is-standard">
<div class="feature-icon"><i class="fas fa-shield-alt"></i></div>
<h3 class="title is-4" style="color: var(--white)">Privacy First</h3>
<p style="color: var(--text-dim)">Direct communication between your browser and email providers. No middle-man servers, no message tracking, ever.</p>
</div>
</div>
</div>
</div>
</section>
<section class="section" style="background: rgba(89, 152, 197, 0.05); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);">
<div class="container has-text-centered">
<div class="tag is-info is-light is-rounded mb-4">For Developers</div>
<h2 class="title is-2 section-heading">Add MailLayer to Your Own Site</h2>
<p class="is-size-5 mb-6" style="max-width: 700px; margin: 0 auto;">
Building a web app? You can integrate the MailLayer experience directly into your own project with our open-source JavaScript library. One line of code, zero friction.
</p>
<a href="https://embedded.maillayer.wiki/" target="_blank" class="button is-dark is-large is-rounded px-6">Explore the Embedded Library</a>
</div>
</section>
<section id="cta" class="section">
<div class="container has-text-centered">
<h2 class="title is-2 section-heading">Ready to Upgrade Your Web Experience?</h2>
<p class="is-size-5 mb-6">Get started today and make the web feel like home.</p>
<a href="https://chromewebstore.google.com/detail/maillayer/cdkbfdlipmopkdfjbceadindobfpajma?authuser=0&hl=en" target="_blank" class="button is-primary is-large is-rounded px-6"><i class="fab fa-chrome mr-2"></i> Add to Chrome</a>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="columns">
<div class="column is-4">
<h3 class="title is-4 has-text-white">MailLayer</h3>
<p>Making email an integrated part of the web.</p>
</div>
<div class="column is-8 has-text-right">
<div class="links">
<a href="index.html" class="mx-3">Home</a>
<a href="#features" class="mx-3">Features</a>
<a href="https://embedded.maillayer.wiki/" class="mx-3" target="_blank">Embedded Library</a>
<a href="https://chromewebstore.google.com/detail/maillayer/cdkbfdlipmopkdfjbceadindobfpajma?authuser=0&hl=en" class="mx-3" target="_blank">Chrome Store</a>
<a href="https://github.com/Spuds0588/MailLayer" class="mx-3" target="_blank">Open Source</a>
<a href="privacy.html" class="mx-3">Privacy Policy</a>
<a href="terms.html" class="mx-3">Terms of Service</a>
</div>
</div>
</div>
<hr style="background-color: #374151;">
<div class="content has-text-centered">
<p>© 2026 MailLayer. All rights reserved.</p>
</div>
</div>
</footer>
<script>
const canvas = document.getElementById('bg-canvas');
const count = 30; // Number of meteors
// Spawn meteor envelopes
for(let i=0; i<count; i++) {
const meteor = document.createElement('div');
meteor.className = 'meteor-envelope';
// Randomize position, delay, and duration
const left = Math.random() * 300; // Start across a wider horizontal area
const delay = Math.random() * 12;
const duration = 8 + Math.random() * 12; // 8 to 20 seconds for slower movement
meteor.style.top = "-50px";
meteor.style.left = `${left}%`;
meteor.style.animation = `meteor-fall ${duration}s linear infinite`;
meteor.style.animationDelay = `${delay}s`;
// Envelope Icon
meteor.innerHTML = `<i class="fas fa-envelope"></i> <div class="meteor-tail"></div>`;
canvas.appendChild(meteor);
}
// Play video on scroll
const promoVideo = document.getElementById('promo-video');
const observerOptions = {
root: null,
threshold: 0.5 // Play when 50% of the video is visible
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
promoVideo.play().catch(error => {
console.log("Autoplay was prevented:", error);
});
} else {
promoVideo.pause();
}
});
}, observerOptions);
observer.observe(promoVideo);
// Custom Control Logic
const muteToggle = document.getElementById('mute-toggle');
const restartBtn = document.getElementById('restart-video');
const muteIcon = muteToggle.querySelector('i');
muteToggle.addEventListener('click', (e) => {
e.stopPropagation(); // Prevent pausing when clicking the toggle
promoVideo.muted = !promoVideo.muted;
if (promoVideo.muted) {
muteIcon.className = 'fas fa-volume-mute';
} else {
muteIcon.className = 'fas fa-volume-up';
promoVideo.loop = false; // Disable looping when unmuted
promoVideo.play();
}
});
restartBtn.addEventListener('click', (e) => {
e.stopPropagation(); // Prevent pausing when clicking restart
promoVideo.currentTime = 0;
promoVideo.play();
});
// Click on video to pause/resume
promoVideo.addEventListener('click', () => {
if (promoVideo.paused) {
promoVideo.play();
} else {
promoVideo.pause();
}
});
</script>
</body>
</html>