|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>PitchLense — Reports</title> |
7 | 7 | <link rel="icon" type="image/svg+xml" href="/static/logo.svg" /> |
| 8 | + <script src="https://cdn.tailwindcss.com"></script> |
8 | 9 | <script> |
9 | 10 | tailwind.config = { theme: { extend: { colors: { background:'#1E1E21', surface:'#2E3137', text:'#ffffff', secondary:'#cfd4dd', accent:'#f1d85b' }}}} |
10 | 11 | </script> |
11 | | - <script src="https://cdn.tailwindcss.com"></script> |
12 | 12 | <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> |
13 | 13 | <link rel="preconnect" href="https://fonts.googleapis.com"> |
14 | 14 | <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|
19 | 19 | <div class="h-screen flex flex-col p-3 gap-3"> |
20 | 20 | <header class="h-16 bg-[#2E3137] border border-white/10 rounded-[22px] flex items-center justify-between px-6 mobile-header"> |
21 | 21 | <div class="flex items-center gap-3"> |
22 | | - <div class="w-8 h-8 rounded-full bg-accent grid place-items-center"><img src="/static/logo.svg" class="w-5 h-5"/></div> |
| 22 | + <div class="w-8 h-8 rounded-full bg-transparent grid place-items-center"> |
| 23 | + <img src="/static/logo.svg" class="w-6 h-6"/> |
| 24 | + </div> |
23 | 25 | <div class="text-base font-semibold">PitchLense</div> |
24 | 26 | </div> |
25 | 27 | <div class="flex items-center gap-3"> |
@@ -475,7 +477,7 @@ <h3 class="text-xl font-bold text-white">🎮 Hangman Game</h3> |
475 | 477 | <div class=\"flex items-center gap-2\"> |
476 | 478 | <span class=\"text-white/60\">Status:</span> |
477 | 479 | <span class=\"status-chip text-xs px-2 py-1 rounded-full border whitespace-nowrap inline-block\" style=\"${statusStyle}\">${r.status}</span> |
478 | | - ${status === 'pending' ? '<span class=\"text-xs text-white/80 eta-timer\" data-created=\"' + r.created_at + '\">ETA: <span class=\"countdown\">10m 0s</span></span>' : ''} |
| 480 | + ${status === 'pending' ? '<span class=\"text-xs text-white/80 eta-timer\" data-created=\"' + r.created_at + '\">ETA: <span class=\"countdown\">18m 0s</span></span>' : ''} |
479 | 481 | </div> |
480 | 482 | </div> |
481 | 483 | <div class=\"mt-7 flex justify-center gap-2\"> |
@@ -552,7 +554,7 @@ <h3 class="text-xl font-bold text-white">🎮 Hangman Game</h3> |
552 | 554 | const createdTime = new Date(r.created_at).getTime(); |
553 | 555 | const now = new Date().getTime(); |
554 | 556 | const timeElapsed = now - createdTime; |
555 | | - const totalTime = 10 * 60 * 1000; // 10 minutes in milliseconds |
| 557 | + const totalTime = 18 * 60 * 1000; // 18 minutes in milliseconds |
556 | 558 | let timeLeft = Math.max(0, totalTime - timeElapsed); |
557 | 559 |
|
558 | 560 | let timerId; |
|
0 commit comments