-
Notifications
You must be signed in to change notification settings - Fork 57
/
index.html
193 lines (177 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather APP</title>
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"></script>
<script src="https://api.windy.com/assets/map-forecast/libBoot.js"></script>
<script src="https://kit.fontawesome.com/a6b0b5c0e4.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAAB5CAMAAAAqJH57AAAAt1BMVEX///8ate3/wQYAseyP1fT/vgD/vAAAs+wAtPIAtPX/+Oj//ff///3/xzsAruv/ugD/1nj/7sv2/P5Zw/Dp9/3/2IP/57T/89j/3ZD/9N3/2on/zln/5a3/6bz/4aH/7MX/0GXb8ftuyfG24/j/yk7/xS7/wyH/yUX/03DM6vqn3fd+z/NHvvBWu9xhu9CDvLatv5fSv23rwUF8u77kwk26wIhDuOHzwi3FwHd2uMTCv36ewKnW2LPgBjeNAAAEB0lEQVRoge2Y2ZaiMBBAJZigouIuiuLWuNv79Kz//12TICjYQooQ23Nmch85kWs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ORi7FNjjDOTFzGjAzfPpdRWiFFczFowcUeqmKp1fb8FmYGjZiZ5fQ/Jed6+dd1t8NVZBq8sao37sHMeEsnqIs88u5FZM3hB3ypmTV/c5znTmHe8dN+ktrXYsZXAVv5+BppvVtzcbMs8I6NwKwzyVUTMDDg3NrcIGpDsgtzRIBTzu6fPQs78FxEbG5CYPuv91Y+coujajO8M2cyNui6HugabDE60NtuiDLYZ4lUoFAqFQqH43/gLQCdJ0kdhVnYAAAAASUVORK5CYII=" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="script.js" defer></script>
<style>
#windy {
width: 100%;
height: 350px;
}
.chatbot-container {
position: fixed;
bottom: 20px; /* Adjust as needed */
right: 20px; /* Adjust as needed */
z-index: 1000; /* Ensure it appears above other elements */
}
.chatbot-button {
background-color: #007bff; /* Change to your preferred color */
border: none;
border-radius: 50%;
padding: 5px; /* Smaller padding */
cursor: pointer;
position: relative;
width: 50px; /* Adjusted size */
height: 50px; /* Adjusted size */
}
.chatbot-button img {
width: 30px; /* Adjusted image size */
height: 30px; /* Adjusted image size */
}
.tooltip-text {
display: none; /* Hide by default */
position: absolute;
bottom: 100%; /* Position above the button */
right: 50%;
transform: translateX(50%);
background-color: #333; /* Background color for tooltip */
color: #fff; /* Tooltip text color */
padding: 5px;
border-radius: 5px;
white-space: nowrap; /* Prevent text from wrapping */
}
.chatbot-button:hover .tooltip-text {
display: block; /* Show on hover */
}
</style>
</head>
<body>
<h1>
<img src="logoo.png" alt="Logo" class="logo"> SkyStream
<nav>
<input type="checkbox" id="hamburger"/>
<label for="hamburger">
<i class="fa-solid fa-bars" style="color: #ced4de;"></i>
</label>
<ul>
<li><a href="index.html">Home<span></span></a></li>
<li><a href="about.html">About US<span></span></a></li>
<li><a href="contact.html">Contact US<span></span></a></li>
</ul>
</nav>
<button class="dark-mode-toggle"><i class="fas fa-sun"></i></button>
</h1>
<div class="container">
<div class="weather-input">
<div class="search-sec">
<h3>Enter Location </h3>
<input type="text" class="city-input" placeholder="E.g ; Agra, Firozabad, Tundla">
<button class="search-btn"> Search </button>
<div class="separator"></div>
<button class="location-btn"> Use Current Location </button>
</div>
<div class="map-sec">
<div id="windy"></div>
</div>
</div>
<div class="weather-data">
<div class="current-weather">
<div class="details">
<h2> _________ ( ________ )</h2>
<h4>Temperature : ____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</div>
<div class="graph-sec">
<img src="graph.png" alt="line-graph" id="line-grap">
</div>
</div>
<div class="days-forecast">
<h5>5 - Days Forecast </h5>
<ul class="weather-cards">
<li class="card">
<h3> _______ ( _____ )</h3>
<h4>Desc : ____</h4>
<h4>Temperature : _____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</li>
<li class="card">
<h3> ______ ( _____ )</h3>
<img src="https://openweathermap.org/img/wn/10d@2x.png" alt="weather-icon">
<h4>Desc : ____</h4>
<h4>Temperature : _____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</li>
<li class="card">
<h3>______ ( _____ )</h3>
<img src="https://openweathermap.org/img/wn/10d@2x.png" alt="weather-icon">
<h4>Desc : ____</h4>
<h4>Temperature : _____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</li>
<li class="card">
<h3>______ ( _____ )</h3>
<img src="https://openweathermap.org/img/wn/10d@2x.png" alt="weather-icon">
<h4>Desc : ____</h4>
<h4>Temperature : _____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</li>
<li class="card">
<h3>______ ( _____ )</h3>
<img src="https://openweathermap.org/img/wn/10d@2x.png" alt="weather-icon">
<h4>Desc : ____</h4>
<h4>Temperature : _____</h4>
<h4>Wind Speed : _____ M/s</h4>
<h4>Humidity : ____ %</h4>
<h4>air quality :____</h4>
</li>
</ul>
</div>
</div>
</div>
<!-- Chatbot Button -->
<a href="chatbot.html">
<div class="chatbot-container">
<button class="chatbot-button group">
<img class="h-20" src="chatbot.gif" alt="chatbot">
<span class="tooltip-text">
Welcome to Weather App! <br>
How can I help You? ^_^
</span>
</button>
</div>
<!-- Footer -->
<div class="footer">
<div class="more-info">
<p>© Copyright 2023, www.weatherapp.com All Rights Reserved</p>
<p> For More Info Please Visit: -
<a href="https://mausam.imd.gov.in/" target="_blank">www.mausam.imd.gov.in/</a>
</p>
</div>
<div class="social-media">
<ul>
<li><i class="fa-brands fa-youtube" style="color: #e60505;"></i> <a href="https://www.youtube.com/channel/UC_qxTReoq07UVARm87CuyQw/featured?view_as=subscriber" target="_blank">Youtube</a></li>
<li><i class="fa-brands fa-square-x-twitter" style="color: #0a0a0a;"></i> <a href="https://twitter.com/Indiametdept" target="_blank">Twitter</a></li>
<li><i class="fa-brands fa-linkedin" style="color: #2267dd;"></i><a href="#">LinkedIn</a></li>
</ul>
</div>
</div>
</body>
</html>