Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (64 loc) · 2.69 KB
/
Copy pathindex.html
File metadata and controls
82 lines (64 loc) · 2.69 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
<!doctype html>
<html lang="fr">
<head>
<!-- Charset & Title -->
<meta charset="utf-8" />
<title>Clicker</title>
<!-- Responsive & Color Scheme -->
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="color-scheme" content="dark light" />
<meta name="mobile-web-app-capable" content="yes">
<!-- Favicons -->
<link rel="icon" type="image/png" href="./icons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="./icons/favicon.svg" />
<link rel="shortcut icon" href="./icons/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="./icons/apple-touch-icon.png" />
<link rel="manifest" href="./icons/site.webmanifest" />
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- déclencheur du menu Dev : bouton invisible mais cliquable -->
<button id="devTrigger" type="button" aria-label="Mode développeur"
style="position:fixed; left:8px; top:8px; width:32px; height:32px; opacity:0; pointer-events:auto; z-index:9999;">
<span class="visually-hidden">Mode développeur</span>
</button>
<!-- corrige la faute d'attribut -->
<button id="settingsBtn" aria-label="Paramètres">⚙️</button>
<main class="game-layout">
<!-- Stats en haut -->
<header class="stats-header">
<h1 class="title">💰 Points : <span id="pointsValue">0</span></h1>
<p class="subtitle">⚡ Clics/s : <span id="autoClicksValue">0</span></p>
</header>
<!-- Zone d’actions principales -->
<section class="action-zone">
<button id="tapBtn" class="btn btn-primary big-btn">👆 Tapper (+1)</button>
<hr class="divider action-divider" />
<div class="actions-grid">
<button id="upgradesBtn" class="btn btn-secondary">🆙 Améliorations</button>
<button id="shopBtn" class="btn btn-shop">🛍️ Shop</button>
<button id="rebirthBtn" class="btn btn-warning">🌱 Rebirth</button>
</div>
<hr class="divider action-divider" />
<!-- Quick Stats dynamique -->
<div id="quickStats" class="quick-stats"></div>
</section>
<!-- Placeholder pour le modal Améliorations (injecté par upgrades.js) -->
<div id="storeModal"></div>
<div id="settingsModal"></div>
<div id="devModal"></div>
<div id="modalSecond"></div>
<!-- Modale Mode Développeur -->
<!-- Footer -->
<footer class="footer">
<div class="footer-left">
<span id="versionText"> </span>
</div>
<div class="footer-right">
</div>
</footer>
</main>
<script type="module" src="./main.js"></script>
</body>
</html>