-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (84 loc) · 1.9 KB
/
index.html
File metadata and controls
98 lines (84 loc) · 1.9 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>AI Interview Recorder</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
display: flex;
height: 100vh;
}
#videoContainer {
flex: 1;
padding: 20px;
background: #f9f9f9;
}
#chatContainer {
flex: 1;
padding: 20px;
overflow-y: auto;
background: #e8f0fe;
display: flex;
flex-direction: column;
position: relative;
}
#preview {
width: 100%;
height: auto;
border-radius: 8px;
}
#startBtn {
margin-top: 10px;
padding: 10px 20px;
font-size: 16px;
}
#countdownTimer {
position: sticky;
top: 0;
background-color: #ffcccc;
color: #b30000;
font-weight: bold;
padding: 10px;
border-radius: 6px;
text-align: center;
display: none;
z-index: 10;
}
.message {
max-width: 80%;
padding: 10px 15px;
margin: 8px 0;
border-radius: 10px;
font-size: 14px;
line-height: 1.5;
}
.ai {
background: #d1e7ff;
align-self: flex-start;
}
.user {
background: #c8e6c9;
align-self: flex-end;
}
</style>
</head>
<body>
<div id="videoContainer">
<form id="candidateForm">
<input type="text" id="name" placeholder="Your Name" required />
<input type="email" id="email" placeholder="Your Email" required />
<button type="submit">Submit</button>
</form>
<button id="startBtn" style="display:none;">Start Interview</button>
<video id="preview" autoplay muted playsinline></video>
</div>
<div id="chatContainer" >
<div id="countdownTimer"></div>
<!-- Chat messages will appear here -->
</div>
<script src="script.js"></script>
</body>
</html>