Fanfnix commited on
Commit
0b366bc
·
1 Parent(s): 40cf68a

index + style

Browse files
Files changed (2) hide show
  1. index.html +8 -8
  2. style.css +385 -392
index.html CHANGED
@@ -6,7 +6,9 @@
6
  <meta name="viewport" content="width=device-width" />
7
  <title>Takina </title>
8
  <link rel="stylesheet" href="style.css" />
9
- <link href="https://fonts.googleapis.com/css2?family=Zen+Tokyo+Zoo&display=swap" rel="stylesheet">
 
 
10
  <link href="./pyproject.toml">
11
  </head>
12
 
@@ -58,10 +60,9 @@
58
  </video>
59
  </div>
60
  <div class="manual-option">
61
- <h3>Téléverser une Video Demo</h3>
62
- <p></p>
63
- <a href="demo.mp4" class="install-btn" download>
64
- ▶ Download Video
65
  </a>
66
  </div>
67
  </div>
@@ -84,15 +85,14 @@
84
  emotionBoxes.forEach(box => {
85
  box.addEventListener('click', () => {
86
 
87
- // changer l'image
88
  const newImage = box.getAttribute('data-image');
89
  previewImage.src = newImage;
90
 
91
- // effet visuel sélection
92
  emotionBoxes.forEach(b => b.classList.remove('active'));
93
  box.classList.add('active');
94
  });
95
  });
96
  </script>
97
  </body>
98
- </html>
 
 
6
  <meta name="viewport" content="width=device-width" />
7
  <title>Takina </title>
8
  <link rel="stylesheet" href="style.css" />
9
+ <link rel="preconnect" href="https://fonts.googleapis.com">
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
+ <link href="https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
12
  <link href="./pyproject.toml">
13
  </head>
14
 
 
60
  </video>
61
  </div>
62
  <div class="manual-option">
63
+ <h3>Ouvrir la page de l'application</h3>
64
+ <a href="http://localhost:8042" target="_blank" class="install-btn">
65
+ Takina App
 
66
  </a>
67
  </div>
68
  </div>
 
85
  emotionBoxes.forEach(box => {
86
  box.addEventListener('click', () => {
87
 
 
88
  const newImage = box.getAttribute('data-image');
89
  previewImage.src = newImage;
90
 
 
91
  emotionBoxes.forEach(b => b.classList.remove('active'));
92
  box.classList.add('active');
93
  });
94
  });
95
  </script>
96
  </body>
97
+
98
+ </html>
style.css CHANGED
@@ -1,392 +1,385 @@
1
- @font-face {
2
- font-family: 'LycorisRecoilStyle';
3
- src: url('fonts/lycoris-recoil.woff2') format('woff2'),
4
- url('fonts/lycoris-recoil.ttf') format('truetype');
5
- font-weight: normal;
6
- font-style: normal;
7
- }
8
-
9
- * {
10
- margin: 0;
11
- padding: 0;
12
- box-sizing: border-box;
13
- font-family: 'LycorisRecoilStyle', 'Zen Tokyo Zoo', sans-serif;
14
- text-align: center;
15
- }
16
-
17
- body {
18
- line-height: 1.6;
19
- color: #333;
20
- background: white;
21
- min-height: 100vh;
22
- }
23
-
24
- .hero {
25
- color: white;
26
- padding: 4rem 2rem;
27
- text-align: center;
28
- }
29
-
30
-
31
- .hero-content {
32
- max-width: 800px;
33
- margin: 0 auto;
34
- }
35
-
36
- .app-icon {
37
- max-width: 20%;
38
- max-height: 20%;
39
- border-radius: 50%;
40
- object-fit: cover;
41
- }
42
-
43
- .hero h1 {
44
- font-size: 4rem;
45
- font-weight: 700;
46
- margin-bottom: 1rem;
47
- color: #31383c;
48
- background-clip: text;
49
- -webkit-background-clip: text;
50
- }
51
-
52
- .tagline {
53
- font-size: 1.50rem;
54
- opacity: 0.9;
55
- max-width: 600px;
56
- margin: 0 auto;
57
- color: #282b35;
58
- }
59
-
60
- .container {
61
- max-width: 1200px;
62
- margin: 0 auto;
63
- padding: 0 2rem;
64
- position: relative;
65
- z-index: 2;
66
- }
67
-
68
- .main-card {
69
- background: white;
70
- border-radius: 20px;
71
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
72
- margin-top: -2rem;
73
- overflow: hidden;
74
- margin-bottom: 3rem;
75
- text-align: center;
76
- position: relative;
77
- }
78
-
79
- .app-preview {
80
- background: linear-gradient( #cadbf6, #3b82f6);
81
- padding: 3rem;
82
- color: rgb(0, 0, 0);
83
- text-align: center;
84
- position: relative;
85
- }
86
-
87
- .preview-image {
88
- background: #000;
89
- border-radius: 15px;
90
- padding: 2rem;
91
- max-width: 500px;
92
- margin: 0 auto;
93
- max-width: 30%;
94
-
95
- }
96
-
97
- .camera-feed {
98
- font-size: 4rem;
99
- margin-bottom: 1rem;
100
- opacity: 0.7;
101
- }
102
-
103
- .app-details {
104
- background: linear-gradient( #3b82f6, #1e3a8a);
105
- padding: 3rem;
106
- text-align: center;
107
- position: relative;
108
- }
109
-
110
- .app-details h2 {
111
- font-size: 2rem;
112
- color: #1e293b;
113
- margin-bottom: 2rem;
114
- text-align: center;
115
- }
116
-
117
- .download-card {
118
- background: white;
119
- border-radius: 20px;
120
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
121
- padding: 3rem;
122
- text-align: center;
123
- }
124
-
125
- .download-card h2 {
126
- font-size: 2rem;
127
- color: #1e293b;
128
- margin-bottom: 1rem;
129
- }
130
-
131
- .download-card>p {
132
- color: #64748b;
133
- font-size: 2rem;
134
- margin-bottom: 2rem;
135
- }
136
-
137
- .dashboard-config {
138
- margin-bottom: 2rem;
139
- text-align: left;
140
- max-width: 400px;
141
- margin-left: auto;
142
- margin-right: auto;
143
- }
144
-
145
- .dashboard-config label {
146
- display: block;
147
- color: #374151;
148
- font-weight: 600;
149
- margin-bottom: 0.5rem;
150
- }
151
-
152
- .dashboard-config input {
153
- width: 100%;
154
- padding: 0.75rem 1rem;
155
- border: 2px solid #e5e7eb;
156
- border-radius: 8px;
157
- font-size: 0.95rem;
158
- transition: border-color 0.2s;
159
- }
160
-
161
- .dashboard-config input:focus {
162
- outline: none;
163
- border-color: #667eea;
164
- }
165
-
166
- .install-btn {
167
- background: linear-gradient(135deg, #667eea, #764ba2);
168
- color: white;
169
- border: none;
170
- padding: 1.25rem 3rem;
171
- border-radius: 16px;
172
- font-size: 1.2rem;
173
- font-weight: 700;
174
- cursor: pointer;
175
- transition: all 0.3s ease;
176
- display: inline-flex;
177
- align-items: center;
178
- gap: 0.75rem;
179
- margin-bottom: 2rem;
180
- box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
181
- }
182
-
183
- .install-btn:hover:not(:disabled) {
184
- transform: translateY(-3px);
185
- box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
186
- }
187
-
188
- .install-btn:disabled {
189
- opacity: 0.7;
190
- cursor: not-allowed;
191
- transform: none;
192
- }
193
-
194
- .manual-option {
195
- background: #e1ecfa;
196
- border-radius: 12px;
197
- padding: 2rem;
198
- margin-top: 2rem;
199
- }
200
-
201
- .manual-option h3 {
202
- color: #1e293b;
203
- margin-bottom: 1rem;
204
- font-size: 1.2rem;
205
- }
206
-
207
- .manual-option>p {
208
- color: #64748b;
209
- margin-bottom: 1rem;
210
- }
211
-
212
- .btn-icon {
213
- font-size: 1.1rem;
214
- }
215
-
216
- .install-status {
217
- padding: 1rem;
218
- border-radius: 8px;
219
- font-size: 0.9rem;
220
- text-align: center;
221
- display: none;
222
- margin-top: 1rem;
223
- }
224
-
225
- .install-status.success {
226
- background: #dcfce7;
227
- color: #166534;
228
- border: 1px solid #bbf7d0;
229
- }
230
-
231
- .install-status.error {
232
- background: #fef2f2;
233
- color: #dc2626;
234
- border: 1px solid #fecaca;
235
- }
236
-
237
- .install-status.loading {
238
- background: #dbeafe;
239
- color: #1d4ed8;
240
- border: 1px solid #bfdbfe;
241
- }
242
-
243
- .install-status.info {
244
- background: #e0f2fe;
245
- color: #0369a1;
246
- border: 1px solid #7dd3fc;
247
- }
248
-
249
- .manual-install {
250
- background: #1f2937;
251
- border-radius: 8px;
252
- padding: 1rem;
253
- margin-bottom: 1rem;
254
- display: flex;
255
- align-items: center;
256
- gap: 1rem;
257
- }
258
-
259
- .manual-install code {
260
- color: #10b981;
261
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
262
- font-size: 0.85rem;
263
- flex: 1;
264
- overflow-x: auto;
265
- }
266
-
267
- .copy-btn {
268
- background: #374151;
269
- color: white;
270
- border: none;
271
- padding: 0.5rem 1rem;
272
- border-radius: 6px;
273
- font-size: 0.8rem;
274
- cursor: pointer;
275
- transition: background-color 0.2s;
276
- }
277
-
278
- .copy-btn:hover {
279
- background: #4b5563;
280
- }
281
-
282
- .manual-steps {
283
- color: #6b7280;
284
- font-size: 0.9rem;
285
- line-height: 1.8;
286
- }
287
-
288
- .footer {
289
- text-align: center;
290
- padding: 2rem;
291
- color: white;
292
- opacity: 0.8;
293
- }
294
- .icon {
295
- width: 20px;
296
- height: 20px;
297
- vertical-align: middle;
298
- margin-right: 0.5rem;
299
- border-radius: 50%;
300
- object-fit: cover;
301
- }
302
-
303
- .footer a {
304
- color: rgb(71, 72, 89);
305
- text-decoration: none;
306
- font-weight: 600;
307
- }
308
-
309
- .footer a:hover {
310
- text-decoration: underline;
311
- }
312
-
313
- /* Responsive Design */
314
- @media (max-width: 768px) {
315
- .hero {
316
- padding: 2rem 1rem;
317
- }
318
-
319
- .hero h1 {
320
- font-size: 2rem;
321
- }
322
-
323
- .container {
324
- padding: 0 1rem;
325
- }
326
-
327
- .app-details,
328
- .download-card {
329
- padding: 2rem;
330
- }
331
-
332
- .features-grid {
333
- grid-template-columns: 1fr;
334
- }
335
-
336
- .download-options {
337
- grid-template-columns: 1fr;
338
- }
339
- }
340
-
341
- .preview-demo {
342
- width: 100%;
343
- border-radius: 15px;
344
- opacity: 0.95;
345
- display: block;
346
- transition: 0.3s;
347
- }
348
-
349
-
350
-
351
- .emotion-title {
352
- text-align: center;
353
- color: #1e293b;
354
- margin-bottom: 1rem;
355
- }
356
-
357
- .emotion-grid {
358
- display: grid;
359
- grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
360
- gap: 1rem;
361
- margin-bottom: 2rem;
362
- }
363
-
364
- .emotion-box {
365
- background: #f1f5f9;
366
- padding: 1rem;
367
- border-radius: 10px;
368
- text-align: center;
369
- font-size: 1.1rem;
370
- font-weight: 600;
371
- color: #0f172a;
372
- border: 2px solid #e2e8f0;
373
- cursor: pointer;
374
- transition: 0.2s;
375
- user-select: none;
376
- }
377
-
378
- .emotion-box:hover {
379
- transform: scale(1.05);
380
- }
381
-
382
- .emotion-box.active {
383
- border: 2px solid #fff;
384
- background: rgba(255,255,255,0.2);
385
- }
386
-
387
- .demo-video {
388
- width: 100%;
389
- border-radius: 12px;
390
- margin-top: 1rem;
391
- }
392
-
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ text-align: center;
6
+ font-family: "Work Sans", sans-serif;
7
+ font-style: normal;
8
+ }
9
+
10
+ body {
11
+ line-height: 1.6;
12
+ color: #333;
13
+ background: white;
14
+ min-height: 100vh;
15
+ }
16
+
17
+ .hero {
18
+ color: white;
19
+ padding: 4rem 2rem;
20
+ text-align: center;
21
+ }
22
+
23
+
24
+ .hero-content {
25
+ max-width: 800px;
26
+ margin: 0 auto;
27
+ }
28
+
29
+ .app-icon {
30
+ max-width: 20%;
31
+ max-height: 20%;
32
+ border-radius: 50%;
33
+ object-fit: cover;
34
+ }
35
+
36
+ .hero h1 {
37
+ font-size: 4rem;
38
+ font-weight: 700;
39
+ margin-bottom: 1rem;
40
+ color: #31383c;
41
+ background-clip: text;
42
+ -webkit-background-clip: text;
43
+ }
44
+
45
+ .tagline {
46
+ font-size: 1.50rem;
47
+ opacity: 0.9;
48
+ max-width: 600px;
49
+ margin: 0 auto;
50
+ color: #282b35;
51
+ }
52
+
53
+ .container {
54
+ max-width: 1200px;
55
+ margin: 0 auto;
56
+ padding: 0 2rem;
57
+ position: relative;
58
+ z-index: 2;
59
+ }
60
+
61
+ .main-card {
62
+ background: white;
63
+ border-radius: 20px;
64
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
65
+ margin-top: -2rem;
66
+ overflow: hidden;
67
+ margin-bottom: 3rem;
68
+ text-align: center;
69
+ position: relative;
70
+ }
71
+
72
+ .app-preview {
73
+ background: linear-gradient( #cadbf6, #3b82f6);
74
+ padding: 3rem;
75
+ color: rgb(0, 0, 0);
76
+ text-align: center;
77
+ position: relative;
78
+ }
79
+
80
+ .preview-image {
81
+ background: #000;
82
+ border-radius: 15px;
83
+ padding: 2rem;
84
+ max-width: 500px;
85
+ margin: 0 auto;
86
+ max-width: 30%;
87
+
88
+ }
89
+
90
+ .camera-feed {
91
+ font-size: 4rem;
92
+ margin-bottom: 1rem;
93
+ opacity: 0.7;
94
+ }
95
+
96
+ .app-details {
97
+ background: linear-gradient( #3b82f6, #1e3a8a);
98
+ padding: 3rem;
99
+ text-align: center;
100
+ position: relative;
101
+ }
102
+
103
+ .app-details h2 {
104
+ font-size: 2rem;
105
+ color: #1e293b;
106
+ margin-bottom: 2rem;
107
+ text-align: center;
108
+ }
109
+
110
+ .download-card {
111
+ background: white;
112
+ border-radius: 20px;
113
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
114
+ padding: 3rem;
115
+ text-align: center;
116
+ }
117
+
118
+ .download-card h2 {
119
+ font-size: 2rem;
120
+ color: #1e293b;
121
+ margin-bottom: 1rem;
122
+ }
123
+
124
+ .download-card>p {
125
+ color: #64748b;
126
+ font-size: 2rem;
127
+ margin-bottom: 2rem;
128
+ }
129
+
130
+ .dashboard-config {
131
+ margin-bottom: 2rem;
132
+ text-align: left;
133
+ max-width: 400px;
134
+ margin-left: auto;
135
+ margin-right: auto;
136
+ }
137
+
138
+ .dashboard-config label {
139
+ display: block;
140
+ color: #374151;
141
+ font-weight: 600;
142
+ margin-bottom: 0.5rem;
143
+ }
144
+
145
+ .dashboard-config input {
146
+ width: 100%;
147
+ padding: 0.75rem 1rem;
148
+ border: 2px solid #e5e7eb;
149
+ border-radius: 8px;
150
+ font-size: 0.95rem;
151
+ transition: border-color 0.2s;
152
+ }
153
+
154
+ .dashboard-config input:focus {
155
+ outline: none;
156
+ border-color: #667eea;
157
+ }
158
+
159
+ .install-btn {
160
+ background: linear-gradient(135deg, #667eea, #764ba2);
161
+ color: white;
162
+ border: none;
163
+ padding: 1.25rem 3rem;
164
+ border-radius: 16px;
165
+ font-size: 1.2rem;
166
+ font-weight: 700;
167
+ cursor: pointer;
168
+ transition: all 0.3s ease;
169
+ display: inline-flex;
170
+ align-items: center;
171
+ gap: 0.75rem;
172
+ margin-bottom: 2rem;
173
+ box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
174
+ }
175
+
176
+ .install-btn:hover:not(:disabled) {
177
+ transform: translateY(-3px);
178
+ box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
179
+ }
180
+
181
+ .install-btn:disabled {
182
+ opacity: 0.7;
183
+ cursor: not-allowed;
184
+ transform: none;
185
+ }
186
+
187
+ .manual-option {
188
+ background: #e1ecfa;
189
+ border-radius: 12px;
190
+ padding: 2rem;
191
+ margin-top: 2rem;
192
+ }
193
+
194
+ .manual-option h3 {
195
+ color: #1e293b;
196
+ margin-bottom: 1rem;
197
+ font-size: 1.2rem;
198
+ }
199
+
200
+ .manual-option>p {
201
+ color: #64748b;
202
+ margin-bottom: 1rem;
203
+ }
204
+
205
+ .btn-icon {
206
+ font-size: 1.1rem;
207
+ }
208
+
209
+ .install-status {
210
+ padding: 1rem;
211
+ border-radius: 8px;
212
+ font-size: 0.9rem;
213
+ text-align: center;
214
+ display: none;
215
+ margin-top: 1rem;
216
+ }
217
+
218
+ .install-status.success {
219
+ background: #dcfce7;
220
+ color: #166534;
221
+ border: 1px solid #bbf7d0;
222
+ }
223
+
224
+ .install-status.error {
225
+ background: #fef2f2;
226
+ color: #dc2626;
227
+ border: 1px solid #fecaca;
228
+ }
229
+
230
+ .install-status.loading {
231
+ background: #dbeafe;
232
+ color: #1d4ed8;
233
+ border: 1px solid #bfdbfe;
234
+ }
235
+
236
+ .install-status.info {
237
+ background: #e0f2fe;
238
+ color: #0369a1;
239
+ border: 1px solid #7dd3fc;
240
+ }
241
+
242
+ .manual-install {
243
+ background: #1f2937;
244
+ border-radius: 8px;
245
+ padding: 1rem;
246
+ margin-bottom: 1rem;
247
+ display: flex;
248
+ align-items: center;
249
+ gap: 1rem;
250
+ }
251
+
252
+ .manual-install code {
253
+ color: #10b981;
254
+ font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
255
+ font-size: 0.85rem;
256
+ flex: 1;
257
+ overflow-x: auto;
258
+ }
259
+
260
+ .copy-btn {
261
+ background: #374151;
262
+ color: white;
263
+ border: none;
264
+ padding: 0.5rem 1rem;
265
+ border-radius: 6px;
266
+ font-size: 0.8rem;
267
+ cursor: pointer;
268
+ transition: background-color 0.2s;
269
+ }
270
+
271
+ .copy-btn:hover {
272
+ background: #4b5563;
273
+ }
274
+
275
+ .manual-steps {
276
+ color: #6b7280;
277
+ font-size: 0.9rem;
278
+ line-height: 1.8;
279
+ }
280
+
281
+ .footer {
282
+ text-align: center;
283
+ padding: 2rem;
284
+ color: white;
285
+ opacity: 0.8;
286
+ }
287
+ .icon {
288
+ width: 20px;
289
+ height: 20px;
290
+ vertical-align: middle;
291
+ margin-right: 0.5rem;
292
+ border-radius: 50%;
293
+ object-fit: cover;
294
+ }
295
+
296
+ .footer a {
297
+ color: rgb(71, 72, 89);
298
+ text-decoration: none;
299
+ font-weight: 600;
300
+ }
301
+
302
+ .footer a:hover {
303
+ text-decoration: underline;
304
+ }
305
+
306
+ /* Responsive Design */
307
+ @media (max-width: 768px) {
308
+ .hero {
309
+ padding: 2rem 1rem;
310
+ }
311
+
312
+ .hero h1 {
313
+ font-size: 2rem;
314
+ }
315
+
316
+ .container {
317
+ padding: 0 1rem;
318
+ }
319
+
320
+ .app-details,
321
+ .download-card {
322
+ padding: 2rem;
323
+ }
324
+
325
+ .features-grid {
326
+ grid-template-columns: 1fr;
327
+ }
328
+
329
+ .download-options {
330
+ grid-template-columns: 1fr;
331
+ }
332
+ }
333
+
334
+ .preview-demo {
335
+ width: 100%;
336
+ border-radius: 15px;
337
+ opacity: 0.95;
338
+ display: block;
339
+ transition: 0.3s;
340
+ }
341
+
342
+
343
+
344
+ .emotion-title {
345
+ text-align: center;
346
+ color: #1e293b;
347
+ margin-bottom: 1rem;
348
+ }
349
+
350
+ .emotion-grid {
351
+ display: grid;
352
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
353
+ gap: 1rem;
354
+ margin-bottom: 2rem;
355
+ }
356
+
357
+ .emotion-box {
358
+ background: #f1f5f9;
359
+ padding: 1rem;
360
+ border-radius: 10px;
361
+ text-align: center;
362
+ font-size: 1rem;
363
+ font-weight: 600;
364
+ color: #0f172a;
365
+ border: 2px solid #e2e8f0;
366
+ cursor: pointer;
367
+ transition: 0.2s;
368
+ user-select: none;
369
+ }
370
+
371
+ .emotion-box:hover {
372
+ transform: scale(1.05);
373
+ }
374
+
375
+ .emotion-box.active {
376
+ border: 2px solid #fff;
377
+ background: rgba(255,255,255,0.2);
378
+ }
379
+
380
+ .demo-video {
381
+ width: 100%;
382
+ border-radius: 12px;
383
+ margin-top: 1rem;
384
+ }
385
+