-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
45 lines (40 loc) · 1.57 KB
/
popup.html
File metadata and controls
45 lines (40 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Global Voice</title>
<link rel="stylesheet" type="text/css" href="popup.css">
</head>
<body>
<div class="header">
<div class="logo">
<svg viewBox="0 0 24 24" width="22" height="22">
<path fill="currentColor" d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/>
<path fill="currentColor" d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/>
</svg>
<span>Global Voice</span>
</div>
</div>
<div class="container">
<div class="section">
<label for="api-key">Google AI API Key</label>
<div class="input-group">
<input type="password" id="api-key" placeholder="Enter your API key">
<button id="save-key" class="btn-secondary">Save</button>
</div>
<a href="https://aistudio.google.com/app/apikey" target="_blank" class="help-link">Get an API key</a>
</div>
<div class="divider"></div>
<div class="section record-section">
<button id="record" class="btn-record">
<svg class="mic-icon" viewBox="0 0 24 24" width="20" height="20">
<path fill="currentColor" d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/>
<path fill="currentColor" d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/>
</svg>
<span>Start Recording</span>
</button>
<p id="status"></p>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>