-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (77 loc) · 2.57 KB
/
index.html
File metadata and controls
94 lines (77 loc) · 2.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>NOMBER</title>
<link rel="icon" href="icons/favicon.ico" />
<link rel="manifest" href="/manifest.json" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" href="/icons/android-chrome-192x192.png">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta author="Dheeraz V." />
<meta name="description" content="A simple tap counter app built with PWA technologies." />
<meta name="keywords" content="tap counter, pwa, progressive web app, nomber, clicker, counter app" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<!-- HEADER -->
<header class="fixed top-0 w-full flex justify-between items-center px-5 py-4 z-50">
<!-- Brand -->
<a
href="https://github.com/dheeraz101/Nomber/"
target="_blank"
class="text-xs tracking-widest opacity-60 hover:opacity-100 transition"
>
NOMBER
</a>
<!-- Support (icon only) -->
<a
href="https://www.buymeacoffee.com/dheeraz"
target="_blank"
aria-label="Support Nomber"
class="text-lg opacity-50 hover:opacity-100 transition"
>
☕︎
</a>
</header>
<!-- MAIN -->
<main
id="tapArea"
class="flex flex-col items-center justify-center select-none relative"
style="height:100dvh"
>
<canvas id="fx"></canvas>
<div id="count" class="hero-number">0</div>
<div id="meta" class="hero-meta"></div>
</main>
<!-- FOOTER -->
<footer
class="fixed bottom-0 w-full flex justify-center items-center gap-3 text-xs py-4 opacity-60"
>
<!-- ACTION BUTTONS -->
<div class="fixed bottom-20 right-6 flex flex-col gap-3">
<button id="startBtn"
class="bg-black text-white px-4 py-2 rounded-full shadow-lg">
▶ Start
</button>
<button id="resetBtn"
class="bg-gray-200 text-black px-4 py-2 rounded-full shadow-lg">
Reset
</button>
</div>
<a href="https://dheeraz.netlify.app" target="_blank" class="hover:underline">
Made with ❤️ by @dheeraz
</a>
<span>•</span>
<button id="themeBtn">theme</button>
<span>•</span>
<button id="shareBtn">share</button>
<span>•</span>
<button id="screenBtn">Screen</button>
<span>•</span>
<button id="installBtn" class="hidden">install</button>
</footer>
<script src="app.js"></script>
</html>