-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
357 lines (323 loc) · 18.5 KB
/
index.html
File metadata and controls
357 lines (323 loc) · 18.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- pickr library -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/classic.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@simonwep/pickr"></script>
<!-- Primary Meta Tags -->
<meta name="title" content="The Clock">
<meta name="description"
content="Discover our sleek, atheistic online digital clock, crafted with minimalist sophistication and modern charm. Customize font style, color, size, and background to match your taste. Enjoy the option of a tik-tock sound or keep it silent. User-friendly design makes it easy to tailor to your needs." />
<meta name="keywords"
content="the clock, online clock, customizable digital clock, minimalist clock, stylish clock, elegant digital time, modern clock design, real-time clock, clock with font options, aesthetic clock">
<meta name="author" content="Mohammad Arif Aziz">
<meta name="language" content="en">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.theclock.online/">
<meta property="og:title" content="The Clock - Customizable Minimalist Digital Clock">
<meta property="og:description"
content="Customize your digital clock with fonts, colors, and sizes. Modern, elegant, and user-friendly ">
<meta property="og:image" content="https://theclock.online/asset/ss-clock.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.theclock.online/">
<meta property="twitter:title" content="The Clock - Elegant Online Digital Clock">
<meta property="twitter:description"
content="Explore The Clock: a sleek, customizable digital clock for your screen. Make time beautiful.">
<meta property="twitter:image" content="https://theclock.online/asset/ss-clock.png">
<!-- google auth -->
<meta name="google-site-verification" content="rra2nhFOBD8VzGI3VAynsquI867Z6m4i25_Otq7p5F0" />
<!-- favicon -->
<link rel="icon" href="https://theclock.online/asset/favicon.ico" type="image/x-icon" sizes="any" />
<link rel="icon" href="https://theclock.online/favicon.ico" type="image/x-icon" sizes="any" />
<link rel="shortcut icon" href="https://theclock.online/asset/favicon.ico" type="image/x-icon" sizes="any" />
<link rel="icon" type="image/svg+xml" href="https://theclock.online/asset/favicon.svg" />
<link rel="icon" type="image/png" href="https://theclock.online/asset/favicon.png" />
<link rel="apple-touch-icon" type="image/png" sizes="180x180"
href="https://theclock.online/asset/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="192x192" href="https://theclock.online/asset/android-chrome-192x192.png" />
<link rel="icon" type="image/png" sizes="512x512" href="https://theclock.online/asset/android-chrome-512x512.png" />
<link rel="icon" type="image/png" sizes="32x32" href="https://theclock.online/asset/favicon-32x32.png" />
<title>The athestic digital clock you ever need on your desk.</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Butcherman&family=Coiny&family=Kranky&family=Londrina+Shadow&family=Moo+Lah+Lah&family=Nosifer&family=Rubik+Distressed&family=Rubik+Gemstones&family=Rubik+Iso&family=Rubik+Moonrocks&family=Rubik+Puddles&family=Hanalei&family=Honk&family=Rubik+Glitch+Pop&family=Raleway&display=swap" rel="stylesheet">
<!-- JSON-LD structured data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "The Clock",
"url": "https://www.theclock.online",
"author": {
"@type": "Person",
"name": "Mohammad Arif Aziz"
},
"description": "Welcome to our elegant online digital clock, crafted with minimalist sophistication. Personalize fonts, colors, and sizes for a stylish timekeeping experience.",
"inLanguage": "en",
"publisher": {
"@type": "Person",
"name": "Mohammad Arif Aziz"
},
"image": "https://theclock.online/asset/ss-clock.png",
"keywords": [
"the clock",
"online clock",
"customizable digital clock",
"minimalist clock",
"modern clock design",
"real-time clock",
"aesthetic clock",
"digital time display"
]
}
</script>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
<link rel="manifest" href="manifest.json" />
<!-- service worker -->
<script>navigator.serviceWorker.register("sw.js")</script>
<link rel="canonical" href="https://theclock.online" />
</head>
<body>
<nav class="navbar">
<a href="#" class="toggle-button" aria-label="toggle-button">
<svg id="settings-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1" width="20" height="20" viewBox="0 0 256 256" xml:space="preserve"
style="cursor: pointer; transition: transform 0.3s ease">
<g style="
stroke: none;
stroke-width: 0;
stroke-dasharray: none;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 10;
fill: none;
fill-rule: nonzero;
opacity: 1;
" transform="translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)">
<path
d="M 82.939 32.54 c -2.685 0 -5.092 -1.544 -6.326 -3.929 c -0.246 -0.475 -0.504 -0.948 -0.774 -1.416 c -0.27 -0.468 -0.55 -0.928 -0.839 -1.378 c -1.448 -2.26 -1.582 -5.118 -0.24 -7.443 c 1.95 -3.377 0.793 -7.695 -2.584 -9.645 l -9.353 -5.4 c -3.377 -1.95 -7.695 -0.793 -9.645 2.584 l -0.002 0.003 c -1.323 2.291 -3.814 3.641 -6.456 3.512 c -1.148 -0.056 -2.301 -0.056 -3.455 0 c -2.637 0.128 -5.123 -1.226 -6.443 -3.513 l -0.001 -0.002 c -1.95 -3.377 -6.268 -4.534 -9.645 -2.584 l -9.353 5.4 c -3.377 1.95 -4.534 6.268 -2.584 9.645 l 0.001 0.002 c 1.32 2.286 1.25 5.116 -0.179 7.336 c -0.625 0.971 -1.202 1.97 -1.727 2.992 c -1.209 2.353 -3.624 3.835 -6.27 3.835 H 7.061 C 3.161 32.539 0 35.701 0 39.6 V 50.4 c 0 3.9 3.161 7.061 7.061 7.061 l 0 0 c 2.685 0 5.092 1.544 6.326 3.929 c 0.246 0.475 0.504 0.947 0.774 1.416 c 0.27 0.468 0.55 0.928 0.839 1.378 c 1.448 2.26 1.582 5.118 0.24 7.442 c -1.95 3.377 -0.793 7.696 2.584 9.645 l 9.353 5.4 c 3.377 1.95 7.695 0.793 9.645 -2.584 l 0.002 -0.003 c 1.323 -2.291 3.814 -3.641 6.456 -3.512 c 1.148 0.056 2.301 0.057 3.455 0.001 c 2.637 -0.128 5.123 1.226 6.443 3.513 l 0.001 0.002 c 1.95 3.377 6.268 4.534 9.645 2.584 l 9.353 -5.4 c 3.377 -1.95 4.534 -6.268 2.584 -9.645 l -0.001 -0.002 c -1.32 -2.286 -1.25 -5.116 0.179 -7.336 c 0.625 -0.971 1.201 -1.97 1.727 -2.992 c 1.209 -2.353 3.624 -3.835 6.27 -3.835 h 0.004 c 3.9 0 7.061 -3.161 7.061 -7.061 V 39.6 C 90 35.701 86.839 32.54 82.939 32.54 z M 54.998 62.318 c -9.564 5.522 -21.794 2.245 -27.316 -7.319 c -5.522 -9.564 -2.245 -21.794 7.319 -27.316 c 9.564 -5.522 21.794 -2.245 27.316 7.319 C 67.84 44.566 64.563 56.796 54.998 62.318 z"
style="
stroke: none;
stroke-width: 1;
stroke-dasharray: none;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 10;
fill: rgb(171, 171, 171);
fill-rule: nonzero;
opacity: 1;
" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
<path
d="M 45.039 69.007 c -2.085 0 -4.183 -0.273 -6.25 -0.828 c -6.191 -1.659 -11.366 -5.63 -14.571 -11.181 c -6.616 -11.459 -2.676 -26.164 8.783 -32.78 c 11.459 -6.617 26.165 -2.675 32.78 8.783 c 3.205 5.551 4.057 12.018 2.397 18.209 s -5.63 11.366 -11.181 14.57 C 53.301 67.916 49.197 69.007 45.039 69.007 z M 44.973 29.006 c -2.712 0 -5.458 0.689 -7.972 2.14 c -7.639 4.41 -10.265 14.213 -5.855 21.852 c 2.137 3.7 5.586 6.348 9.713 7.453 c 4.127 1.107 8.438 0.538 12.138 -1.598 l 0 0 c 3.7 -2.137 6.348 -5.586 7.453 -9.713 c 1.106 -4.128 0.539 -8.438 -1.598 -12.139 C 55.895 31.876 50.506 29.006 44.973 29.006 z"
style="
stroke: none;
stroke-width: 1;
stroke-dasharray: none;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 10;
fill: rgb(227, 227, 227);
fill-rule: nonzero;
opacity: 1;
" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
</g>
</svg>
</a>
<div class="navbar-links">
<ul>
<li>
<div class="titleName">Toggle Secs</div>
<button id="toggle-blink">Turn Off</button>
</li>
<li>
<div class="titleName">Toggle DateDay</div>
<button id="toggle-dateDay">Turn Off</button>
</li>
<div class="titleName">Font style</div>
<li id="padding">
<div>
<select id="input" class="fontInput" onchange="changingFontStyle(this);">
<option value="Azonix" selected="selected">Azonix</option>
<option value="OpenSans">OpenSans</option>
<option value="Honk">Honk</option>
<option value="Rubik Gemstones">Rubik Gemstones</option>
<option value="Rubik Distressed">Rubik Distressed</option>
<option value="Rubik Moonrocks">Rubik Moonrocks</option>
<option value="Moo Lah Lah">Moo Lah Lah</option>
<option value="Rubik Puddles">Rubik Puddles</option>
<option value="Butcherman">Butcherman</option>
<option value="Rubik Iso">Rubik Iso</option>
<option value="Londrina Shadow">ondrina Shadow</option>
<option value="Kranky">Kranky</option>
<option value="Nosifer">Nosifer</option>
<option value="Coiny">Coiny</option>
<option value="Hanalei">Hanalei</option>
<option value="Rubik Glitch Pop">Rubik Glitch Pop</option>
<option value="Raleway">Raleway</option>
<option value="TrenchThin">TrenchThin</option>
<option value="Digital7Mono">Digital7Mono</option>
<option value="OrdinaryLove">OrdinaryLove</option>
<option value="PegHoles">PegHoles</option>
<option value="chintzy">Chintzy</option>
<option value="chintzys">Chintzys</option>
<option value="DOTMATRI">DOTMATRI</option>
<option value="DOTMBold">DOTMBold</option>
<option value="DS-DIGIB">DS-DIGIB</option>
<option value="DS-DIGI">DS-DIGI</option>
<option value="MINECRAFTPE">MINECRAFT PE</option>
<option value="Sparks">Sparks</option>
<option value="Okesip">Okesip</option>
<option value="Roller">Roller</option>
<option value="Sextape">Sextape</option>
<option value="RitaOfCascia">RitaOfCascia</option>
<option value="Mockery">Mockery</option>
<option value="HocusPocusFilled">HocusPocusFilled</option>
<option value="HocusPocusHollow">HocusPocusHollow</option>
<option value="HocusPocus">HocusPocus</option>
<option value="Storycan">Storycan</option>
<option value="Showthat">Showthat</option>
<option value="BroshkLime">BroshkLime</option>
<option value="Pasti">Pasti</option>
<option value="Library3am">Library3am</option>
<option value="DigitaltsLime">DigitaltsLime</option>
<option value="Digitaltech">Digitaltech</option>
<option value="InflammableAge">Inflammable Age</option>
<option value="DignityofLabour">Dignity of Labour</option>
<option value="Minisystem">Minisystem</option>
<option value="HokjesgeestCubeLeft">HokjesgeestCubeLeft</option>
<option value="HokjesgeestCubeRight">HokjesgeestCubeRight</option>
<option value="McGareyRegular">McGareyRegular</option>
<option value="Oslo">Oslo</option>
<option value="Oslo_Bold">Oslo Bold</option>
<option value="Segment14">Segment14</option>
<option value="ninepin">ninepin</option>
<option value="HartingPlain">Harting Plain</option>
<option value="LCD14">LCD14</option>
<option value="Taurus-Mono-Outline">Taurus-Mono-Outline</option>
<option value="AmericanStencil">AmericanStencil</option>
<option value="software_tester_7">software_tester_7</option>
<option value="Dotrice">Dotrice-Regular</option>
<option value="repet">repet</option>
<option value="UbuntuMono-R">UbuntuMono-R</option>
<option value="gabriele-d">gabriele-d</option>
<option value="zig">zig</option>
<option value="origa">origa</option>
<option value="origap">origap</option>
<option value="micrenc">micrenc</option>
<option value="saxmono">saxmono</option>
<option value="Hack">Hack</option>
<option value="FiraMono">FiraMono</option>
</select>
</div>
</li>
<div class="titleName">Font size</div>
<li id="padding">
<input class="none" type="range" min="20" max="1000" value="0" id="slider" step="1" />
</li>
<div class="titleName">Font color</div>
<li id="padding"><input id="colorPicker" type="color" />
<div id="fontColorPicker"></div>
</li>
<div class="titleName">Background color</div>
<li id="padding"><input id="colorInput" type="color" />
<div id="bgColorPicker"></div>
</li>
<div id="bgImg" class="titleName">Background Image</div>
<li id="padding"><input id="filePicker" type="file" accept="image/*">
<br><br>
<button id="resetButton">Reset</button>
</li>
<div class="titleName">Sound</div>
<li id="padding">
<audio id="audio" controls loop src="asset/ticking-clock_1-27477.mp3"></audio>
</li>
<li id="about">
<a href="#info-about" class="linkAbout" aria-label="linkAbout">About</a>
</li>
<li>
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js"
data-name="bmc-button" data-slug="GreenBird99" data-color="#58bf7f" data-emoji="" data-font="Cookie"
data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#ffffff"
data-coffee-color="#FFDD00"></script>
</li>
</ul>
</div>
</nav>
<div id="container">
<div id="clock" onload="currentTime()"></div>
<div id="dateDay">
<div class="date" id="date"></div>
<div class="day" id="day"></div>
</div>
</div>
<p id="swipeHint2" class="swipe-hint2"><----TOGGLE SETTINGS TO CHANGE FONT COLOR, BACKGROUNG COLOR, BACKGROUND IMAGE
AND MORE</p>
<p id="swipeHint" class="swipe-hint">SCROLL OR SWIPE THE CLOCK TO CHANGE ITS FONT</p>
<div class="toggleAbout">
<section id="info-about">
<h1>Athestic, sleek, user-friendly digital clock.</h1>
</section>
<!--my-watermark-->
<p class="my-watermark">
Designed & Developed by
<a href="https://portfolio-mohammad-arif-aziz.netlify.app" target="_blank" rel="noopener noreferrer">Arif</a>
</p>
<p class="other-apps">
<span>Our other apps:</span>
<a href="https://timeforsalah.netlify.app" target="_blank" rel="noopener noreferrer" class="app-link">
<img src="asset/salah-time.svg" alt="Salah Time" class="icon small" />
SalahTime
</a>
<a href="https://halal-e-code.netlify.app" target="_blank" rel="noopener noreferrer" class="app-link">
<img src="asset/halal e-code.svg" alt="Halal E-Code" class="icon" />
Halal E-Code
</a>
</p>
<p>
Welcome to our elegant online digital clock, crafted with minimalist
sophistication and modern charm. Our sleek, user-friendly interface
ensures that keeping track of time is both effortless and visually
stunning. This digital clock offers an impressive range of customization
options to cater to your unique style and functional preferences.<br />
<br />
Personalize your experience by choosing from a variety of font styles,
whether you prefer a classic look, a contemporary design, or something
uniquely your own. Adjust the font color to match your mood or
complement your decor, selecting from a vibrant spectrum of colors to
make your clock a true reflection of your taste. Additionally, you can
tailor the font size to ensure it is as prominent or discreet as you
need for optimal readability and comfort.<br />
<br />
Enhance the visual appeal of your clock with customizable background
colors. Whether you desire a soft, calming shade or a bold, striking
hue, our clock allows you to create the perfect backdrop for your time
display. The range of options is virtually limitless, enabling you to
design a clock that seamlessly fits into any environment, from your
office to your home.<br />
<br />
For those who enjoy auditory cues, our digital clock features an
optional tik-tock sound effect. This can be easily toggled on or off to
provide a gentle reminder of the passage of time without being overly
intrusive.<br />
<br />
Our online digital clock is designed with user-friendliness at its core.
The intuitive interface ensures that making adjustments is
straightforward and quick, allowing you to focus on what matters most.
With its sleek design and extensive customization options, our clock is
not just a timekeeping tool but a stylish addition to your digital
experience.<br />
<br />
Discover the perfect fusion of form and function with our elegant,
customizable online digital clock. Start personalizing your clock today
and find out why it is the preferred choice for those who appreciate
both style and simplicity in their timekeeping solutions.
</p>
</div>
</body>
</html>