-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
41 lines (31 loc) · 1.52 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>HTML 5 Microphone Visualizer</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
</head>
<body>
<svg preserveAspectRatio="none" id="visualizer" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<mask id="mask">
<g id="maskGroup"></g>
</mask>
<linearGradient id="gradient" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#db6247;stop-opacity:1" />
<stop offset="40%" style="stop-color:#f6e5d1;stop-opacity:1" />
<stop offset="60%" style="stop-color:#5c79c7;stop-opacity:1" />
<stop offset="85%" style="stop-color:#b758c0;stop-opacity:1" />
<stop offset="100%" style="stop-color:#222;stop-opacity:1" />
</linearGradient>
</defs>
<rect x="0" y="0" width="100%" height="100%" fill="url(#gradient)" mask="url(#mask)"></rect>
</svg>
<h1 class="main-text">Please allow the use of your microphone.</h1>
<h1 class="sub-text"></h1>
<div class="button-container"><button id="button" class="green-button"><span class="fa fa-play"></span> Start Listen</button></div>
<script src="js/index.js"></script>
</body>
</html>