Skip to content

Commit 14a2454

Browse files
committed
improvement in video.html chat
1 parent 97d5933 commit 14a2454

8 files changed

Lines changed: 1412 additions & 972 deletions

File tree

backend/server.js

Lines changed: 196 additions & 94 deletions
Large diffs are not rendered by default.

frontend/ai-chat.html

Lines changed: 436 additions & 251 deletions
Large diffs are not rendered by default.

frontend/founder-dna.html

Lines changed: 0 additions & 443 deletions
This file was deleted.

frontend/networking.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<!-- Header -->
2121
<header class="h-16 bg-[#2E3137] border border-white/10 rounded-[22px] flex items-center justify-between px-6 mobile-header">
2222
<div class="flex items-center gap-3">
23-
<div class="w-8 h-8 rounded-full bg-accent grid place-items-center">
24-
<img src="/static/logo.svg" class="w-5 h-5"/>
23+
<div class="w-8 h-8 rounded-full bg-transparent grid place-items-center">
24+
<img src="/static/logo.svg" class="w-6 h-6"/>
2525
</div>
2626
<div class="text-base font-semibold">PitchLense</div>
2727
</div>

frontend/report.html

Lines changed: 395 additions & 44 deletions
Large diffs are not rendered by default.

frontend/static/navbar.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,6 @@ function renderNavbar(activePage = '') {
9191
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
9292
</svg>`
9393
},
94-
{
95-
id: 'founder-dna',
96-
href: '/founder-dna.html',
97-
title: 'Founder DNA',
98-
tooltip: 'Founder DNA',
99-
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
100-
<path d="M12 2v20M2 12h20M12 2a10 10 0 0 0 0 20M12 2a10 10 0 0 1 0 20"></path>
101-
</svg>`
102-
},
10394
{
10495
id: 'meeting-assistant',
10596
href: '/meeting-assistant.html',
@@ -207,7 +198,6 @@ function getCurrentPage() {
207198
if (path.includes('search')) return 'search';
208199
if (path.includes('news')) return 'news';
209200
if (path.includes('networking')) return 'networking';
210-
if (path.includes('founder-dna')) return 'founder-dna';
211201
if (path.includes('meeting-assistant')) return 'meeting-assistant';
212202
if (path.includes('extension')) return 'extension';
213203
if (path.includes('email')) return 'email';

frontend/video.html

Lines changed: 377 additions & 124 deletions
Large diffs are not rendered by default.

frontend/view-report.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>PitchLense — Reports</title>
77
<link rel="icon" type="image/svg+xml" href="/static/logo.svg" />
8+
<script src="https://cdn.tailwindcss.com"></script>
89
<script>
910
tailwind.config = { theme: { extend: { colors: { background:'#1E1E21', surface:'#2E3137', text:'#ffffff', secondary:'#cfd4dd', accent:'#f1d85b' }}}}
1011
</script>
11-
<script src="https://cdn.tailwindcss.com"></script>
1212
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
1313
<link rel="preconnect" href="https://fonts.googleapis.com">
1414
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -19,7 +19,9 @@
1919
<div class="h-screen flex flex-col p-3 gap-3">
2020
<header class="h-16 bg-[#2E3137] border border-white/10 rounded-[22px] flex items-center justify-between px-6 mobile-header">
2121
<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>
2325
<div class="text-base font-semibold">PitchLense</div>
2426
</div>
2527
<div class="flex items-center gap-3">
@@ -475,7 +477,7 @@ <h3 class="text-xl font-bold text-white">🎮 Hangman Game</h3>
475477
<div class=\"flex items-center gap-2\">
476478
<span class=\"text-white/60\">Status:</span>
477479
<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>' : ''}
479481
</div>
480482
</div>
481483
<div class=\"mt-7 flex justify-center gap-2\">
@@ -552,7 +554,7 @@ <h3 class="text-xl font-bold text-white">🎮 Hangman Game</h3>
552554
const createdTime = new Date(r.created_at).getTime();
553555
const now = new Date().getTime();
554556
const timeElapsed = now - createdTime;
555-
const totalTime = 10 * 60 * 1000; // 10 minutes in milliseconds
557+
const totalTime = 18 * 60 * 1000; // 18 minutes in milliseconds
556558
let timeLeft = Math.max(0, totalTime - timeElapsed);
557559

558560
let timerId;

0 commit comments

Comments
 (0)