-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
205 lines (182 loc) · 6.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Primary Meta Tags -->
<title>Weatherio</title>
<meta name="title" content="Weatherio" />
<meta
name="description"
content="Explore accurate and real-time weather information for cities around the world with Weatherio. Get current weather conditions, 5-day forecasts, wind speed, sunrise and sunset times, air quality, humidity, and more. Stay informed about weather changes effortlessly. Visit Weatherio now!"
/>
<meta name="author" content="jrpranav" />
<meta
name="keywords"
content="Weather app, Real-time weather updates, Accurate weather forecasts, City weather conditions, Current weather conditions, 5-day weather forecasts, Wind speed data, Sunrise and sunset times, Air quality index, Humidity levels, Weather changes, Global weather information, Weather tracking app, Weatherio"
/>
<link rel="canonical" href="https://modern-weather-forecast.vercel.app/" />
<!-- Open Graph Tags -->
<meta property="og:title" content="Weatherio" />
<meta
property="og:description"
content="Explore accurate and real-time weather information for cities around the world with Weatherio. Get current weather conditions, 5-day forecasts, wind speed, sunrise and sunset times, air quality, humidity, and more. Stay informed about weather changes effortlessly. Visit Weatherio now!"
/>
<meta property="og:image" content="./src/assets/thumbnail.jpeg" />
<meta
property="og:url"
content="https://modern-weather-forecast.vercel.app/"
/>
<!-- Twitter Card Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Weatherio" />
<meta
name="twitter:description"
content="Explore accurate and real-time weather information for cities around the world with Weatherio. Get current weather conditions, 5-day forecasts, wind speed, sunrise and sunset times, air quality, humidity, and more. Stay informed about weather changes effortlessly. Visit Weatherio now!"
/>
<meta name="twitter:image" content="./src/assets/thumbnail.jpeg" />
<!-- Favicon -->
<link rel="shortcut icon" href="./favicon.svg" type="image/x-icon" />
<link rel="apple-touch-icon" href="./favicon.svg" type="image/x-icon" />
<!-- Google Font Link -->
<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=Nunito+Sans:wght@400;600&display=swap"
rel="stylesheet"
/>
<!-- Custom Style Link -->
<link rel="stylesheet" href="./src/css/style.css" />
<!-- Custom Script Link -->
<script type="module" src="./src/js/app.js"></script>
<script type="module" src="./src/js/route.js"></script>
</head>
<body>
<!-- Header -->
<header class="header">
<div class="container">
<a href="#" class="logo">
<img src="./src/assets/logo.png" width="364" height="58" alt="logo" />
</a>
<div class="search-view" data-search-view>
<div class="search-wrapper">
<input
type="search"
name="search"
placeholder="Search City..."
autocomplete="off"
class="search-field"
data-search-field
/>
<span class="m-icon leading-icon">search</span>
<button
class="icon-btn leading-icon has-state"
aria-label="search"
data-search-toggler
>
<span class="m-icon">arrow_back</span>
</button>
</div>
<div class="search-result" data-search-result></div>
</div>
<div class="header-actions">
<button
class="icon-btn has-state"
aria-label="open search"
data-search-toggler
>
<span class="m-icon">search</span>
</button>
<a
href="#/current-location"
class="btn-primary has-state"
data-current-location-btn
>
<span class="m-icon">my_location</span>
<span class="span">Current Location</span>
</a>
</div>
</div>
</header>
<!-- Main -->
<main>
<article class="container" data-container>
<!-- Content Left -->
<div class="content-left">
<!-- Current Weather -->
<section
class="section current-weather"
aria-label="current weather"
data-current-weather
></section>
<!-- Forecast -->
<section
class="section forecast"
aria-labelledby="forecast-label"
data-5-day-forecast
></section>
</div>
<!-- Content Right -->
<div class="content-right">
<!-- Highlights -->
<section
class="section highlights"
aria-labelledby="highlights-label"
data-highlights
></section>
<!-- Hourly Forecast -->
<section
class="section hourly-forecast"
aria-label="hourly-forecast"
data-hourly-forecast
></section>
<!-- Footer -->
<footer class="footer">
<p class="body-3">
Copyright <span class="inline-block" id="year">2024</span> ©
<a
class="inline-block"
href="https://twitter.com/Pranav_Jadhav09"
target="_blank"
title="JR.Pranav Twitter Profile"
>
JR.Pranav.</a
>
All Rights Reserved.
</p>
<p class="body-3">
Powered By
<a
href="https://openweathermap.org/api"
title="Free openWeather Api"
target="_blank"
rel="noopener"
>
<img
src="./src/assets/openweather.png"
width="150"
height="30"
loading="lazy"
alt="OpenWeather"
class="inline-block"
/>
</a>
</p>
</footer>
</div>
<!-- Loading -->
<div class="loading" data-loading></div>
</article>
</main>
<!-- Error Section -->
<section class="error-content" data-error-content>
<h2 class="heading">404</h2>
<p class="body-1">Page not found!</p>
<a href="#/weather?lat=26.7951906&lon=82.1945943" class="btn-primary">
<span class="span">Go Home</span>
</a>
</section>
</body>
</html>