-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.htm
209 lines (195 loc) · 6.58 KB
/
index.htm
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
<!DOCTYPE html>
<!-- EmeditWeb Codes -->
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<!-- HTML Meta Tags -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>Weather App | EmeditWEB</title>
<meta name="description" content="Get Your Location's Weather Status | EmeditWeb">
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="Weather App | EmeditWEB">
<meta itemprop="description" content="Get Your Location's Weather Status | EmeditWeb">
<meta itemprop="image" content="tokyo.png">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://emedit-wapi.netlify.app">
<meta property="og:type" content="website">
<meta property="og:title" content="Weather App | EmeditWEB">
<meta property="og:description" content="Get Your Location's Weather Status | EmeditWeb">
<meta property="og:image" content="tokyo.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Weather App | EmeditWEB">
<meta name="twitter:description" content="Get Your Location's Weather Status | EmeditWeb">
<meta name="twitter:image" content="tokyo.png">
<!-- Other tags -->
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="rain.svg" type="image/x-icon" />
<!-- Linking BoxIcon for Icon -->
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
</head>
<style>
.download-btn-cn{
position: fixed;
bottom: 40px;
left: 40px;
z-index: 99999;
}
.download-btn-cn a{
background: none;
padding: 13px 22px;
font-size: 16px;
color: #fff;
text-decoration: none;
border-radius: 6px;
border: 2px solid #fff;
font-family: 'Poppins', sans-serif;
transition: all 0.3s ease;
}
.download-btn-cn a:hover{
color: #fff;
background: #0d0d0e;
}
@media screen and (max-width: 600px){
.download-btn-cn{
left: 20px;
}
.download-btn-cn a{
font-size: 13px;
padding: 9px 15px;
}
}
</style>
<style>
.btn-cn {
position: fixed;
bottom: 40px;
left: 50%; /* Change left position to center */
z-index: 99999;
transform: translateX(-50%); /* Center the button using transform */
}
.btn-cn a {
background: none;
padding: 13px 22px;
font-size: 16px;
color: #fff;
text-decoration: none;
border-radius: 6px;
border: 2px solid #fff;
font-family: 'Poppins', sans-serif;
transition: all 0.3s ease;
}
.btn-cn a:hover {
color: #fff;
background: #0d0d0e;
}
@media screen and (max-width: 600px) {
.btn-cn {
font-size: 13px;
padding: 9px 15px;
}
}
</style>
<body>
<!-- Whatsapp button script -->
<script type="text/javascript">
(function () {
var options = {
whatsapp: "+234 9050118734", // WhatsApp number
call_to_action: "Message us", // Call to action
position: "right", // Position may be 'right' or 'left'
};
var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
})();
</script>
<!-- Whatsapp button script ends -->
<div class="download-btn-cn">
<a href="https://github.com/EmeditWeb/Weather-API" target="_blank">View Source Code</a></div>
<style>
@keyframes shake {
0% { transform: translateX(0); }
25% { transform: translateX(-5px) rotate(5deg); }
50% { transform: translateX(5px) rotate(-5deg); }
75% { transform: translateX(-5px) rotate(5deg); }
100% { transform: translateX(0); }
}
@keyframes glow {
0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); }
}
.button-container {
text-align: center;
}
.attention-btn {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
animation: shake 0.5s ease infinite alternate, glow 1s ease infinite;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.attention-btn:hover {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(0, 128, 0, 0.5);
}
</style>
<!-- ice button -->
<div class="btn-cn" style="text-align: center;">
<a href="ice.html" target="_blank" class="attention-btn">Claim 10 ICE ☃️🪙</a>
</div>
<!-- Ice button ends -->
<div class="wrapper">
<header><i class='bx bx-left-arrow-alt'></i>Weather App</header>
<section class="input-part">
<p class="info-txt"></p>
<div class="content">
<input type="text" spellcheck="false" placeholder="Enter city name" required>
<div class="separator"></div>
<button>Get Device Location</button>
</div>
</section>
<section class="weather-part">
<img src="" alt="Weather Icon">
<div class="temp">
<span class="numb">_</span>
<span class="deg">°</span>C
</div>
<div class="weather">_ _</div>
<div class="location">
<i class='bx bx-map'></i>
<span>_, _</span>
</div>
<div class="bottom-details">
<div class="column feels">
<i class='bx bxs-thermometer'></i>
<div class="details">
<div class="temp">
<span class="numb-2">_</span>
<span class="deg">°</span>C
</div>
<p>Feels like</p>
</div>
</div>
<div class="column humidity">
<i class='bx bxs-droplet-half'></i>
<div class="details">
<span>_</span>
<p>Humidity</p>
</div>
</div>
</div>
</section>
</div>
<script src="script.js"></script>
</body>
</html>