CosmickVisions commited on
Commit
a2f3c2c
·
verified ·
1 Parent(s): 8f2e731

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +611 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Storm Track
3
- emoji: 📈
4
- colorFrom: pink
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: storm-track
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,611 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>StormTrack - Weather Patterns & Trends</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .weather-card:hover {
11
+ transform: translateY(-5px);
12
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
13
+ }
14
+ .gradient-bg {
15
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
16
+ }
17
+ .radar-animation {
18
+ animation: pulse 4s infinite;
19
+ }
20
+ @keyframes pulse {
21
+ 0% { opacity: 0.8; }
22
+ 50% { opacity: 1; }
23
+ 100% { opacity: 0.8; }
24
+ }
25
+ .storm-icon {
26
+ animation: shake 0.5s infinite alternate;
27
+ }
28
+ @keyframes shake {
29
+ from { transform: rotate(-5deg); }
30
+ to { transform: rotate(5deg); }
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="bg-gray-50 font-sans">
35
+ <!-- Navigation -->
36
+ <nav class="gradient-bg text-white shadow-lg">
37
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
38
+ <div class="flex items-center space-x-2">
39
+ <i class="fas fa-bolt storm-icon text-yellow-300 text-2xl"></i>
40
+ <a href="#" class="text-2xl font-bold">StormTrack</a>
41
+ </div>
42
+ <div class="hidden md:flex space-x-6">
43
+ <a href="#" class="hover:text-yellow-300">Home</a>
44
+ <a href="#" class="hover:text-yellow-300">Storm Patterns</a>
45
+ <a href="#" class="hover:text-yellow-300">National Trends</a>
46
+ <a href="#" class="hover:text-yellow-300">Alerts</a>
47
+ <a href="#" class="hover:text-yellow-300">About</a>
48
+ </div>
49
+ <div class="flex items-center space-x-4">
50
+ <button id="auth-btn" class="bg-yellow-400 hover:bg-yellow-500 text-gray-800 px-4 py-2 rounded-lg font-medium transition">
51
+ Sign In
52
+ </button>
53
+ <button class="md:hidden text-white focus:outline-none">
54
+ <i class="fas fa-bars text-xl"></i>
55
+ </button>
56
+ </div>
57
+ </div>
58
+ </nav>
59
+
60
+ <!-- Auth Modal -->
61
+ <div id="auth-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4">
62
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-md">
63
+ <div class="flex justify-between items-center border-b p-4">
64
+ <h3 class="text-xl font-bold text-gray-800">Welcome to StormTrack</h3>
65
+ <button id="close-auth" class="text-gray-500 hover:text-gray-700">
66
+ <i class="fas fa-times"></i>
67
+ </button>
68
+ </div>
69
+ <div class="p-6">
70
+ <div class="flex mb-6 border-b">
71
+ <button id="login-tab" class="px-4 py-2 font-medium border-b-2 border-blue-500 text-blue-600">Login</button>
72
+ <button id="register-tab" class="px-4 py-2 font-medium text-gray-500">Register</button>
73
+ </div>
74
+
75
+ <!-- Login Form -->
76
+ <div id="login-form">
77
+ <div class="mb-4">
78
+ <label class="block text-gray-700 mb-2" for="login-email">Email</label>
79
+ <input type="email" id="login-email" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
80
+ </div>
81
+ <div class="mb-6">
82
+ <label class="block text-gray-700 mb-2" for="login-password">Password</label>
83
+ <input type="password" id="login-password" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
84
+ </div>
85
+ <button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 rounded-lg font-medium transition mb-4">
86
+ Login
87
+ </button>
88
+ <div class="text-center text-sm text-gray-600 mb-4">or login with</div>
89
+ <div class="flex justify-center space-x-4 mb-4">
90
+ <button class="bg-red-500 hover:bg-red-600 text-white p-2 rounded-full">
91
+ <i class="fab fa-google"></i>
92
+ </button>
93
+ <button class="bg-blue-600 hover:bg-blue-700 text-white p-2 rounded-full">
94
+ <i class="fab fa-facebook-f"></i>
95
+ </button>
96
+ <button class="bg-blue-400 hover:bg-blue-500 text-white p-2 rounded-full">
97
+ <i class="fab fa-twitter"></i>
98
+ </button>
99
+ </div>
100
+ <div class="text-center text-sm text-gray-600">
101
+ <a href="#" class="text-blue-500 hover:underline">Forgot password?</a>
102
+ </div>
103
+ </div>
104
+
105
+ <!-- Register Form -->
106
+ <div id="register-form" class="hidden">
107
+ <div class="mb-4">
108
+ <label class="block text-gray-700 mb-2" for="register-name">Full Name</label>
109
+ <input type="text" id="register-name" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
110
+ </div>
111
+ <div class="mb-4">
112
+ <label class="block text-gray-700 mb-2" for="register-email">Email</label>
113
+ <input type="email" id="register-email" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
114
+ </div>
115
+ <div class="mb-4">
116
+ <label class="block text-gray-700 mb-2" for="register-password">Password</label>
117
+ <input type="password" id="register-password" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
118
+ </div>
119
+ <div class="mb-6">
120
+ <label class="block text-gray-700 mb-2" for="register-confirm">Confirm Password</label>
121
+ <input type="password" id="register-confirm" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
122
+ </div>
123
+ <button class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 rounded-lg font-medium transition mb-4">
124
+ Create Account
125
+ </button>
126
+ <div class="text-center text-sm text-gray-600">
127
+ By registering, you agree to our <a href="#" class="text-blue-500 hover:underline">Terms</a> and <a href="#" class="text-blue-500 hover:underline">Privacy Policy</a>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </div>
133
+
134
+ <!-- Hero Section -->
135
+ <section class="gradient-bg text-white py-16">
136
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
137
+ <div class="md:w-1/2 mb-8 md:mb-0">
138
+ <h1 class="text-4xl md:text-5xl font-bold mb-4">Track Storm Patterns & National Weather Trends</h1>
139
+ <p class="text-xl mb-6">Stay informed with the latest meteorological insights, storm tracking, and climate pattern analysis from our expert team.</p>
140
+ <div class="flex space-x-4">
141
+ <button class="bg-yellow-400 hover:bg-yellow-500 text-gray-800 px-6 py-3 rounded-lg font-medium transition">
142
+ Explore Recent Storms
143
+ </button>
144
+ <button class="border-2 border-white hover:bg-white hover:text-gray-800 px-6 py-3 rounded-lg font-medium transition">
145
+ View National Trends
146
+ </button>
147
+ </div>
148
+ </div>
149
+ <div class="md:w-1/2 flex justify-center">
150
+ <div class="relative w-64 h-64 md:w-80 md:h-80">
151
+ <div class="absolute inset-0 bg-blue-400 rounded-full opacity-20 radar-animation"></div>
152
+ <div class="absolute inset-4 bg-blue-500 rounded-full opacity-30 radar-animation" style="animation-delay: 0.5s;"></div>
153
+ <div class="absolute inset-8 bg-blue-600 rounded-full opacity-40 radar-animation" style="animation-delay: 1s;"></div>
154
+ <div class="absolute inset-0 flex items-center justify-center">
155
+ <i class="fas fa-cloud-showers-heavy text-6xl text-white"></i>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </section>
161
+
162
+ <!-- Main Content -->
163
+ <main class="container mx-auto px-4 py-12">
164
+ <!-- Featured Articles -->
165
+ <section class="mb-16">
166
+ <div class="flex justify-between items-center mb-8">
167
+ <h2 class="text-3xl font-bold text-gray-800">Featured Storm Patterns</h2>
168
+ <a href="#" class="text-blue-500 hover:underline flex items-center">
169
+ View all <i class="fas fa-arrow-right ml-2"></i>
170
+ </a>
171
+ </div>
172
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
173
+ <!-- Article 1 -->
174
+ <div class="bg-white rounded-xl shadow-md overflow-hidden weather-card transition duration-300">
175
+ <div class="relative h-48 bg-blue-100 overflow-hidden">
176
+ <img src="https://images.unsplash.com/photo-1536514498073-50e69d39c6cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80"
177
+ alt="Hurricane pattern" class="w-full h-full object-cover">
178
+ <div class="absolute top-2 right-2 bg-red-500 text-white px-2 py-1 rounded text-sm font-medium">
179
+ <i class="fas fa-exclamation-triangle mr-1"></i> Severe
180
+ </div>
181
+ </div>
182
+ <div class="p-6">
183
+ <div class="flex justify-between items-center mb-2">
184
+ <span class="text-sm text-gray-500">June 15, 2023</span>
185
+ <button class="text-gray-400 hover:text-red-500">
186
+ <i class="far fa-bookmark"></i>
187
+ </button>
188
+ </div>
189
+ <h3 class="text-xl font-bold mb-2">Tracking Hurricane Elara's Path</h3>
190
+ <p class="text-gray-600 mb-4">Analysis of the unusual westward shift in Hurricane Elara's trajectory and its implications for coastal regions.</p>
191
+ <div class="flex justify-between items-center">
192
+ <div class="flex items-center">
193
+ <img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Author" class="w-8 h-8 rounded-full mr-2">
194
+ <span class="text-sm">Dr. Sarah Chen</span>
195
+ </div>
196
+ <a href="#" class="text-blue-500 hover:underline text-sm">Read More</a>
197
+ </div>
198
+ </div>
199
+ </div>
200
+
201
+ <!-- Article 2 -->
202
+ <div class="bg-white rounded-xl shadow-md overflow-hidden weather-card transition duration-300">
203
+ <div class="relative h-48 bg-blue-100 overflow-hidden">
204
+ <img src="https://images.unsplash.com/photo-1501426026826-31c667bdf23d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1476&q=80"
205
+ alt="Tornado pattern" class="w-full h-full object-cover">
206
+ <div class="absolute top-2 right-2 bg-orange-500 text-white px-2 py-1 rounded text-sm font-medium">
207
+ <i class="fas fa-wind mr-1"></i> Active
208
+ </div>
209
+ </div>
210
+ <div class="p-6">
211
+ <div class="flex justify-between items-center mb-2">
212
+ <span class="text-sm text-gray-500">June 10, 2023</span>
213
+ <button class="text-gray-400 hover:text-red-500">
214
+ <i class="far fa-bookmark"></i>
215
+ </button>
216
+ </div>
217
+ <h3 class="text-xl font-bold mb-2">Tornado Alley: Shifting Patterns</h3>
218
+ <p class="text-gray-600 mb-4">Examining the recent eastward expansion of tornado activity and what it means for Midwest communities.</p>
219
+ <div class="flex justify-between items-center">
220
+ <div class="flex items-center">
221
+ <img src="https://randomuser.me/api/portraits/men/44.jpg" alt="Author" class="w-8 h-8 rounded-full mr-2">
222
+ <span class="text-sm">Prof. James Wilson</span>
223
+ </div>
224
+ <a href="#" class="text-blue-500 hover:underline text-sm">Read More</a>
225
+ </div>
226
+ </div>
227
+ </div>
228
+
229
+ <!-- Article 3 -->
230
+ <div class="bg-white rounded-xl shadow-md overflow-hidden weather-card transition duration-300">
231
+ <div class="relative h-48 bg-blue-100 overflow-hidden">
232
+ <img src="https://images.unsplash.com/photo-1605721911296-5707358a6e6b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
233
+ alt="Winter storm" class="w-full h-full object-cover">
234
+ <div class="absolute top-2 right-2 bg-blue-500 text-white px-2 py-1 rounded text-sm font-medium">
235
+ <i class="fas fa-snowflake mr-1"></i> Winter
236
+ </div>
237
+ </div>
238
+ <div class="p-6">
239
+ <div class="flex justify-between items-center mb-2">
240
+ <span class="text-sm text-gray-500">May 28, 2023</span>
241
+ <button class="text-gray-400 hover:text-red-500">
242
+ <i class="far fa-bookmark"></i>
243
+ </button>
244
+ </div>
245
+ <h3 class="text-xl font-bold mb-2">Unprecedented Winter Storms in Spring</h3>
246
+ <p class="text-gray-600 mb-4">Analyzing the meteorological factors behind late-season winter storms across the northern states.</p>
247
+ <div class="flex justify-between items-center">
248
+ <div class="flex items-center">
249
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Author" class="w-8 h-8 rounded-full mr-2">
250
+ <span class="text-sm">Dr. Maria Rodriguez</span>
251
+ </div>
252
+ <a href="#" class="text-blue-500 hover:underline text-sm">Read More</a>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </section>
258
+
259
+ <!-- National Trends Section -->
260
+ <section class="mb-16">
261
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
262
+ <div class="md:flex">
263
+ <div class="md:w-1/2 bg-gray-100 p-8 flex items-center">
264
+ <div>
265
+ <h2 class="text-3xl font-bold text-gray-800 mb-4">National Weather Trends Dashboard</h2>
266
+ <p class="text-gray-600 mb-6">Interactive tools to explore temperature anomalies, precipitation patterns, and extreme weather events across the country.</p>
267
+ <div class="flex space-x-4">
268
+ <button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg font-medium transition">
269
+ Explore Dashboard
270
+ </button>
271
+ <button class="border-2 border-blue-500 text-blue-500 hover:bg-blue-50 px-6 py-2 rounded-lg font-medium transition">
272
+ Download Data
273
+ </button>
274
+ </div>
275
+ </div>
276
+ </div>
277
+ <div class="md:w-1/2 p-8 bg-gradient-to-br from-blue-50 to-indigo-50">
278
+ <h3 class="text-xl font-bold text-gray-800 mb-4">Current National Highlights</h3>
279
+ <div class="space-y-4">
280
+ <div class="flex items-start">
281
+ <div class="bg-blue-100 p-2 rounded-lg mr-4">
282
+ <i class="fas fa-temperature-high text-blue-600 text-xl"></i>
283
+ </div>
284
+ <div>
285
+ <h4 class="font-medium text-gray-800">Heat Wave Alert</h4>
286
+ <p class="text-sm text-gray-600">Southwest experiencing temperatures 10°F above average</p>
287
+ </div>
288
+ </div>
289
+ <div class="flex items-start">
290
+ <div class="bg-green-100 p-2 rounded-lg mr-4">
291
+ <i class="fas fa-cloud-rain text-green-600 text-xl"></i>
292
+ </div>
293
+ <div>
294
+ <h4 class="font-medium text-gray-800">Drought Relief</h4>
295
+ <p class="text-sm text-gray-600">California sees 125% of average rainfall this season</p>
296
+ </div>
297
+ </div>
298
+ <div class="flex items-start">
299
+ <div class="bg-red-100 p-2 rounded-lg mr-4">
300
+ <i class="fas fa-wind text-red-600 text-xl"></i>
301
+ </div>
302
+ <div>
303
+ <h4 class="font-medium text-gray-800">Storm Watch</h4>
304
+ <p class="text-sm text-gray-600">Increased tropical activity predicted for Gulf Coast</p>
305
+ </div>
306
+ </div>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </section>
312
+
313
+ <!-- Weather Tools -->
314
+ <section class="mb-16">
315
+ <h2 class="text-3xl font-bold text-gray-800 mb-8">Interactive Weather Tools</h2>
316
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
317
+ <div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
318
+ <div class="bg-blue-100 p-3 rounded-lg inline-block mb-4">
319
+ <i class="fas fa-map-marked-alt text-blue-600 text-2xl"></i>
320
+ </div>
321
+ <h3 class="text-xl font-bold mb-2">Live Storm Tracker</h3>
322
+ <p class="text-gray-600 mb-4">Real-time tracking of active storms with predictive path modeling.</p>
323
+ <button class="text-blue-500 hover:underline font-medium">Launch Tracker</button>
324
+ </div>
325
+ <div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
326
+ <div class="bg-green-100 p-3 rounded-lg inline-block mb-4">
327
+ <i class="fas fa-chart-line text-green-600 text-2xl"></i>
328
+ </div>
329
+ <h3 class="text-xl font-bold mb-2">Climate Trend Analyzer</h3>
330
+ <p class="text-gray-600 mb-4">Compare historical weather data and identify emerging patterns.</p>
331
+ <button class="text-blue-500 hover:underline font-medium">Explore Trends</button>
332
+ </div>
333
+ <div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
334
+ <div class="bg-purple-100 p-3 rounded-lg inline-block mb-4">
335
+ <i class="fas fa-bell text-purple-600 text-2xl"></i>
336
+ </div>
337
+ <h3 class="text-xl font-bold mb-2">Custom Alerts</h3>
338
+ <p class="text-gray-600 mb-4">Get personalized notifications for weather events in your area.</p>
339
+ <button class="text-blue-500 hover:underline font-medium">Set Up Alerts</button>
340
+ </div>
341
+ </div>
342
+ </section>
343
+
344
+ <!-- Expert Analysis -->
345
+ <section>
346
+ <div class="flex justify-between items-center mb-8">
347
+ <h2 class="text-3xl font-bold text-gray-800">Expert Analysis</h2>
348
+ <a href="#" class="text-blue-500 hover:underline flex items-center">
349
+ View all <i class="fas fa-arrow-right ml-2"></i>
350
+ </a>
351
+ </div>
352
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
353
+ <div class="md:flex">
354
+ <div class="md:w-1/3 bg-gray-900 text-white p-8">
355
+ <h3 class="text-2xl font-bold mb-4">Meet Our Meteorologists</h3>
356
+ <p class="text-gray-300 mb-6">Our team of certified meteorologists and climate scientists bring you accurate, in-depth analysis of weather patterns.</p>
357
+ <button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg font-medium transition">
358
+ Learn About Our Team
359
+ </button>
360
+ </div>
361
+ <div class="md:w-2/3 p-8">
362
+ <div class="flex items-start mb-6 pb-6 border-b">
363
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Expert" class="w-16 h-16 rounded-full mr-4">
364
+ <div>
365
+ <h4 class="font-bold text-lg">Dr. Robert Langley</h4>
366
+ <p class="text-blue-500 text-sm mb-2">Severe Weather Specialist</p>
367
+ <p class="text-gray-600">"The increasing frequency of derechos in the Midwest is directly correlated with rising nighttime temperatures across the region."</p>
368
+ </div>
369
+ </div>
370
+ <div class="flex items-start">
371
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Expert" class="w-16 h-16 rounded-full mr-4">
372
+ <div>
373
+ <h4 class="font-bold text-lg">Dr. Amina Johnson</h4>
374
+ <p class="text-blue-500 text-sm mb-2">Climate Scientist</p>
375
+ <p class="text-gray-600">"Our models show a 40% increase in the likelihood of extreme precipitation events in the Northeast over the next decade."</p>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ </div>
381
+ </section>
382
+ </main>
383
+
384
+ <!-- Newsletter -->
385
+ <section class="gradient-bg text-white py-12">
386
+ <div class="container mx-auto px-4 text-center">
387
+ <h2 class="text-3xl font-bold mb-4">Stay Updated on Storm Patterns</h2>
388
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Subscribe to our newsletter for weekly storm tracking updates and national weather trend analysis.</p>
389
+ <div class="flex flex-col md:flex-row justify-center max-w-xl mx-auto">
390
+ <input type="email" placeholder="Your email address" class="px-4 py-3 rounded-lg mb-2 md:mb-0 md:mr-2 w-full text-gray-800 focus:outline-none">
391
+ <button class="bg-yellow-400 hover:bg-yellow-500 text-gray-800 px-6 py-3 rounded-lg font-medium transition whitespace-nowrap">
392
+ Subscribe Now
393
+ </button>
394
+ </div>
395
+ </div>
396
+ </section>
397
+
398
+ <!-- Footer -->
399
+ <footer class="bg-gray-800 text-white py-12">
400
+ <div class="container mx-auto px-4">
401
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
402
+ <div>
403
+ <div class="flex items-center space-x-2 mb-4">
404
+ <i class="fas fa-bolt storm-icon text-yellow-300 text-2xl"></i>
405
+ <span class="text-2xl font-bold">StormTrack</span>
406
+ </div>
407
+ <p class="text-gray-400">Providing accurate storm tracking and weather pattern analysis since 2010.</p>
408
+ </div>
409
+ <div>
410
+ <h4 class="text-lg font-bold mb-4">Quick Links</h4>
411
+ <ul class="space-y-2">
412
+ <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
413
+ <li><a href="#" class="text-gray-400 hover:text-white">Storm Database</a></li>
414
+ <li><a href="#" class="text-gray-400 hover:text-white">Trends Dashboard</a></li>
415
+ <li><a href="#" class="text-gray-400 hover:text-white">Weather Alerts</a></li>
416
+ </ul>
417
+ </div>
418
+ <div>
419
+ <h4 class="text-lg font-bold mb-4">Resources</h4>
420
+ <ul class="space-y-2">
421
+ <li><a href="#" class="text-gray-400 hover:text-white">Research Papers</a></li>
422
+ <li><a href="#" class="text-gray-400 hover:text-white">Weather Glossary</a></li>
423
+ <li><a href="#" class="text-gray-400 hover:text-white">Safety Tips</a></li>
424
+ <li><a href="#" class="text-gray-400 hover:text-white">API Documentation</a></li>
425
+ </ul>
426
+ </div>
427
+ <div>
428
+ <h4 class="text-lg font-bold mb-4">Connect</h4>
429
+ <div class="flex space-x-4 mb-4">
430
+ <a href="#" class="bg-gray-700 hover:bg-blue-600 w-10 h-10 rounded-full flex items-center justify-center">
431
+ <i class="fab fa-facebook-f"></i>
432
+ </a>
433
+ <a href="#" class="bg-gray-700 hover:bg-blue-400 w-10 h-10 rounded-full flex items-center justify-center">
434
+ <i class="fab fa-twitter"></i>
435
+ </a>
436
+ <a href="#" class="bg-gray-700 hover:bg-red-500 w-10 h-10 rounded-full flex items-center justify-center">
437
+ <i class="fab fa-youtube"></i>
438
+ </a>
439
+ <a href="#" class="bg-gray-700 hover:bg-blue-700 w-10 h-10 rounded-full flex items-center justify-center">
440
+ <i class="fab fa-linkedin-in"></i>
441
+ </a>
442
+ </div>
443
+ <p class="text-gray-400">[email protected]</p>
444
+ <p class="text-gray-400">1-800-555-STORMS</p>
445
+ </div>
446
+ </div>
447
+ <div class="pt-8 border-t border-gray-700 text-center text-gray-400">
448
+ <p>&copy; 2023 StormTrack. All rights reserved. | <a href="#" class="hover:text-white">Privacy Policy</a> | <a href="#" class="hover:text-white">Terms of Service</a></p>
449
+ </div>
450
+ </div>
451
+ </footer>
452
+
453
+ <!-- Admin Dashboard Button (visible when logged in) -->
454
+ <div id="admin-btn" class="fixed bottom-6 right-6 hidden">
455
+ <button class="bg-red-500 hover:bg-red-600 text-white p-4 rounded-full shadow-lg transition">
456
+ <i class="fas fa-tachometer-alt text-xl"></i>
457
+ </button>
458
+ </div>
459
+
460
+ <!-- Notification Bell -->
461
+ <div id="notification-btn" class="fixed bottom-6 left-6 hidden">
462
+ <button class="bg-blue-500 hover:bg-blue-600 text-white p-4 rounded-full shadow-lg transition relative">
463
+ <i class="fas fa-bell text-xl"></i>
464
+ <span class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
465
+ </button>
466
+ </div>
467
+
468
+ <!-- Notification Panel -->
469
+ <div id="notification-panel" class="fixed bottom-20 left-6 w-72 bg-white rounded-lg shadow-xl z-40 hidden">
470
+ <div class="p-4 border-b flex justify-between items-center">
471
+ <h3 class="font-bold">Notifications</h3>
472
+ <button class="text-gray-500 hover:text-gray-700">
473
+ <i class="fas fa-cog"></i>
474
+ </button>
475
+ </div>
476
+ <div class="max-h-80 overflow-y-auto">
477
+ <div class="p-4 border-b hover:bg-gray-50 cursor-pointer">
478
+ <div class="flex items-start">
479
+ <div class="bg-yellow-100 p-2 rounded-lg mr-3">
480
+ <i class="fas fa-exclamation-triangle text-yellow-500"></i>
481
+ </div>
482
+ <div>
483
+ <p class="text-sm font-medium">Severe Thunderstorm Watch issued for your area</p>
484
+ <p class="text-xs text-gray-500 mt-1">10 minutes ago</p>
485
+ </div>
486
+ </div>
487
+ </div>
488
+ <div class="p-4 border-b hover:bg-gray-50 cursor-pointer">
489
+ <div class="flex items-start">
490
+ <div class="bg-blue-100 p-2 rounded-lg mr-3">
491
+ <i class="fas fa-newspaper text-blue-500"></i>
492
+ </div>
493
+ <div>
494
+ <p class="text-sm font-medium">New article: "Hurricane Season Predictions 2023"</p>
495
+ <p class="text-xs text-gray-500 mt-1">2 hours ago</p>
496
+ </div>
497
+ </div>
498
+ </div>
499
+ <div class="p-4 hover:bg-gray-50 cursor-pointer">
500
+ <div class="flex items-start">
501
+ <div class="bg-green-100 p-2 rounded-lg mr-3">
502
+ <i class="fas fa-user-plus text-green-500"></i>
503
+ </div>
504
+ <div>
505
+ <p class="text-sm font-medium">Dr. Chen followed your storm tracking list</p>
506
+ <p class="text-xs text-gray-500 mt-1">1 day ago</p>
507
+ </div>
508
+ </div>
509
+ </div>
510
+ </div>
511
+ <div class="p-3 bg-gray-50 text-center">
512
+ <a href="#" class="text-blue-500 text-sm font-medium hover:underline">View All Notifications</a>
513
+ </div>
514
+ </div>
515
+
516
+ <script>
517
+ // Auth Modal Toggle
518
+ const authBtn = document.getElementById('auth-btn');
519
+ const authModal = document.getElementById('auth-modal');
520
+ const closeAuth = document.getElementById('close-auth');
521
+ const loginTab = document.getElementById('login-tab');
522
+ const registerTab = document.getElementById('register-tab');
523
+ const loginForm = document.getElementById('login-form');
524
+ const registerForm = document.getElementById('register-form');
525
+
526
+ authBtn.addEventListener('click', () => {
527
+ authModal.classList.remove('hidden');
528
+ });
529
+
530
+ closeAuth.addEventListener('click', () => {
531
+ authModal.classList.add('hidden');
532
+ });
533
+
534
+ loginTab.addEventListener('click', () => {
535
+ loginTab.classList.add('border-blue-500', 'text-blue-600');
536
+ loginTab.classList.remove('text-gray-500');
537
+ registerTab.classList.remove('border-blue-500', 'text-blue-600');
538
+ registerTab.classList.add('text-gray-500');
539
+ loginForm.classList.remove('hidden');
540
+ registerForm.classList.add('hidden');
541
+ });
542
+
543
+ registerTab.addEventListener('click', () => {
544
+ registerTab.classList.add('border-blue-500', 'text-blue-600');
545
+ registerTab.classList.remove('text-gray-500');
546
+ loginTab.classList.remove('border-blue-500', 'text-blue-600');
547
+ loginTab.classList.add('text-gray-500');
548
+ registerForm.classList.remove('hidden');
549
+ loginForm.classList.add('hidden');
550
+ });
551
+
552
+ // Simulate login (for demo purposes)
553
+ const loginSubmit = loginForm.querySelector('button');
554
+ loginSubmit.addEventListener('click', (e) => {
555
+ e.preventDefault();
556
+ const email = document.getElementById('login-email').value;
557
+ const password = document.getElementById('login-password').value;
558
+
559
+ if(email && password) {
560
+ authModal.classList.add('hidden');
561
+ authBtn.textContent = 'My Profile';
562
+ document.getElementById('admin-btn').classList.remove('hidden');
563
+ document.getElementById('notification-btn').classList.remove('hidden');
564
+
565
+ // Show welcome notification
566
+ setTimeout(() => {
567
+ alert(`Welcome back! You're now logged in to StormTrack.`);
568
+ }, 300);
569
+ }
570
+ });
571
+
572
+ // Notification Panel Toggle
573
+ const notificationBtn = document.getElementById('notification-btn');
574
+ const notificationPanel = document.getElementById('notification-panel');
575
+
576
+ notificationBtn.addEventListener('click', () => {
577
+ notificationPanel.classList.toggle('hidden');
578
+ });
579
+
580
+ // Close notification panel when clicking outside
581
+ document.addEventListener('click', (e) => {
582
+ if(!notificationBtn.contains(e.target) && !notificationPanel.contains(e.target)) {
583
+ notificationPanel.classList.add('hidden');
584
+ }
585
+ });
586
+
587
+ // Bookmark functionality
588
+ const bookmarkButtons = document.querySelectorAll('.fa-bookmark');
589
+ bookmarkButtons.forEach(button => {
590
+ button.addEventListener('click', (e) => {
591
+ e.target.classList.toggle('far');
592
+ e.target.classList.toggle('fas');
593
+ e.target.classList.toggle('text-red-500');
594
+
595
+ const articleTitle = e.target.closest('.weather-card').querySelector('h3').textContent;
596
+ if(e.target.classList.contains('fas')) {
597
+ alert(`"${articleTitle}" has been added to your bookmarks`);
598
+ } else {
599
+ alert(`"${articleTitle}" has been removed from your bookmarks`);
600
+ }
601
+ });
602
+ });
603
+
604
+ // Mobile menu toggle (placeholder - would need more implementation)
605
+ const mobileMenuBtn = document.querySelector('.md\\:hidden');
606
+ mobileMenuBtn.addEventListener('click', () => {
607
+ alert('Mobile menu would open here in a full implementation');
608
+ });
609
+ </script>
610
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=CosmickVisions/storm-track" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
611
+ </html>