-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
331 lines (288 loc) · 9.33 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!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" />
<meta
name="description"
content="Check the weather for any city in the world, with weather forecast of next 7 days and relevant images of weather."
/>
<meta name="author" content="Vatsal Singh" />
<meta
name="keywords"
content="weather, forecast, current weather, web app, weather app, forecast, app"
/>
<!-- Favicons -->
<link
rel="icon"
type="image/png"
href="src/images/favicon-32x32.png"
sizes="32x32"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://weather-kv.netlify.app/" />
<meta property="og:title" content="Weather App" />
<meta
property="og:description"
content="Check the weather for any city in the world, with weather forecast of next 7 days and relevant images of weather."
/>
<meta
property="og:image"
itemprop="image"
content="https://user-images.githubusercontent.com/68834718/148419702-491fa08d-e520-4e2f-b219-374ec7118b2b.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://weather-kv.netlify.app/" />
<meta property="twitter:title" content="Weather App" />
<meta
property="twitter:description"
content="Check the weather for any city in the world, with weather forecast of next 7 days and relevant images of weather."
/>
<meta
property="twitter:image"
content="https://user-images.githubusercontent.com/68834718/148419702-491fa08d-e520-4e2f-b219-374ec7118b2b.png"
/>
<!-- Google Fonts -->
<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=Lato:wght@300;400;700&family=Oxygen:wght@300;400&display=swap"
rel="stylesheet"
/>
<!-- Font Awesome Icons-->
<script
defer
src="https://kit.fontawesome.com/f98879ca63.js"
crossorigin="anonymous"
></script>
<!-- jQuery -->
<script
defer
src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<!-- Custom Script -->
<script defer type="module" src="src/js/controller.js"></script>
<link rel="stylesheet" href="src/sass/main.scss" />
<title>Weather App | Forecast</title>
</head>
<body class="theme-1">
<section class="sidebar">
<header class="sidebar__header">
<form class="search-bar" autocomplete="off">
<input
class="search-bar__input"
type="text"
placeholder="Enter the location"
id="bar"
/>
<div class="search-bar__btn-group">
<button class="search-bar__btn btn--search">
<i class="fas fa-search"></i>
</button>
<a
href="#"
id="btn-location"
class="search-bar__btn search-bar__btn--location"
>
<i class="fas fa-crosshairs"></i>
</a>
</div>
</form>
</header>
<main class="sidebar__main">
<!-- <div class="temp">
<h1 class="temp__value">26</h1>
<div class="temp__type">
<p class="temp__type--c temp__types active">°C</p>
<p class="temp__type--f temp__types">°F</p>
</div>
</div>
<div class="weather">
<img
class="weather__img"
src="src/animated/cloudy.svg"
alt="weather"
/>
<p class="weather-status heading-primary">cloudy</p>
</div>
<hr class="sidebar__break" />
<div class="info">
<p class="location heading-primary--sub">Auraiya</p>
<p class="time heading-tertiary heading-tertiary--white">
Monday, 28 Nov 2021
</p>
</div> -->
</main>
<p class="copyright">
© Copyright 2022 by
<a
class="github-link"
target="_blank"
href="https://github.com/vatsalsinghkv"
>Vatsal Singh</a
>. All rights reserved
</p>
</section>
<section class="details">
<div class="details__content">
<!-- <h2 class="heading-secondary u-mb-5">Weather Details</h2>
<div class="current-day">
<div class="weather-details">
<h3 class="weather-details__main weather-details__main--wind">
7 mph
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--wind"
>
Wind
</p>
</div>
<div class="weather-details">
<h3 class="weather-details__main weather-details__main--humidity">
84%
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--humidity"
>
Humidity
</p>
</div>
<div class="weather-details">
<h3 class="weather-details__main weather-details__main--sunrise">
05:40
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--sunrise"
>
Sunrise
</p>
</div>
<div class="weather-details">
<h3 class="weather-details__main weather-details__main--visibility">
6.4 miles
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--visibility"
>
Visibility
</p>
</div>
<div class="weather-details">
<h3
class="weather-details__main weather-details__main--air-pressure"
>
998 mb
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--air-pressure"
>
Air Pressure
</p>
</div>
<div class="weather-details">
<h3 class="weather-details__main weather-details__main--sunset">
06:20
</h3>
<p
class="heading-tertiary weather-details__type weather-details__type--sunset"
>
Sunset
</p>
</div>
</div>
<div class="next-days u-mt-7">
<h2 class="heading-secondary u-mb-5">Next Days</h2>
<div class="next-days__details">
<div class="day active">
<h5 class="day--name day--1">Tue</h5>
<img
src="src/animated/day.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">29°</div>
<div class="day__temp--min">31°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--2">Wed</h5>
<img
src="src/animated/cloudy-day-3.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">30°</div>
<div class="day__temp--min">32°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--3">Thu</h5>
<img
src="src/animated/rainy-3.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">22°</div>
<div class="day__temp--min">28°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--4">Fri</h5>
<img
src="src/animated/snowy-3.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">21°</div>
<div class="day__temp--min">23°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--5">Sat</h5>
<img
src="src/animated/rainy-7.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">24°</div>
<div class="day__temp--min">38°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--6">Sun</h5>
<img
src="src/animated/thunder.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">23°</div>
<div class="day__temp--min">28°</div>
</div>
</div>
<div class="day">
<h5 class="day--name day--6">Sun</h5>
<img
src="src/animated/thunder.svg"
alt="Day Icon"
class="day__icon"
/>
<div class="day__temp">
<div class="day__temp--max">23°</div>
<div class="day__temp--min">28°</div>
</div>
</div>
</div>
</div> -->
</div>
</section>
</body>
</html>