-
Notifications
You must be signed in to change notification settings - Fork 1
/
old_homepage.html
282 lines (282 loc) · 12.9 KB
/
old_homepage.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Snoozz - Tab & Window Snoozing</title>
<meta name="title" content="Snoozz - Tab & Window Snoozing">
<meta name="description" content="A lightweight, open-source WebExtension to help you manage your tabs better.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://snoozz.me/">
<meta property="og:title" content="Snoozz - Tab & Window Snoozing">
<meta property="og:description" content="A lightweight, open-source WebExtension to help you manage your tabs better.">
<meta property="og:image" content="https://snoozz.me/assets/banner.jpg">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://snoozz.me/">
<meta property="twitter:title" content="Snoozz - Tab & Window Snoozing">
<meta property="twitter:description" content="A lightweight, open-source WebExtension to help you manage your tabs better.">
<meta property="twitter:image" content="https://snoozz.me/assets/banner.jpg">
<meta name="author" content="Rohan Bhansali">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/animate.css" rel="stylesheet">
<link href="./css/common.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
<style type="text/css">
.hero p {
font-size: 1.25rem;
font-weight: 600;
}
.hero-gif {
position: absolute;
top: 0;
left: 50%;
right: 0;
bottom: 0;
z-index: 3;
transform: translateX(-50%);
}
.hero-btn {
outline: none;
padding: 3px;
background-image: linear-gradient(90deg, var(--orange) 0%, var(--pink) 100%);
}
.hero-btn.reverse {
background-image: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%);
}
.hero-btn div {
border-radius: .5em;
font-weight: 600;
text-transform: uppercase;
background-color: #FFF;
}
.store-listing img {
max-height: 4rem;
}
img.img-feature {
max-height: 400px;
border: 4px solid var(--orange);
border-radius: 1em;
}
img.img-feature.other {
border-color: var(--pink);
}
</style>
</head>
<body>
<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-transparent">
<div class="container">
<a class="navbar-brand umami--click--snoozz-logo-header" href="/">
<img src="./img/logo.svg" alt="snoozz logo">
</a>
<button class="navbar-burger d-block d-lg-none me-2 p-4 collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"></button>
<div class="collapse navbar-collapse flex-row-reverse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link umami--click--changelog-header" href="./changelog">Changelog</a>
</li>
<li class="nav-item">
<a class="nav-link umami--click--privacy-header" href="./privacy">Privacy</a>
</li>
<li class="nav-item">
<a class="nav-link umami--click--stats-header" href="./stats">Stats</a>
</li>
<li class="nav-item">
<a class="nav-link umami--click--github-header" href="https://github.com/rohanb10/snoozz-tab-snoozing">Github</a>
</li>
</ul>
<div class="navbar-stripe"></div>
</div>
</div>
</nav>
<div class="main-body w-100">
<div class="container py-lg-5">
<div class="row hero">
<div class="col-lg-7 hero-container mx-auto text-center position-relative px-md-0 px-3" style="max-height: 500px;">
<img id="hero_jpg" class="img-fluid wow fadeIn shadow" src="./img/hero.jpg">
</div>
<div class="col d-flex flex-column align-items-center justify-content-center py-5">
<img class="img-fluid wow fadeIn" data-delay=".75s" src="./img/snoozz-colour.png" style="max-width: 300px;">
<p class="text-center wow fadeIn pt-4" data-delay="1s">A WebExtension to put tabs to sleep, <br>and automatically wake them up later.</p>
<div class="text-center">
<div data-delay="1.25s" class="hero-btn pointy mt-4 text-center wow fadeIn shadow store-listing reverse">
<a class="umami--click--cws-hero" href="https://chrome.google.com/webstore/detail/snoozz-snooze-tabs-window/lklendgldejcnkkaldoggoapclkepgfb">
<img src="./img/cws.png">
</a>
</div>
<div data-delay="1.5s" class="hero-btn pointy mt-3 text-center wow fadeIn shadow store-listing">
<a class="umami--click--moz-hero" href="https://addons.mozilla.org/en-US/firefox/addon/snoozz/">
<img src="./img/moz.png">
</a>
</div>
</div>
</div>
</div>
</div>
<h2 class="text-center mt-5 my-md-5"><strong>Features</strong></h2>
<div class="row container mx-auto">
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<h4 class="text-center">Nap Room</h4>
<p class="text-center px-md-5">View all tabs & windows you have put to sleep.</p>
<div class="pt-md-4 mx-auto text-center">
<img style="border-bottom: none" class="img-feature shadow other img-fluid wow fadeIn" src="./img/dashboard.png">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<div class="my-4 py-4 col-md-6 d-md-block d-none"> </div>
<h4 class="text-center">Sleep Doctor</h4>
<p class="text-center px-md-5">Mess with the sleep schedules for all tabs.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-feature shadow img-fluid wow fadeIn" src="./img/tab-actions.gif">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<h4 class="text-center">Keyboard Shortcuts</h4>
<p class="text-center px-md-5">Too lazy to click? Set up your own key combinations.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-feature other shadow img-fluid wow fadeIn" src="./img/keyboard.gif">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<div class="my-4 py-4 col-md-6 d-md-block d-none"> </div>
<h4 class="text-center">Context Menus</h4>
<p class="text-center px-md-5">Right click any link to snooze for later.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-feature shadow img-fluid wow fadeIn" src="./img/menu.jpg">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<h4 class="text-center">Dark Mode</h4>
<p class="text-center px-md-5">Only the coolest kids use dark mode.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-feature other shadow img-fluid wow fadeIn" src="./img/dark-mode.gif">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<div class="my-4 py-4 col-md-6 d-md-block d-none"> </div>
<h4 class="text-center">Notifications</h4>
<p class="text-center px-md-5">Get Native notifications when tabs and windows wake up.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-notification img-fluid py-4 wow fadeInRight" data-delay=".5s" src="./img/mac-notification.png">
<img class="img-notification img-fluid py-4 wow fadeInRight" data-delay="1s" src="./img/win-notification.jpg">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<h4 class="text-center">Highly Customisable</h4>
<p class="text-center px-md-5">Who doesnt love settings?</p>
<div class="pt-md-4 mx-auto text-center">
<img style="border-bottom: none" class="img-feature shadow img-fluid wow fadeIn" src="./img/settings.jpg">
</div>
</div>
<div class="col-md-6 col-12 py-md-4 py-3 px-md-5 px-0">
<div class="my-4 py-4 col-md-6 d-md-block d-none"> </div>
<h4 class="text-center">Works Completely Offline</h4>
<p class="text-center px-md-5">Your data will never be more secure.</p>
<div class="pt-md-4 mx-auto text-center">
<img class="img-feature other shadow img-fluid wow fadeIn" src="./img/offline.gif">
</div>
</div>
<div class="col-12 mb-5"> </div>
<div class="footer-stripe"></div>
</div>
</div>
<footer class="pt-lg-5 pt-md-4 pt-3 pb-3 mt-auto">
<div class="row container mx-auto">
<div class="col-12 col-md">
<h5>Snoozz</h5>
<small class="d-block mb-3 text-light">2020-2021</small>
<h5>Author</h5>
<ul class="list-unstyled text-small">
<li><a target="_blank" class="link-light umami--click--rohanxyz-footer" href="https://rohan.xyz/">Rohan Bhansali</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Support</h5>
<ul class="list-unstyled text-small">
<li><a target="_blank" class="link-light umami--click--bugs-footer" href="https://github.com/rohanb10/snoozz-tab-snoozing/issues/new/choose">Report a Bug</a></li>
<li><a target="_blank" class="link-light umami--click--suggest-footer" href="https://github.com/rohanb10/snoozz-tab-snoozing/issues/new/choose">Suggest a feature</a></li>
<li><a class="link-light umami--click--compatibility-footer" href="./compatibility">Compatibility</a></li>
<li><a class="link-light umami--click--faq-footer" href="./faq">FAQ</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Resources</h5>
<ul class="list-unstyled text-small">
<li><a class="link-light umami--click--privacy-footer" href="./privacy">Privacy</a></li>
<li><a class="link-light umami--click--stats-footer" href="./stats">Stats</a></li>
<li><a class="link-light umami--click--changelog-footer" href="./changelog">Changelog</a></li>
<li><a class="link-light umami--click--attribution-footer" href="./attribution">Attribution</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Links</h5>
<ul class="list-unstyled text-small">
<li><a target="_blank" class="link-light umami--click--github-footer" href="https://github.com/rohanb10/snoozz-tab-snoozing">Github</a></li>
<li><a target="_blank" class="link-light umami--click--cws-footer" href="https://chrome.google.com/webstore/detail/snoozz-snooze-tabs-window/lklendgldejcnkkaldoggoapclkepgfb">Chrome Web Store</a></li>
<li><a target="_blank" class="link-light umami--click--moz-footer" href="https://addons.mozilla.org/en-US/firefox/addon/snoozz/">Firefox Add-Ons</a></li>
</ul>
</div>
</div>
</footer>
<div id="hidden" class="d-none"></div>
<script src="./js/wow.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script>
new WOW({offset: 200}).init();
var heroes = {
tab: {
loaded: false,
duration: 2660,
},
window: {
loaded: false,
duration: 6540,
},
selected: {
loaded: false,
duration: 4350,
},
}
var heroTimeout, currentGif = 0;
function playHeroGifs() {
clearTimeout(heroTimeout);
Object.entries(heroes).forEach(([name, data], i, all) => {
currentGif = currentGif % all.length;
if (i != currentGif) return;
if (data.loaded == false) return currentGif++;
document.getElementById('hero_' + name).classList.remove('d-none');
restartGif(name);
heroTimeout = setTimeout(_ => {
document.querySelectorAll('.hero-gif').forEach(hg => hg.classList.add('d-none'));
heroTimeout = setTimeout(playHeroGifs, 4000);
}, data.duration)
});
currentGif++
}
function restartGif(name) {
var el = document.getElementById('hero_' + name);
var imgSrc = el.src;
el.src = imgSrc;
}
function loadHeros() {
Object.keys(heroes).forEach(h => {
var img = document.createElement('img');
img.classList.add('img-fluid', 'd-none', 'hero-gif', 'px-md-0', 'px-3');
img.id = 'hero_' + h;
document.querySelector('.hero-container').append(img);
img.onload = _ => {
var first = Object.values(heroes).every(s => s.loaded == false);
heroes[h].loaded = true;
if (first) playHeroGifs();
}
img.src = './img/hero_' + h + '.gif';
});
}
loadHeros();
</script>
</body>
</html>