-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
139 lines (125 loc) · 5.62 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!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>breathe</title>
<link rel="shortcut icon" href="../images/fav_icon.png" type="image/x-icon">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet">
<!-- Bulma Version 0.7.5-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/bulma.min.css" />
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="css/timer.css">
</head>
<body>
<div id="modal" class="modal is-active is-clipped is-clearfix">
<div class="modal-background has-background-white"></div>
<div class="modal-content">
<section class="hero has-background-white">
<div class="hero-body">
<div class="container">
<h1 class="has-text-centered is-size-1 has-text-info animated fadeInUpBig">welcome to breathe</h1>
</div>
</div>
</section>
<div class="container" id='login-div'>
<div class="field" id='field'>
<p class="container control">
<input id="username" class="input is-round is-info is-medium" type="text" placeholder="Enter your name">
</p>
<p class="control">
<a class="button is-info is-medium" id="login" type="submit">
Enter
</a>
</p>
</div>
</div>
</div>
</div>
<!-- top banner -->
<section class="hero has-background-white">
<div class="hero-body">
<div class="container columns is-fluid is-mobile" id="banner">
<h1 id='main-header' class="column has-text-left has-text-info">breathe</h1>
</div>
</div>
</section>
<!-- /top banner -->
<!-- streak/begin a session section -->
<section class="section has-background-light" id="landing">
<div class="container">
<section class="hero is-hidden" id="round-counter">
<div class="hero-body" style="padding-bottom:3.2vw;padding-top:0px">
<h1 class="has-text-centered is-size-3 has-text-info"> round <span id="breath-current-round">1</span> of <span id="total-rounds">3</span></h1>
</div>
</section>
<div class="columns">
<div class="column" id= "new-round-column">
<div id='new-round-div' class="notification field is-info">
<p class="has-text-centered is-size-3 card-text-top">number of rounds</p>
<div class="columns is-mobile is-centered is-paddingless is-marginless">
<div id="counter-div" class="column notification is-2 is-paddingless is desktop">
<p class="has-text-centered has-text-info is-size-1" id="round-count">1</p>
</div>
<div id='arrow-div' class="column">
<div style="height:6.5vh;" class="is-marginless is-paddingless is-clipped is-centered">
<i class="fa fa-arrow-up button is-info" style="font-size:3.5vh;" id="up-arrow"></i>
</div>
<div style="height:6.5vh;">
<i class="fa fa-arrow-down button is-info" style="font-size:3.5vh" id="down-arrow"></i>
</div>
</div>
</div>
<a id="new-session" class="button is-info is-inverted is-outlined is-centered column is-size-3 has-text" style="height:8vh;">
start a new session
</a>
</div>
</div>
<div class="column is-hidden" id = "breath-column">
<div id="breath-div" class="notification is-info">
<p id='upper-breath-count-text' class="has-text-centered is-size-3">breath count</p>
<div class="columns is-centered" style="padding-top:4vw;height:16vw;">
<div class="column notification is-paddingless is-marginless is-5">
<p id="breath-count" class="has-text-centered has-text-info" style="font-size:8vw">0</p>
</div>
</div>
</div>
</div>
<div id="timer-column" class="column is-hidden">
<div id='timer-div' class="notification is-info">
<div class="box"id="timerContainer">
<p class="timer has-text-centered is-size-1 has-text-primary">Start Timer!</p>
</div>
</div>
</div>
<div class="column" id = "streak-column">
<div id='streak-div' class="notification is-info" style="">
<p class="has-text-centered is-size-3" style="padding-bottom:10vh;">you have breathed</p>
<div class="columns is-centered is-paddingless is-marginless">
<div class="column notification is-paddingless is-marginless is-2">
<p class="has-text-centered has-text-info is-size-1 animated heartBeat" id="streak-count">0</p>
</div>
</div>
<p id='lower-streak-text' class="has-text-centered is-size-3">days in a row</p>
</div>
</div>
<div class="column is-hidden" id = "instructions-column">
<div id='instructions-div' class="notification is-info">
<p class ="has-text-centered" id="instructions-text">We will start with 30 deep breaths. After each exhale, hit the space key. After your 30th breath, exhale halfway, and then press the spacebar. Begin holding your breath!</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- /streak/begin a session section -->
<!-- /timer -->
<!-- <script defer type="text/javascript" src="js/index.js"></script> -->
<script defer type="text/javascript" src="js/timer.js"></script>
<script defer type="text/javascript" src="js/login.js"></script>
<script defer type="text/javascript" src="js/session.js"></script>
<script src="js/url.js" type="text/javascript"></script>
</body>
</html>