-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
82 lines (71 loc) · 2.86 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fit.ai - Home</title>
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" type="image/ico" href="logo.ico" />
<script>
let isMobile = !!navigator.userAgent.match(/iphone|android|blackberry/ig) || false;
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5@latest/dist/ml5.min.js" type="text/javascript"></script>
<script src="boid.js" defer></script>
<script src="ml.js" defer></script>
<script src="client.js" defer></script>
<script src="drag.js" defer></script>
</head>
<body>
<section class="ftue">
<div></div>
</section>
<main id="mainP5">
<i class="material-icons">
pause_circle_outline
</i>
</main>
<section class="loader"></section>
<div class="cardContainer">
<section class="card vidLoader"></section>
<section class="card" id="subP5"></section>
<section class="card description">
<div>
<h2> Fit.ai <img src="logo.png" style="height:60px; width:60px; float: left;" />
</h2>
<span id="text" style="font-size: 60%;"></span>
<a class="play disabled" href="#" style="color: white; display: none" data-toggle="modal" data-target="#exampleModal">Proceed Ahead</a>
<a class="btn btn-primary" href="amor/index.html" style="color: white;">Proceed Ahead</a>
</div>
</section>
</div>
<script>
var p = document.getElementById('text');
p.innerHTML = '';
var n = 0;
var str = 'A workout app with a personal AI based coach to monitor your exercises. The platform checks appropriate posture of the user using computer intelligence.';
var typeTimer = setInterval(function() {
n = n + 1;
p.innerHTML = str.slice(0, n);
if (n === str.length) {
clearInterval(typeTimer);
p.innerHTML = str;
n = 0;
setInterval(function() {
if (n === 0) {
p.innerHTML = str + "|"
n = 1;
} else {
p.innerHTML = str
n = 0;
};
}, 500);
};
}, 60)
</script>
</body>
</html>