-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (116 loc) · 4.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Workout App</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed&family=Bebas+Neue&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""
/>
<link rel="stylesheet" href="styles.css" />
<script
src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""
></script>
<script defer src="main.js"></script>
</head>
<body>
<div class="sidebar">
<h1 class="header">Workout APP 💪</h1>
<ul class="workouts">
<form class="form hidden">
<div class="form-row">
<label class="form-label">Type</label>
<select class="form-input form-input-type">
<option value="running">Running</option>
<option value="cycling">Cycling</option>
</select>
</div>
<div class="form-row">
<label class="form-label">Distance</label>
<input class="form-input form-input--distance" placeholder="mi" />
</div>
<div class="form-row">
<label class="form-label">Duration</label>
<input class="form-input form-input--duration" placeholder="min" />
</div>
<div class="form-row">
<label class="form-label">Cadence</label>
<input
class="form-input form-input--cadence"
placeholder="step/min"
/>
</div>
<div class="form-row form-row--hidden">
<label class="form-label">Elev Gain</label>
<input
class="form-input form-input--elevation"
placeholder="meters"
/>
</div>
<button class="form-btn">OK</button>
</form>
<!-- <li class="workout workout--running" data-id="1234567890">
<h2 class="workout-title">Running on April 14</h2>
<div class="workout-details">
<span class="workout-icon">🏃♂️</span>
<span class="workout-value">5.2</span>
<span class="workout-unit">km</span>
</div>
<div class="workout-details">
<span class="workout-icon">⏱</span>
<span class="workout-value">24</span>
<span class="workout-unit">min</span>
</div>
<div class="workout-details">
<span class="workout-icon">⚡️</span>
<span class="workout-value">4.6</span>
<span class="workout-unit">min/km</span>
</div>
<div class="workout-details">
<span class="workout-icon">🦶🏼</span>
<span class="workout-value">178</span>
<span class="workout-unit">spm</span>
</div>
</li>
<li class="workout workout--cycling" data-id="1234567891">
<h2 class="workout-title">Cycling on April 5</h2>
<div class="workout-details">
<span class="workout-icon">🚴♀️</span>
<span class="workout-value">27</span>
<span class="workout-unit">km</span>
</div>
<div class="workout-details">
<span class="workout-icon">⏱</span>
<span class="workout-value">95</span>
<span class="workout-unit">min</span>
</div>
<div class="workout-details">
<span class="workout-icon">⚡️</span>
<span class="workout-value">16</span>
<span class="workout-unit">km/h</span>
</div>
<div class="workout-details">
<span class="workout-icon">⛰</span>
<span class="workout-value">223</span>
<span class="workout-unit">m</span>
</div>
</li> -->
</ul>
</div>
<div id="map"></div>
</body>
</html>