-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
322 lines (288 loc) · 11.4 KB
/
index.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
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
<!DOCTYPE html>
<html>
<head>
<!-- Some general meta tags -->
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans&display=swap" rel="stylesheet">
<!-- FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0="
crossorigin="anonymous" />
<!-- Custom Styles -->
<link rel="stylesheet" type="text/css" href="./data/css/style.css?v5">
<link rel="stylesheet" type="text/css" href="./data/css/animate.min.css">
<title>CodeNicely - Ambient Background Music for Programmers</title>
<link href="./data/img/favicon.png" rel="icon" type="image/png" alt="Favourite Icon" />
</head>
<body>
<!-- Banner for old IE browser users -->
<!--[if lte IE 9]>
<div class="banner-ie-unsupported"><a class="close-button" title="Close this message" onclick="((this).parentNode.remove())">x</a> Browsers IE9 and lower are not supported. We don't guarantee the website fully working on your browser!</div>
<![endif]-->
<section id="mainSection" class="hero is-primary is-fullheight">
<div class="hero-head">
<nav class="navbar is-spaced is-transparent">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item" href="./">
CodeNicely
</a>
<div class="navbar-burger burger" data-target="navbar-menu">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="navbar-menu" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" onclick="toggleModal('about')">
<span class="icon">
<i class="fa fa-flask"></i>
</span>
<span>About</span>
</a>
<a id="dark-mode-button" class="navbar-item" onclick="toggleDarkMode()">
<span class="icon">
<i id="icon-dark-mode" class="fa fa-toggle-off"></i>
</span>
<span>Dark Mode</span>
</a>
<a class="navbar-item" href="#options">
<span class="icon">
<i class="fa fa-sliders"></i>
</span>
<span>Options</span>
</a>
</div>
</div>
</div>
</nav>
</div>
<!-- Hero content: will be in the middle -->
<div class="hero-body">
<div class="container has-text-centered">
<div class="has-text-centered icon playIcon">
<i id="defaultPlay" onclick="toggleMainAudio()" class="mainIcon fa fa-play" aria-hidden="true"></i>
</div>
<br class="margin-between-icon-and-text">
<h2 id="subtitle1" class="subtitle">
simple soothing sounds to help you #codeNicely
</h2>
</div>
</div>
<!-- Hero footer: will stick at the bottom -->
<div id="shareMenu" class="hero-foot">
<div class="has-text-centered margin-between-icon-and-screen-bottom">
<a href="http://www.facebook.com/sharer.php?u=https://mobihack.github.io/codenicely/">
<span class="icon">
<i class="fa fa-facebook"></i>
</span>
</a>
<a href="http://twitter.com/share?url=https://mobihack.github.io/codenicely/&text=Ambient Background Music for Programmers">
<span class="icon">
<i class="fa fa-twitter"></i>
</span>
</a>
<a href="https://pinterest.com/pin/create/link/?url=https://mobihack.github.io/codenicely/&description=Ambient Background Music for Programmers">
<span class="icon">
<i class="fa fa-pinterest"></i>
</span>
</a>
</div>
</div>
</section>
<div class="sideway-bg"></div>
<div class="section options-section" id="options">
<div class="has-text-centered">
<h2 class="title">
<span class="icon">
<i class="fa fa-sliders"></i>
</span>
<span>Options</span>
</h2>
<h2 class="subtitle">various tweaks</h2>
</div>
<br><br>
<div class="container is-10">
<div class="columns">
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('piano')">
<i class="fa fa-play-circle" id="pianoPlay" aria-hidden="true"></i>
</div>
<audio id="pianoAudio">
<source src="data/audio/piano.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Piano</div>
<div id="pianoAudioPlay">Play</div>
<input id="pianoAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('piano')">
</div>
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('rain')">
<i class="fa fa-play-circle" id="rainPlay" aria-hidden="true"></i>
</div>
<audio id="rainAudio">
<source src="data/audio/rain.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Rain</div>
<div id="rainAudioPlay">Play</div>
<input id="rainAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('rain')">
</div>
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('birds')">
<i class="fa fa-play-circle" id="birdsPlay" aria-hidden="true"></i>
</div>
<audio id="birdsAudio">
<source src="data/audio/birds.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Birds</div>
<div id="birdsAudioPlay">Play</div>
<input id="birdsAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('birds')">
</div>
</div>
<div class="columns">
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('fire')">
<i class="fa fa-play-circle" id="firePlay" aria-hidden="true"></i>
</div>
<audio id="fireAudio">
<source src="data/audio/fire.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Fire</div>
<div id="fireAudioPlay">Play</div>
<input id="fireAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('fire')">
</div>
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('bells')">
<i class="fa fa-play-circle" id="bellsPlay" aria-hidden="true"></i>
</div>
<audio id="bellsAudio">
<source src="data/audio/bells.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Bells</div>
<div id="bellsAudioPlay">Play</div>
<input id="bellsAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('bells')">
</div>
<div class="column is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('people')">
<i class="fa fa-play-circle" id="peoplePlay" aria-hidden="true"></i>
</div>
<audio id="peopleAudio">
<source src="data/audio/people.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">People</div>
<div id="peopleAudioPlay">Play</div>
<input id="peopleAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('people')">
</div>
</div>
<div class="columns">
<div class="column is-offset-4 is-4 has-text-centered">
<div class="playIcon" onclick="toggleSubAudio('cricket')">
<i class="fa fa-play-circle" id="cricketPlay" aria-hidden="true"></i>
</div>
<audio id="cricketAudio">
<source src="data/audio/cricket.mp3" type="audio/mpeg">
</audio>
<div class="is-black audioTitle">Cricket</div>
<div id="cricketAudioPlay">Play</div>
<input id="cricketAudioVolume" min="0" max="100" value="20" class="hidden" type="range" onmousemove="soundCheck('cricket')">
</div>
</div>
</div>
</div>
<!-- Javascript Zone :D -->
<script type="text/javascript" src="data/js/script.js?v5"></script>
<!-- End of Javascript Zone :'( -->
<div class="sideway-bg-footer"></div>
<!-- The Hero Footer -->
<footer id="footer" class="hero is-primary">
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered has-text-centered">
<div class="column is-one-third is-left">
<p class="title">CodeNicely</p>
<p class="subtitle">by
<strong>CodeVector</strong>
</p>
</div>
<div class="column has-text-centered">
<p>
Created by <a class="has-text-white" href="https://github.com/mobihack/">mobihack</a> & <a class="has-text-white" href="https://github.com/feat7/">feat7</a>.
<br> We support Open Source
<span class="icon animated wobble infinite">
<i style="color: #f44336;" class="fa fa-heart"></i>
</span>
</div>
</div>
</div>
</div>
</footer>
<!-- START MODALS -->
<!--
Modals are defined here
-->
<div id="modal-about" class="modal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">
<span class="icon">
<i class="fa fa-flask"></i>
</span> About</p>
<button class="delete" onclick="toggleModal('about')"></button>
</header>
<section class="modal-card-body">
<div class="content">
<p>CodeNicely website was created by the Team CodeVector.</p>
<p>The purpose of the website is to generate ambient background music to help programmers to work peacefully</p>
<h2>Credits</h2>
<p>CodeNicely tool wouldn't be what it is now without the help and contribution of many people!</p>
<ul>
<li>Vinay
<a href="http://github.com/feat7">
<span class="ico fa fa-github"></span>
</a> - First working model and base files.</li>
<li>Amal John
<a href="https://github.com/thecodefreak">
<span class="ico fa fa-github"></span>
</a> - For all his support & contribution.</li>
<li>Jeremy Thomas
<a href="http://bulma.io">
<span class="ico fa fa-external-link"></span>
</a> - For the awesome Bulma CSS3 Framework.</li>
<li>FontAwesome Team
<a href="http://fontawesome.io/">
<span class="ico fa fa-fa"></span>
</a> - For those free, still awesome icons.</li>
<li>mobihack (me)
<a href="http://github.com/mobihack">
<span class="ico fa fa-github"></span>
</a> - For all his good qualities and endless contribution :D</li>
</ul>
<h3>License</h3>
<div class="subtitle">The MIT License (MIT)</div>
<p>This site is licensed under the MIT license.
<br>
</p>
<p class="has-text-centered">
<a href="./LICENSE.txt">
<span class="ico fa fa-external-link"></span> license.txt</a>
<a href="http://opensource.org/licenses/MIT">
<span class="ico fa fa-external-link"></span> OpenSource.Org</a>
</p>
<h4>Usage & Copyright</h4>
<p>We don't hold copyrights to some files used in this website. We would be happy to remove or attribute any content
that you may deem by showing proper ownership of the file/content in question.</p>
<br>
</div>
</section>
<footer class="modal-card-foot">
<a class="button is-pulled-right is-danger" onclick="toggleModal('about')">Close</a>
</footer>
</div>
</div>
<!-- END MODALS -->
</body>
</html>