Taallion commited on
Commit
bcf3801
·
verified ·
1 Parent(s): 73a4228

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +585 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ztpause
3
- emoji: 🦀
4
- colorFrom: green
5
  colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: ztpause
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
  colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,585 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>ZenTech Pause - Votre espace de relaxation</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .breathing-text {
11
+ animation: breathing 8s ease-in-out infinite;
12
+ }
13
+
14
+ @keyframes breathing {
15
+ 0% {
16
+ transform: scale(0.95);
17
+ opacity: 0.8;
18
+ }
19
+ 50% {
20
+ transform: scale(1.05);
21
+ opacity: 1;
22
+ }
23
+ 100% {
24
+ transform: scale(0.95);
25
+ opacity: 0.8;
26
+ }
27
+ }
28
+
29
+ .breath-instruction {
30
+ transition: all 0.5s;
31
+ }
32
+
33
+ .sound-btn {
34
+ transition: all 0.3s;
35
+ }
36
+
37
+ .sound-btn:hover {
38
+ transform: translateY(-3px);
39
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
40
+ }
41
+
42
+ .sound-btn.active {
43
+ transform: translateY(-3px);
44
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
45
+ border: 2px solid #3b82f6;
46
+ }
47
+
48
+ .bubble {
49
+ position: absolute;
50
+ border-radius: 50%;
51
+ cursor: pointer;
52
+ transition: transform 0.2s, opacity 0.2s;
53
+ }
54
+
55
+ .bubble:hover {
56
+ transform: scale(1.1);
57
+ }
58
+
59
+ .bubble:active {
60
+ opacity: 0;
61
+ transform: scale(1.5);
62
+ }
63
+
64
+ .stretch-card {
65
+ transition: all 0.3s;
66
+ }
67
+
68
+ .stretch-card:hover {
69
+ transform: translateY(-5px);
70
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
71
+ }
72
+
73
+ .tab-content {
74
+ display: none;
75
+ }
76
+
77
+ .tab-content.active {
78
+ display: block;
79
+ animation: fadeIn 0.5s;
80
+ }
81
+
82
+ @keyframes fadeIn {
83
+ from { opacity: 0; }
84
+ to { opacity: 1; }
85
+ }
86
+ </style>
87
+ </head>
88
+ <body class="bg-white font-sans min-h-screen flex flex-col">
89
+ <!-- Header -->
90
+ <header class="bg-white shadow-sm py-4">
91
+ <div class="container mx-auto px-4 flex justify-between items-center">
92
+ <h1 class="text-2xl font-bold text-gray-800">Zen<span class="text-blue-500">Tech</span> Pause</h1>
93
+ <nav>
94
+ <ul class="flex space-x-6">
95
+ <li><button onclick="showTab('home')" class="text-gray-600 hover:text-blue-500 font-medium">Accueil</button></li>
96
+ <li><button onclick="showTab('pause')" class="text-gray-600 hover:text-blue-500 font-medium">Pause</button></li>
97
+ <li><button onclick="showTab('game')" class="text-gray-600 hover:text-blue-500 font-medium">Mini-jeu</button></li>
98
+ <li><button onclick="showTab('tips')" class="text-gray-600 hover:text-blue-500 font-medium">Astuces</button></li>
99
+ </ul>
100
+ </nav>
101
+ </div>
102
+ </header>
103
+
104
+ <!-- Main Content -->
105
+ <main class="flex-grow container mx-auto px-4 py-8">
106
+ <!-- Home Tab -->
107
+ <div id="home" class="tab-content active">
108
+ <section class="text-center py-16">
109
+ <div class="max-w-3xl mx-auto">
110
+ <h2 class="text-4xl md:text-5xl font-bold text-gray-800 mb-8 breathing-text">Faites une vraie pause.</h2>
111
+ <div class="flex flex-col items-center justify-center mb-12">
112
+ <div id="breath-instruction" class="text-2xl font-medium text-blue-500 mb-4 breath-instruction">Inspirez...</div>
113
+ <div class="w-40 h-40 bg-blue-100 rounded-full flex items-center justify-center mb-4">
114
+ <div id="breath-circle" class="w-20 h-20 bg-blue-500 rounded-full transition-all duration-4000"></div>
115
+ </div>
116
+ <p class="text-gray-600 max-w-md">Prenez un moment pour vous détendre. Suivez l'animation pour une respiration consciente.</p>
117
+ </div>
118
+ <button onclick="showTab('pause')" class="bg-blue-500 hover:bg-blue-600 text-white font-medium py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105">
119
+ Commencer ma pause
120
+ </button>
121
+ </div>
122
+ </section>
123
+ </div>
124
+
125
+ <!-- Pause Tab -->
126
+ <div id="pause" class="tab-content">
127
+ <section class="py-8">
128
+ <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">Choisissez votre pause</h2>
129
+
130
+ <!-- Sounds Section -->
131
+ <div class="mb-12">
132
+ <h3 class="text-xl font-semibold text-gray-700 mb-6 flex items-center">
133
+ <i class="fas fa-music mr-2 text-blue-500"></i> Sons relaxants
134
+ </h3>
135
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
136
+ <button onclick="playSound('tibetan')" class="sound-btn bg-white rounded-xl p-6 shadow-md border-2 border-transparent flex flex-col items-center">
137
+ <div class="w-20 h-20 bg-blue-50 rounded-full flex items-center justify-center mb-4">
138
+ <i class="fas fa-spa text-blue-500 text-3xl"></i>
139
+ </div>
140
+ <h4 class="font-medium text-gray-800 mb-2">Bol tibétain</h4>
141
+ <p class="text-gray-600 text-sm text-center">Son pur et résonnant pour calmer l'esprit</p>
142
+ <audio id="tibetan-sound" src="https://assets.mixkit.co/sfx/preview/mixkit-singing-bowl-1683.mp3"></audio>
143
+ </button>
144
+
145
+ <button onclick="playSound('waves')" class="sound-btn bg-white rounded-xl p-6 shadow-md border-2 border-transparent flex flex-col items-center">
146
+ <div class="w-20 h-20 bg-blue-50 rounded-full flex items-center justify-center mb-4">
147
+ <i class="fas fa-water text-blue-500 text-3xl"></i>
148
+ </div>
149
+ <h4 class="font-medium text-gray-800 mb-2">Vagues océanes</h4>
150
+ <p class="text-gray-600 text-sm text-center">Bruit apaisant des vagues sur le rivage</p>
151
+ <audio id="waves-sound" src="https://assets.mixkit.co/sfx/preview/mixkit-waves-on-the-beach-1183.mp3"></audio>
152
+ </button>
153
+
154
+ <button onclick="playSound('wind')" class="sound-btn bg-white rounded-xl p-6 shadow-md border-2 border-transparent flex flex-col items-center">
155
+ <div class="w-20 h-20 bg-blue-50 rounded-full flex items-center justify-center mb-4">
156
+ <i class="fas fa-wind text-blue-500 text-3xl"></i>
157
+ </div>
158
+ <h4 class="font-medium text-gray-800 mb-2">Vent dans les arbres</h4>
159
+ <p class="text-gray-600 text-sm text-center">Douce brise à travers les feuilles</p>
160
+ <audio id="wind-sound" src="https://assets.mixkit.co/sfx/preview/mixkit-wind-in-the-trees-1681.mp3"></audio>
161
+ </button>
162
+ </div>
163
+ </div>
164
+
165
+ <!-- Stretches Section -->
166
+ <div>
167
+ <h3 class="text-xl font-semibold text-gray-700 mb-6 flex items-center">
168
+ <i class="fas fa-running mr-2 text-green-500"></i> Étirements rapides
169
+ </h3>
170
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
171
+ <div class="stretch-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
172
+ <div class="w-full h-40 bg-green-50 rounded-lg flex items-center justify-center mb-4">
173
+ <i class="fas fa-hands text-green-500 text-5xl"></i>
174
+ </div>
175
+ <h4 class="font-medium text-gray-800 mb-2">Étirement des bras</h4>
176
+ <p class="text-gray-600 text-sm mb-3">Levez les bras, croisez les doigts et étirez-vous vers le haut pendant 15 secondes.</p>
177
+ <div class="flex items-center text-green-500 text-sm">
178
+ <i class="fas fa-clock mr-1"></i>
179
+ <span>15 secondes</span>
180
+ </div>
181
+ </div>
182
+
183
+ <div class="stretch-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
184
+ <div class="w-full h-40 bg-green-50 rounded-lg flex items-center justify-center mb-4">
185
+ <i class="fas fa-user text-green-500 text-5xl"></i>
186
+ </div>
187
+ <h4 class="font-medium text-gray-800 mb-2">Rotation du cou</h4>
188
+ <p class="text-gray-600 text-sm mb-3">Tournez lentement la tête d'un côté à l'autre, puis faites des cercles pendant 20 secondes.</p>
189
+ <div class="flex items-center text-green-500 text-sm">
190
+ <i class="fas fa-clock mr-1"></i>
191
+ <span>20 secondes</span>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="stretch-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
196
+ <div class="w-full h-40 bg-green-50 rounded-lg flex items-center justify-center mb-4">
197
+ <i class="fas fa-hand-paper text-green-500 text-5xl"></i>
198
+ </div>
199
+ <h4 class="font-medium text-gray-800 mb-2">Étirement des poignets</h4>
200
+ <p class="text-gray-600 text-sm mb-3">Tirez doucement chaque main vers l'arrière pendant 10 secondes de chaque côté.</p>
201
+ <div class="flex items-center text-green-500 text-sm">
202
+ <i class="fas fa-clock mr-1"></i>
203
+ <span>10 secondes par main</span>
204
+ </div>
205
+ </div>
206
+
207
+ <div class="stretch-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
208
+ <div class="w-full h-40 bg-green-50 rounded-lg flex items-center justify-center mb-4">
209
+ <i class="fas fa-eye text-green-500 text-5xl"></i>
210
+ </div>
211
+ <h4 class="font-medium text-gray-800 mb-2">Pause visuelle</h4>
212
+ <p class="text-gray-600 text-sm mb-3">Fermez les yeux et couvrez-les avec vos paumes pendant 30 secondes pour reposer vos yeux.</p>
213
+ <div class="flex items-center text-green-500 text-sm">
214
+ <i class="fas fa-clock mr-1"></i>
215
+ <span>30 secondes</span>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </section>
221
+ </div>
222
+
223
+ <!-- Game Tab -->
224
+ <div id="game" class="tab-content">
225
+ <section class="py-8">
226
+ <h2 class="text-3xl font-bold text-gray-800 mb-2 text-center">Bubbles Burst</h2>
227
+ <p class="text-gray-600 text-center mb-8">Cliquez sur les bulles pour les faire éclater et vous détendre</p>
228
+
229
+ <div class="flex justify-center mb-6">
230
+ <div class="bg-white rounded-full px-6 py-3 shadow-md flex items-center">
231
+ <i class="fas fa-bullseye text-blue-500 mr-2"></i>
232
+ <span class="font-medium text-gray-800">Bulles éclatées: </span>
233
+ <span id="bubble-counter" class="font-bold text-blue-500 ml-1">0</span>
234
+ </div>
235
+ </div>
236
+
237
+ <div id="bubble-container" class="relative w-full h-96 bg-white rounded-xl shadow-inner border border-gray-200 overflow-hidden">
238
+ <div class="absolute inset-0 flex items-center justify-center">
239
+ <p class="text-gray-400">Cliquez n'importe où pour commencer</p>
240
+ </div>
241
+ </div>
242
+
243
+ <div class="flex justify-center mt-6">
244
+ <button onclick="resetBubbleGame()" class="bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium py-2 px-6 rounded-full transition-all duration-300">
245
+ <i class="fas fa-redo mr-2"></i> Recommencer
246
+ </button>
247
+ </div>
248
+ </section>
249
+ </div>
250
+
251
+ <!-- Tips Tab -->
252
+ <div id="tips" class="tab-content">
253
+ <section class="py-8">
254
+ <h2 class="text-3xl font-bold text-gray-800 mb-8 text-center">Astuces pour assistants techniques</h2>
255
+
256
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
257
+ <!-- Raccourcis clavier -->
258
+ <div class="bg-white rounded-xl p-6 shadow-md border border-gray-100">
259
+ <div class="flex items-center mb-4">
260
+ <div class="w-10 h-10 bg-blue-50 rounded-full flex items-center justify-center mr-4">
261
+ <i class="fas fa-keyboard text-blue-500"></i>
262
+ </div>
263
+ <h3 class="text-xl font-semibold text-gray-800">Raccourcis clavier</h3>
264
+ </div>
265
+ <ul class="space-y-3">
266
+ <li class="flex items-start">
267
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded mr-3">Win + L</span>
268
+ <span>Verrouiller rapidement votre poste</span>
269
+ </li>
270
+ <li class="flex items-start">
271
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded mr-3">Ctrl + Shift + Esc</span>
272
+ <span>Ouvrir directement le gestionnaire des tâches</span>
273
+ </li>
274
+ <li class="flex items-start">
275
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded mr-3">Win + V</span>
276
+ <span>Historique du presse-papiers (Windows 10+)</span>
277
+ </li>
278
+ <li class="flex items-start">
279
+ <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded mr-3">Win + .</span>
280
+ <span>Ouvrir l'émoticône et le sélecteur de symboles</span>
281
+ </li>
282
+ </ul>
283
+ </div>
284
+
285
+ <!-- Outils utiles -->
286
+ <div class="bg-white rounded-xl p-6 shadow-md border border-gray-100">
287
+ <div class="flex items-center mb-4">
288
+ <div class="w-10 h-10 bg-green-50 rounded-full flex items-center justify-center mr-4">
289
+ <i class="fas fa-tools text-green-500"></i>
290
+ </div>
291
+ <h3 class="text-xl font-semibold text-gray-800">Outils utiles</h3>
292
+ </div>
293
+ <ul class="space-y-3">
294
+ <li class="flex items-start">
295
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded mr-3">Process Explorer</span>
296
+ <span>Alternative avancée au gestionnaire des tâches</span>
297
+ </li>
298
+ <li class="flex items-start">
299
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded mr-3">Wireshark</span>
300
+ <span>Analyseur de paquets réseau</span>
301
+ </li>
302
+ <li class="flex items-start">
303
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded mr-3">Everything</span>
304
+ <span>Recherche ultra-rapide de fichiers</span>
305
+ </li>
306
+ <li class="flex items-start">
307
+ <span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded mr-3">Greenshot</span>
308
+ <span>Outil de capture d'écran léger et efficace</span>
309
+ </li>
310
+ </ul>
311
+ </div>
312
+
313
+ <!-- Bonnes pratiques -->
314
+ <div class="bg-white rounded-xl p-6 shadow-md border border-gray-100">
315
+ <div class="flex items-center mb-4">
316
+ <div class="w-10 h-10 bg-purple-50 rounded-full flex items-center justify-center mr-4">
317
+ <i class="fas fa-check-circle text-purple-500"></i>
318
+ </div>
319
+ <h3 class="text-xl font-semibold text-gray-800">Bonnes pratiques</h3>
320
+ </div>
321
+ <ul class="space-y-3">
322
+ <li class="flex items-start">
323
+ <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded mr-3">1</span>
324
+ <span>Documentez chaque intervention, même mineure</span>
325
+ </li>
326
+ <li class="flex items-start">
327
+ <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded mr-3">2</span>
328
+ <span>Faites des sauvegardes avant toute modification importante</span>
329
+ </li>
330
+ <li class="flex items-start">
331
+ <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded mr-3">3</span>
332
+ <span>Planifiez des pauses régulières pour maintenir votre concentration</span>
333
+ </li>
334
+ <li class="flex items-start">
335
+ <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded mr-3">4</span>
336
+ <span>Restez à jour avec les nouvelles technologies et vulnérabilités</span>
337
+ </li>
338
+ </ul>
339
+ </div>
340
+
341
+ <!-- Gestion du stress -->
342
+ <div class="bg-white rounded-xl p-6 shadow-md border border-gray-100">
343
+ <div class="flex items-center mb-4">
344
+ <div class="w-10 h-10 bg-yellow-50 rounded-full flex items-center justify-center mr-4">
345
+ <i class="fas fa-heart text-yellow-500"></i>
346
+ </div>
347
+ <h3 class="text-xl font-semibold text-gray-800">Gestion du stress</h3>
348
+ </div>
349
+ <ul class="space-y-3">
350
+ <li class="flex items-start">
351
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded mr-3">1</span>
352
+ <span>Priorisez les tâches et décomposez les problèmes complexes</span>
353
+ </li>
354
+ <li class="flex items-start">
355
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded mr-3">2</span>
356
+ <span>Communiquez clairement les délais réalistes aux utilisateurs</span>
357
+ </li>
358
+ <li class="flex items-start">
359
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded mr-3">3</span>
360
+ <span>Apprenez à dire non quand la charge de travail est trop importante</span>
361
+ </li>
362
+ <li class="flex items-start">
363
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded mr-3">4</span>
364
+ <span>Pratiquez la respiration consciente lors des situations stressantes</span>
365
+ </li>
366
+ </ul>
367
+ </div>
368
+ </div>
369
+ </section>
370
+ </div>
371
+ </main>
372
+
373
+ <!-- Footer -->
374
+ <footer class="bg-gray-50 py-8 border-t border-gray-200">
375
+ <div class="container mx-auto px-4">
376
+ <div class="flex flex-col md:flex-row justify-between items-center">
377
+ <div class="mb-4 md:mb-0">
378
+ <h2 class="text-xl font-bold text-gray-800">Zen<span class="text-blue-500">Tech</span> Pause</h2>
379
+ <p class="text-gray-600 text-sm">Votre espace de relaxation pour assistants techniques</p>
380
+ </div>
381
+ <div class="flex space-x-4">
382
+ <a href="#" class="text-gray-500 hover:text-blue-500 transition-colors">
383
+ <i class="fab fa-twitter text-xl"></i>
384
+ </a>
385
+ <a href="#" class="text-gray-500 hover:text-blue-500 transition-colors">
386
+ <i class="fab fa-linkedin text-xl"></i>
387
+ </a>
388
+ <a href="#" class="text-gray-500 hover:text-blue-500 transition-colors">
389
+ <i class="fab fa-github text-xl"></i>
390
+ </a>
391
+ </div>
392
+ </div>
393
+ <div class="mt-8 pt-8 border-t border-gray-200 text-center text-sm text-gray-500">
394
+ <p>© 2023 ZenTech Pause. Un projet de <a href="#" class="text-blue-500 hover:underline">TechAssist Lab</a>.</p>
395
+ <p class="mt-2">Conçu pour aider les professionnels de l'informatique à gérer leur stress et prévenir l'épuisement.</p>
396
+ </div>
397
+ </div>
398
+ </footer>
399
+
400
+ <script>
401
+ // Tab navigation
402
+ function showTab(tabId) {
403
+ // Hide all tabs
404
+ document.querySelectorAll('.tab-content').forEach(tab => {
405
+ tab.classList.remove('active');
406
+ });
407
+
408
+ // Show selected tab
409
+ document.getElementById(tabId).classList.add('active');
410
+
411
+ // If showing game tab, start bubble game
412
+ if (tabId === 'game') {
413
+ setTimeout(() => {
414
+ startBubbleGame();
415
+ }, 500);
416
+ }
417
+
418
+ // If showing home tab, start breathing animation
419
+ if (tabId === 'home') {
420
+ startBreathingAnimation();
421
+ } else {
422
+ stopBreathingAnimation();
423
+ }
424
+
425
+ // Stop any playing sounds when switching tabs
426
+ stopAllSounds();
427
+ }
428
+
429
+ // Breathing animation
430
+ let breathingInterval;
431
+ let isInhaling = true;
432
+
433
+ function startBreathingAnimation() {
434
+ const breathCircle = document.getElementById('breath-circle');
435
+ const breathInstruction = document.getElementById('breath-instruction');
436
+
437
+ breathCircle.style.transform = 'scale(1)';
438
+ breathInstruction.textContent = 'Inspirez...';
439
+ isInhaling = true;
440
+
441
+ breathingInterval = setInterval(() => {
442
+ if (isInhaling) {
443
+ // Exhale
444
+ breathCircle.style.transform = 'scale(0.5)';
445
+ breathInstruction.textContent = 'Expirez...';
446
+ isInhaling = false;
447
+ } else {
448
+ // Inhale
449
+ breathCircle.style.transform = 'scale(1)';
450
+ breathInstruction.textContent = 'Inspirez...';
451
+ isInhaling = true;
452
+ }
453
+ }, 8000); // 8 seconds total (4 in, 4 out)
454
+ }
455
+
456
+ function stopBreathingAnimation() {
457
+ clearInterval(breathingInterval);
458
+ }
459
+
460
+ // Sound controls
461
+ let currentSound = null;
462
+
463
+ function playSound(soundType) {
464
+ // Stop any currently playing sound
465
+ stopAllSounds();
466
+
467
+ // Get the sound element
468
+ const soundElement = document.getElementById(`${soundType}-sound`);
469
+
470
+ // Play the sound
471
+ soundElement.currentTime = 0;
472
+ soundElement.play();
473
+ currentSound = soundElement;
474
+
475
+ // Highlight the active button
476
+ document.querySelectorAll('.sound-btn').forEach(btn => {
477
+ btn.classList.remove('active');
478
+ });
479
+
480
+ // Find the button that was clicked and add active class
481
+ const buttons = document.querySelectorAll('.sound-btn');
482
+ buttons.forEach(btn => {
483
+ if (btn.getAttribute('onclick').includes(soundType)) {
484
+ btn.classList.add('active');
485
+ }
486
+ });
487
+ }
488
+
489
+ function stopAllSounds() {
490
+ if (currentSound) {
491
+ currentSound.pause();
492
+ currentSound.currentTime = 0;
493
+ currentSound = null;
494
+ }
495
+
496
+ // Remove active class from all sound buttons
497
+ document.querySelectorAll('.sound-btn').forEach(btn => {
498
+ btn.classList.remove('active');
499
+ });
500
+ }
501
+
502
+ // Bubble game
503
+ let bubbleCount = 0;
504
+ let bubbleInterval;
505
+
506
+ function startBubbleGame() {
507
+ const container = document.getElementById('bubble-container');
508
+ container.innerHTML = ''; // Clear any existing bubbles
509
+
510
+ // Start creating bubbles
511
+ bubbleInterval = setInterval(createBubble, 800);
512
+
513
+ // Click handler for bubbles
514
+ container.addEventListener('click', function(e) {
515
+ // If clicking directly on a bubble, the event will bubble up
516
+ if (e.target.classList.contains('bubble')) {
517
+ popBubble(e.target);
518
+ }
519
+ });
520
+ }
521
+
522
+ function createBubble() {
523
+ const container = document.getElementById('bubble-container');
524
+ const containerRect = container.getBoundingClientRect();
525
+
526
+ const size = Math.random() * 50 + 30; // 30-80px
527
+ const x = Math.random() * (containerRect.width - size);
528
+ const y = Math.random() * (containerRect.height - size);
529
+
530
+ const colors = ['bg-blue-400', 'bg-green-400', 'bg-purple-400', 'bg-yellow-400', 'bg-pink-400'];
531
+ const color = colors[Math.floor(Math.random() * colors.length)];
532
+
533
+ const bubble = document.createElement('div');
534
+ bubble.className = `bubble ${color} opacity-90`;
535
+ bubble.style.width = `${size}px`;
536
+ bubble.style.height = `${size}px`;
537
+ bubble.style.left = `${x}px`;
538
+ bubble.style.top = `${y}px`;
539
+
540
+ container.appendChild(bubble);
541
+
542
+ // Remove bubble after some time if not popped
543
+ setTimeout(() => {
544
+ if (bubble.parentNode === container) {
545
+ bubble.style.opacity = '0';
546
+ bubble.style.transform = 'scale(0.5)';
547
+ setTimeout(() => {
548
+ if (bubble.parentNode === container) {
549
+ container.removeChild(bubble);
550
+ }
551
+ }, 200);
552
+ }
553
+ }, 5000);
554
+ }
555
+
556
+ function popBubble(bubble) {
557
+ bubble.style.opacity = '0';
558
+ bubble.style.transform = 'scale(1.5)';
559
+
560
+ // Remove bubble after animation
561
+ setTimeout(() => {
562
+ if (bubble.parentNode) {
563
+ bubble.parentNode.removeChild(bubble);
564
+ }
565
+ }, 200);
566
+
567
+ // Increment counter
568
+ bubbleCount++;
569
+ document.getElementById('bubble-counter').textContent = bubbleCount;
570
+ }
571
+
572
+ function resetBubbleGame() {
573
+ clearInterval(bubbleInterval);
574
+ bubbleCount = 0;
575
+ document.getElementById('bubble-counter').textContent = '0';
576
+ startBubbleGame();
577
+ }
578
+
579
+ // Initialize the page with home tab
580
+ document.addEventListener('DOMContentLoaded', function() {
581
+ startBreathingAnimation();
582
+ });
583
+ </script>
584
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Taallion/ztpause" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
585
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Nom : ZenTech Pause Site One-Page Apaisant pour les assistants technique Design : Moderne, épuré, couleurs des sélections moderne (vert/bleu), dominance de blanc pour le reste. Contenu : • Accueil : Message "Faites une vraie pause." avec animation design zen (respiration, qui alterne entre « inspirer/expirer » synchro avec la respiration humaine, donc assez lent pour se relaxer). Pas de son automatique. • Choix de pause : Options manuelles : sons relaxants (bols tibétains, bruits de vagues, bruit de vent ) QUI DOIVENT MARCHER QUAND ON CLIQUE, étirements rapides. • Mini-jeu relaxant : Bubbles Burst – Des bulles de couleurs apparaissent dans une zone blanche aléatoirement, cliquer pour les faire éclater, un compteur design s’affiche et s’incrémente par rapport aux bulles éclatées • Astuces : Outils et raccourcis pour assistants techniques. • Footer : Crédits et lien vers TechAssist Lab.