7758aqua commited on
Commit
2900a4f
·
verified ·
1 Parent(s): ff26d88

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +1013 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sample2
3
- emoji: 🔥
4
  colorFrom: purple
5
- colorTo: indigo
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: sample2
3
+ emoji: 🐳
4
  colorFrom: purple
5
+ colorTo: blue
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,1013 @@
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>Smart Petrol Station Digital Twin</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap" rel="stylesheet">
9
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
10
+ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
11
+ <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
12
+ <style>
13
+ html, body {
14
+ height: 100%;
15
+ margin: 0;
16
+ padding: 0;
17
+ overflow: hidden;
18
+ }
19
+
20
+ body {
21
+ font-family: 'Rajdhani', sans-serif;
22
+ background-color: #0A0A0A;
23
+ color: #E0E0E0;
24
+ display: flex;
25
+ flex-direction: column;
26
+ }
27
+
28
+ .sci-fi-font {
29
+ font-family: 'Orbitron', sans-serif;
30
+ }
31
+
32
+ .glass-panel {
33
+ background: rgba(26, 26, 26, 0.7);
34
+ backdrop-filter: blur(10px);
35
+ border: 1px solid rgba(255, 107, 53, 0.2);
36
+ box-shadow: 0 0 15px rgba(255, 107, 53, 0.1);
37
+ }
38
+
39
+ .neon-orange {
40
+ color: #FF6B35;
41
+ text-shadow: 0 0 5px rgba(255, 107, 53, 0.7);
42
+ }
43
+
44
+ .neon-glow {
45
+ box-shadow: 0 0 10px rgba(255, 107, 53, 0.7);
46
+ }
47
+
48
+ .neon-border {
49
+ border: 1px solid #FF6B35;
50
+ box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
51
+ }
52
+
53
+ .pulse {
54
+ animation: pulse 2s infinite;
55
+ }
56
+
57
+ @keyframes pulse {
58
+ 0% { opacity: 1; }
59
+ 50% { opacity: 0.5; }
60
+ 100% { opacity: 1; }
61
+ }
62
+
63
+ .grid-pattern {
64
+ background-image:
65
+ linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
66
+ linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
67
+ background-size: 20px 20px;
68
+ }
69
+
70
+ .hexagon {
71
+ clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
72
+ }
73
+
74
+ .corner-bracket {
75
+ position: relative;
76
+ }
77
+
78
+ .corner-bracket::before, .corner-bracket::after {
79
+ content: '';
80
+ position: absolute;
81
+ width: 15px;
82
+ height: 15px;
83
+ border-color: #FF6B35;
84
+ border-style: solid;
85
+ border-width: 0;
86
+ }
87
+
88
+ .corner-bracket::before {
89
+ top: 0;
90
+ left: 0;
91
+ border-top-width: 2px;
92
+ border-left-width: 2px;
93
+ }
94
+
95
+ .corner-bracket::after {
96
+ bottom: 0;
97
+ right: 0;
98
+ border-bottom-width: 2px;
99
+ border-right-width: 2px;
100
+ }
101
+
102
+ .progress-ring {
103
+ transform: rotate(-90deg);
104
+ }
105
+
106
+ .progress-ring-circle {
107
+ transition: stroke-dashoffset 0.5s;
108
+ stroke-linecap: round;
109
+ }
110
+
111
+ .ai-orb {
112
+ background: radial-gradient(circle at 30% 30%, #FF8C42, #FF6B35);
113
+ box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
114
+ }
115
+
116
+ .data-stream {
117
+ position: absolute;
118
+ width: 2px;
119
+ height: 100%;
120
+ background: linear-gradient(to bottom, transparent, #FF6B35, transparent);
121
+ animation: dataStream 3s linear infinite;
122
+ opacity: 0.6;
123
+ }
124
+
125
+ @keyframes dataStream {
126
+ 0% { transform: translateY(-100%); }
127
+ 100% { transform: translateY(100%); }
128
+ }
129
+
130
+ .hover-3d {
131
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
132
+ }
133
+
134
+ .hover-3d:hover {
135
+ transform: perspective(500px) rotateX(5deg) rotateY(5deg) translateZ(10px);
136
+ box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
137
+ }
138
+
139
+ .main-container {
140
+ display: flex;
141
+ flex: 1;
142
+ overflow: hidden;
143
+ }
144
+
145
+ .panel {
146
+ height: 100%;
147
+ overflow-y: auto;
148
+ scrollbar-width: thin;
149
+ scrollbar-color: #FF6B35 #0A0A0A;
150
+ }
151
+
152
+ .panel::-webkit-scrollbar {
153
+ width: 6px;
154
+ }
155
+
156
+ .panel::-webkit-scrollbar-track {
157
+ background: #0A0A0A;
158
+ }
159
+
160
+ .panel::-webkit-scrollbar-thumb {
161
+ background-color: #FF6B35;
162
+ border-radius: 6px;
163
+ }
164
+
165
+ .chart-container {
166
+ height: 150px;
167
+ position: relative;
168
+ }
169
+
170
+ .staff-badge {
171
+ position: relative;
172
+ overflow: hidden;
173
+ }
174
+
175
+ .staff-badge::after {
176
+ content: '';
177
+ position: absolute;
178
+ top: 0;
179
+ left: 0;
180
+ right: 0;
181
+ height: 3px;
182
+ background: linear-gradient(90deg, #FF6B35, #FF8C42);
183
+ }
184
+
185
+ .staff-status {
186
+ width: 10px;
187
+ height: 10px;
188
+ border-radius: 50%;
189
+ display: inline-block;
190
+ margin-right: 5px;
191
+ }
192
+
193
+ .status-active {
194
+ background-color: #4ADE80;
195
+ box-shadow: 0 0 5px #4ADE80;
196
+ }
197
+
198
+ .status-break {
199
+ background-color: #FBBF24;
200
+ box-shadow: 0 0 5px #FBBF24;
201
+ }
202
+
203
+ .status-off {
204
+ background-color: #F87171;
205
+ box-shadow: 0 0 5px #F87171;
206
+ }
207
+
208
+ .staff-location {
209
+ font-size: 0.7rem;
210
+ color: #A1A1AA;
211
+ margin-top: 2px;
212
+ }
213
+
214
+ .pulse-dot {
215
+ position: absolute;
216
+ width: 8px;
217
+ height: 8px;
218
+ border-radius: 50%;
219
+ background-color: #FF6B35;
220
+ box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
221
+ animation: pulse-dot 1.5s infinite;
222
+ }
223
+
224
+ @keyframes pulse-dot {
225
+ 0% {
226
+ transform: scale(0.95);
227
+ box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
228
+ }
229
+ 70% {
230
+ transform: scale(1);
231
+ box-shadow: 0 0 0 5px rgba(255, 107, 53, 0);
232
+ }
233
+ 100% {
234
+ transform: scale(0.95);
235
+ box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
236
+ }
237
+ }
238
+
239
+ /* Map Styles */
240
+ #stationMap {
241
+ height: 200px;
242
+ width: 100%;
243
+ border-radius: 0.5rem;
244
+ z-index: 1;
245
+ }
246
+
247
+ .map-container {
248
+ position: relative;
249
+ height: 100%;
250
+ width: 100%;
251
+ }
252
+
253
+ .map-overlay {
254
+ position: absolute;
255
+ top: 10px;
256
+ right: 10px;
257
+ z-index: 1000;
258
+ background: rgba(0, 0, 0, 0.7);
259
+ padding: 0.5rem;
260
+ border-radius: 0.25rem;
261
+ border: 1px solid #FF6B35;
262
+ }
263
+
264
+ .map-status {
265
+ display: flex;
266
+ align-items: center;
267
+ font-size: 0.8rem;
268
+ }
269
+
270
+ .map-status-indicator {
271
+ width: 10px;
272
+ height: 10px;
273
+ border-radius: 50%;
274
+ margin-right: 5px;
275
+ }
276
+
277
+ .map-status-online {
278
+ background-color: #4ADE80;
279
+ box-shadow: 0 0 5px #4ADE80;
280
+ }
281
+
282
+ .map-status-offline {
283
+ background-color: #F87171;
284
+ box-shadow: 0 0 5px #F87171;
285
+ }
286
+
287
+ .leaflet-control-attribution {
288
+ display: none !important;
289
+ }
290
+
291
+ /* Responsive adjustments */
292
+ @media (max-width: 1024px) {
293
+ .main-container {
294
+ flex-direction: column;
295
+ }
296
+
297
+ .panel {
298
+ width: 100% !important;
299
+ height: auto;
300
+ max-height: 50vh;
301
+ border-right: none !important;
302
+ border-bottom: 1px solid rgba(255, 107, 53, 0.2);
303
+ }
304
+
305
+ #stationMap {
306
+ height: 150px;
307
+ }
308
+ }
309
+
310
+ @media (max-width: 768px) {
311
+ header {
312
+ flex-direction: column;
313
+ align-items: flex-start;
314
+ padding: 1rem;
315
+ }
316
+
317
+ header > div {
318
+ margin-top: 0.5rem;
319
+ }
320
+
321
+ #stationMap {
322
+ height: 120px;
323
+ }
324
+ }
325
+ </style>
326
+ </head>
327
+ <body class="grid-pattern">
328
+ <!-- Header -->
329
+ <header class="bg-black/80 border-b border-orange-500/30 py-3 px-6 flex justify-between items-center">
330
+ <div class="flex items-center space-x-4">
331
+ <div class="ai-orb w-8 h-8 rounded-full pulse"></div>
332
+ <h1 class="sci-fi-font text-2xl neon-orange">NEXUS PETROL STATION #0420</h1>
333
+ </div>
334
+ <div class="flex items-center space-x-6">
335
+ <div class="flex items-center space-x-2">
336
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
337
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
338
+ </svg>
339
+ <div id="datetime" class="sci-fi-font text-lg"></div>
340
+ </div>
341
+ <div class="flex items-center space-x-2">
342
+ <svg xmlns="http://www.w3.org/2000/ssvg" class="h-6 w-6 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
343
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
344
+ </svg>
345
+ <div class="sci-fi-font text-lg">SYSTEM: <span class="text-green-400">NOMINAL</span></div>
346
+ </div>
347
+ </div>
348
+ </header>
349
+
350
+ <!-- Main Content -->
351
+ <div class="main-container">
352
+ <!-- Left Panel - Fuel & Pump Section -->
353
+ <div class="w-1/4 glass-panel p-4 border-r border-orange-500/20 panel">
354
+ <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
355
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
356
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
357
+ </svg>
358
+ FUEL MANAGEMENT
359
+ </h2>
360
+
361
+ <!-- Station Location Map -->
362
+ <div class="mb-4 hover-3d">
363
+ <div class="map-container">
364
+ <div id="stationMap"></div>
365
+ <div class="map-overlay">
366
+ <div class="map-status">
367
+ <div class="map-status-indicator map-status-online"></div>
368
+ <span class="sci-fi-font text-xs">MECCA STATION ONLINE</span>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ <div class="text-center mt-1 text-xs text-gray-400 sci-fi-font">WESTERN REGION, SAUDI ARABIA</div>
373
+ </div>
374
+
375
+ <!-- Tank Levels -->
376
+ <div class="mb-6">
377
+ <h3 class="text-gray-400 uppercase text-sm mb-2">TANK LEVELS</h3>
378
+ <div class="grid grid-cols-2 gap-4">
379
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
380
+ <div class="relative w-20 h-20 mb-2">
381
+ <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
382
+ <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
383
+ <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="55.2" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
384
+ </svg>
385
+ <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">78%</div>
386
+ </div>
387
+ <span class="sci-fi-font text-orange-500">95 OCT</span>
388
+ </div>
389
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
390
+ <div class="relative w-20 h-20 mb-2">
391
+ <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
392
+ <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
393
+ <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="100.48" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
394
+ </svg>
395
+ <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">60%</div>
396
+ </div>
397
+ <span class="sci-fi-font text-orange-500">DIESEL</span>
398
+ </div>
399
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
400
+ <div class="relative w-20 h-20 mb-2">
401
+ <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
402
+ <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
403
+ <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="175.84" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
404
+ </svg>
405
+ <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">30%</div>
406
+ </div>
407
+ <span class="sci-fi-font text-orange-500">98 OCT</span>
408
+ </div>
409
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex flex-col items-center">
410
+ <div class="relative w-20 h-20 mb-2">
411
+ <svg class="progress-ring w-20 h-20" viewBox="0 0 100 100">
412
+ <circle class="text-gray-800" stroke-width="8" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
413
+ <circle class="progress-ring-circle text-orange-500" stroke-width="8" stroke-dasharray="251.2" stroke-dashoffset="200.96" stroke="currentColor" fill="transparent" r="40" cx="50" cy="50"/>
414
+ </svg>
415
+ <div class="absolute inset-0 flex items-center justify-center sci-fi-font text-lg">20%</div>
416
+ </div>
417
+ <span class="sci-fi-font text-orange-500">E85</span>
418
+ </div>
419
+ </div>
420
+ </div>
421
+
422
+ <!-- Pump Status -->
423
+ <div>
424
+ <h3 class="text-gray-400 uppercase text-sm mb-2">PUMP STATUS</h3>
425
+ <div class="grid grid-cols-2 gap-3">
426
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
427
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
428
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
429
+ </svg>
430
+ <span class="sci-fi-font mt-2">PUMP 1</span>
431
+ <span class="text-green-400 text-xs">ACTIVE</span>
432
+ </div>
433
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
434
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
435
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
436
+ </svg>
437
+ <span class="sci-fi-font mt-2 text-gray-500">PUMP 2</span>
438
+ <span class="text-gray-500 text-xs">IDLE</span>
439
+ </div>
440
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
441
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
442
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
443
+ </svg>
444
+ <span class="sci-fi-font mt-2">PUMP 3</span>
445
+ <span class="text-green-400 text-xs">ACTIVE</span>
446
+ </div>
447
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
448
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
449
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
450
+ </svg>
451
+ <span class="sci-fi-font mt-2 text-gray-500">PUMP 4</span>
452
+ <span class="text-gray-500 text-xs">IDLE</span>
453
+ </div>
454
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center border border-gray-700">
455
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
456
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
457
+ </svg>
458
+ <span class="sci-fi-font mt-2 text-gray-500">PUMP 5</span>
459
+ <span class="text-gray-500 text-xs">IDLE</span>
460
+ </div>
461
+ <div class="hover-3d hexagon bg-gray-900/50 p-4 flex flex-col items-center justify-center neon-border">
462
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-10 w-10 neon-orange" fill="none" viewBox="0 0 24 24" stroke="currentColor">
463
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z" />
464
+ </svg>
465
+ <span class="sci-fi-font mt-2">PUMP 6</span>
466
+ <span class="text-green-400 text-xs">ACTIVE</span>
467
+ </div>
468
+ </div>
469
+ </div>
470
+ </div>
471
+
472
+ <!-- Center Panel - CCTV & Safety Hub -->
473
+ <div class="w-2/4 glass-panel p-4 border-r border-orange-500/20 panel">
474
+ <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
475
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
476
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
477
+ </svg>
478
+ SURVEILLANCE HUB
479
+ </h2>
480
+
481
+ <!-- Live Camera Feeds -->
482
+ <div class="grid grid-cols-2 gap-4 mb-4">
483
+ <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
484
+ <div class="absolute inset-0 flex items-center justify-center">
485
+ <div class="text-center">
486
+ <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
487
+ <div class="sci-fi-font text-orange-500">CAMERA 1: ENTRANCE</div>
488
+ </div>
489
+ </div>
490
+ <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
491
+ AI TRACKING: 3 VEHICLES
492
+ </div>
493
+ <div class="data-stream" style="left: 30%;"></div>
494
+ <div class="data-stream" style="left: 70%;"></div>
495
+ </div>
496
+ <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
497
+ <div class="absolute inset-0 flex items-center justify-center">
498
+ <div class="text-center">
499
+ <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
500
+ <div class="sci-fi-font text-orange-500">CAMERA 2: EXIT</div>
501
+ </div>
502
+ </div>
503
+ <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
504
+ AI TRACKING: 1 VEHICLE
505
+ </div>
506
+ <div class="data-stream" style="left: 20%;"></div>
507
+ <div class="data-stream" style="left: 80%;"></div>
508
+ </div>
509
+ <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
510
+ <div class="absolute inset-0 flex items-center justify-center">
511
+ <div class="text-center">
512
+ <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
513
+ <div class="sci-fi-font text-orange-500">CAMERA 3: FORECOURT</div>
514
+ </div>
515
+ </div>
516
+ <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
517
+ AI TRACKING: 2 VEHICLES, 1 PERSON
518
+ </div>
519
+ <div class="data-stream" style="left: 40%;"></div>
520
+ <div class="data-stream" style="left: 60%;"></div>
521
+ </div>
522
+ <div class="corner-bracket hover-3d bg-black rounded-lg overflow-hidden relative aspect-video">
523
+ <div class="absolute inset-0 flex items-center justify-center">
524
+ <div class="text-center">
525
+ <div class="ai-orb w-12 h-12 rounded-full mx-auto mb-2 pulse"></div>
526
+ <div class="sci-fi-font text-orange-500">CAMERA 4: SHOP</div>
527
+ </div>
528
+ </div>
529
+ <div class="absolute top-2 left-2 sci-fi-font text-xs bg-black/70 px-2 py-1 rounded text-orange-400">
530
+ AI TRACKING: 2 PERSONS
531
+ </div>
532
+ <div class="data-stream" style="left: 25%;"></div>
533
+ <div class="data-stream" style="left: 75%;"></div>
534
+ </div>
535
+ </div>
536
+
537
+ <!-- Vehicle Counter -->
538
+ <div class="bg-gray-900/50 rounded-lg p-3 flex items-center justify-between neon-border mb-4">
539
+ <div class="flex items-center">
540
+ <div class="ai-orb w-10 h-10 rounded-full mr-3 pulse"></div>
541
+ <div>
542
+ <div class="sci-fi-font text-orange-500">VEHICLE COUNTER</div>
543
+ <div class="text-xs text-gray-400">LAST 60 MINUTES</div>
544
+ </div>
545
+ </div>
546
+ <div class="text-right">
547
+ <div class="sci-fi-font text-3xl text-orange-500">18</div>
548
+ <div class="text-xs text-green-400">+12% FROM YESTERDAY</div>
549
+ </div>
550
+ </div>
551
+
552
+ <!-- Staff Tracking -->
553
+ <div class="bg-gray-900/50 rounded-lg p-4 neon-border">
554
+ <div class="flex items-center justify-between mb-3">
555
+ <h3 class="sci-fi-font text-orange-500 flex items-center">
556
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
557
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
558
+ </svg>
559
+ STAFF TRACKING
560
+ </h3>
561
+ <div class="text-xs text-gray-400">ON-SITE: <span class="text-green-400">4/6</span></div>
562
+ </div>
563
+
564
+ <div class="grid grid-cols-2 gap-3">
565
+ <!-- Staff Member 1 -->
566
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
567
+ <div class="pulse-dot" style="top: 10px; right: 10px;"></div>
568
+ <div class="flex items-center mb-2">
569
+ <span class="staff-status status-active"></span>
570
+ <span class="sci-fi-font">JOHN DOE</span>
571
+ </div>
572
+ <div class="flex justify-between items-center">
573
+ <div class="staff-location">FORECOURT - PUMP 3</div>
574
+ <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
575
+ </div>
576
+ </div>
577
+
578
+ <!-- Staff Member 2 -->
579
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
580
+ <div class="flex items-center mb-2">
581
+ <span class="staff-status status-break"></span>
582
+ <span class="sci-fi-font">JANE SMITH</span>
583
+ </div>
584
+ <div class="flex justify-between items-center">
585
+ <div class="staff-location">STAFF LOUNGE</div>
586
+ <div class="text-xs bg-yellow-900/50 text-yellow-400 px-2 py-1 rounded">ON BREAK</div>
587
+ </div>
588
+ </div>
589
+
590
+ <!-- Staff Member 3 -->
591
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
592
+ <div class="flex items-center mb-2">
593
+ <span class="staff-status status-active"></span>
594
+ <span class="sci-fi-font">MIKE JOHNSON</span>
595
+ </div>
596
+ <div class="flex justify-between items-center">
597
+ <div class="staff-location">SHOP - CHECKOUT 2</div>
598
+ <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
599
+ </div>
600
+ </div>
601
+
602
+ <!-- Staff Member 4 -->
603
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
604
+ <div class="flex items-center mb-2">
605
+ <span class="staff-status status-active"></span>
606
+ <span class="sci-fi-font">SARAH WILLIAMS</span>
607
+ </div>
608
+ <div class="flex justify-between items-center">
609
+ <div class="staff-location">SHOP - STOCK ROOM</div>
610
+ <div class="text-xs bg-green-900/50 text-green-400 px-2 py-1 rounded">ON DUTY</div>
611
+ </div>
612
+ </div>
613
+
614
+ <!-- Staff Member 5 -->
615
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
616
+ <div class="flex items-center mb-2">
617
+ <span class="staff-status status-off"></span>
618
+ <span class="sci-fi-font text-gray-500">DAVID BROWN</span>
619
+ </div>
620
+ <div class="flex justify-between items-center">
621
+ <div class="staff-location text-gray-500">OFF-SITE</div>
622
+ <div class="text-xs bg-red-900/50 text-red-400 px-2 py-1 rounded">OFF DUTY</div>
623
+ </div>
624
+ </div>
625
+
626
+ <!-- Staff Member 6 -->
627
+ <div class="hover-3d staff-badge bg-gray-800/50 rounded-lg p-3 relative">
628
+ <div class="flex items-center mb-2">
629
+ <span class="staff-status status-off"></span>
630
+ <span class="sci-fi-font text-gray-500">LISA TAYLOR</span>
631
+ </div>
632
+ <div class="flex justify-between items-center">
633
+ <div class="staff-location text-gray-500">OFF-SITE</div>
634
+ <div class="text-xs bg-red-900/50 text-red-400 px-2 py-1 rounded">OFF DUTY</div>
635
+ </div>
636
+ </div>
637
+ </div>
638
+
639
+ <div class="mt-3 text-xs text-gray-400 flex items-center">
640
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-3 w-3 mr-1 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
641
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
642
+ </svg>
643
+ PULSE INDICATOR SHOWS STAFF REQUIRING ASSISTANCE
644
+ </div>
645
+ </div>
646
+ </div>
647
+
648
+ <!-- Right Panel - Predictive Analytics -->
649
+ <div class="w-1/4 glass-panel p-4 panel">
650
+ <h2 class="sci-fi-font text-xl neon-orange mb-4 flex items-center">
651
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="#FF6B35">
652
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
653
+ </svg>
654
+ AI ANALYTICS
655
+ </h2>
656
+
657
+ <!-- Sales Prediction -->
658
+ <div class="mb-4">
659
+ <h3 class="text-gray-400 uppercase text-sm mb-2">SALES PREDICTION</h3>
660
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
661
+ <div class="chart-container">
662
+ <canvas id="salesChart"></canvas>
663
+ </div>
664
+ <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
665
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
666
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
667
+ </svg>
668
+ AI PREDICTION: +15% IN NEXT HOUR
669
+ </div>
670
+ </div>
671
+ </div>
672
+
673
+ <!-- Traffic Prediction -->
674
+ <div class="mb-4">
675
+ <h3 class="text-gray-400 uppercase text-sm mb-2">TRAFFIC PREDICTION</h3>
676
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
677
+ <div class="chart-container">
678
+ <canvas id="trafficChart"></canvas>
679
+ </div>
680
+ <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
681
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
682
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
683
+ </svg>
684
+ PEAK: 14:00-16:00 (28 VEHICLES)
685
+ </div>
686
+ </div>
687
+ </div>
688
+
689
+ <!-- Fuel Consumption -->
690
+ <div class="mb-4">
691
+ <h3 class="text-gray-400 uppercase text-sm mb-2">FUEL CONSUMPTION</h3>
692
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3">
693
+ <div class="chart-container">
694
+ <canvas id="fuelChart"></canvas>
695
+ </div>
696
+ <div class="mt-2 sci-fi-font text-sm text-orange-500 flex items-center">
697
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
698
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
699
+ </svg>
700
+ DIESEL LEADING (58% OF SALES)
701
+ </div>
702
+ </div>
703
+ </div>
704
+
705
+ <!-- Anomaly Detection -->
706
+ <div>
707
+ <h3 class="text-gray-400 uppercase text-sm mb-2">SYSTEM ALERTS</h3>
708
+ <div class="space-y-2">
709
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex items-center neon-border">
710
+ <div class="hexagon bg-orange-500/20 w-8 h-8 flex items-center justify-center mr-3">
711
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
712
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
713
+ </svg>
714
+ </div>
715
+ <div>
716
+ <div class="sci-fi-font text-sm">UNUSUAL FUEL FLOW</div>
717
+ <div class="text-xs text-gray-400">PUMP 3 - CHECK FOR LEAKS</div>
718
+ </div>
719
+ </div>
720
+ <div class="hover-3d bg-gray-900/50 rounded-lg p-3 flex items-center">
721
+ <div class="hexagon bg-gray-700 w-8 h-8 flex items-center justify-center mr-3">
722
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
723
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z" />
724
+ </svg>
725
+ </div>
726
+ <div>
727
+ <div class="sci-fi-font text-sm">LOW DIESEL STOCK</div>
728
+ <div class="text-xs text-gray-400">REORDER IN 2 DAYS</div>
729
+ </div>
730
+ </div>
731
+ </div>
732
+ </div>
733
+ </div>
734
+ </div>
735
+
736
+ <!-- AI Command Bar -->
737
+ <footer class="bg-black/80 border-t border-orange-500/30 py-2 px-6">
738
+ <div class="flex items-center">
739
+ <div class="ai-orb w-6 h-6 rounded-full mr-3 pulse"></div>
740
+ <div class="relative flex-1">
741
+ <div class="absolute inset-y-0 left-0 flex items-center pl-3">
742
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-orange-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">
743
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z" />
744
+ </svg>
745
+ </div>
746
+ <input type="text" class="w-full bg-gray-900/70 border border-orange-500/30 rounded-lg py-2 pl-10 pr-4 sci-fi-font text-sm focus:outline-none focus:ring-1 focus:ring-orange-500" placeholder="Ask AI: Predict noon demand...">
747
+ </div>
748
+ <button class="ml-3 bg-orange-500/20 hover:bg-orange-500/30 text-orange-500 sci-fi-font text-sm px-4 py-2 rounded-lg border border-orange-500/30 flex items-center">
749
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
750
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 5l7 7-7 7M5 5l7 7-7 7" />
751
+ </svg>
752
+ SEND
753
+ </button>
754
+ </div>
755
+ </footer>
756
+
757
+ <script>
758
+ // Update datetime
759
+ function updateDateTime() {
760
+ const now = new Date();
761
+ const options = {
762
+ weekday: 'long',
763
+ year: 'numeric',
764
+ month: 'short',
765
+ day: 'numeric',
766
+ hour: '2-digit',
767
+ minute: '2-digit',
768
+ second: '2-digit',
769
+ hour12: false
770
+ };
771
+ document.getElementById('datetime').textContent = now.toLocaleDateString('en-US', options);
772
+ }
773
+ updateDateTime();
774
+ setInterval(updateDateTime, 1000);
775
+
776
+ // Initialize the map
777
+ function initMap() {
778
+ // Coordinates for Mecca, Saudi Arabia
779
+ const meccaCoords = [21.3891, 39.8579];
780
+
781
+ // Create the map centered on Western Saudi Arabia
782
+ const map = L.map('stationMap').setView([22.0, 39.0], 7);
783
+
784
+ // Add a tile layer (using OpenStreetMap)
785
+ L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
786
+ attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
787
+ maxZoom: 18,
788
+ tileSize: 512,
789
+ zoomOffset: -1
790
+ }).addTo(map);
791
+
792
+ // Add a marker for the station in Mecca
793
+ const stationIcon = L.divIcon({
794
+ className: 'station-marker',
795
+ html: `<div style="background: radial-gradient(circle at 30% 30%, #FF8C42, #FF6B35); width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);"></div>`,
796
+ iconSize: [20, 20],
797
+ iconAnchor: [10, 10]
798
+ });
799
+
800
+ const marker = L.marker(meccaCoords, {icon: stationIcon}).addTo(map);
801
+
802
+ // Add a popup with station info
803
+ marker.bindPopup("<b>NEXUS STATION #0420</b><br>Mecca, Saudi Arabia<br>Status: <span style='color:#4ADE80'>Online</span>").openPopup();
804
+
805
+ // Add a circle around Mecca to highlight the region
806
+ L.circle(meccaCoords, {
807
+ color: '#FF6B35',
808
+ fillColor: '#FF6B35',
809
+ fillOpacity: 0.2,
810
+ radius: 15000
811
+ }).addTo(map);
812
+
813
+ // Add labels for major cities in Western Saudi Arabia
814
+ const cities = [
815
+ {name: "Mecca", coords: [21.3891, 39.8579]},
816
+ {name: "Jeddah", coords: [21.5435, 39.1728]},
817
+ {name: "Medina", coords: [24.5247, 39.5692]},
818
+ {name: "Taif", coords: [21.4373, 40.5127]},
819
+ {name: "Yanbu", coords: [24.0895, 38.0618]}
820
+ ];
821
+
822
+ cities.forEach(city => {
823
+ L.marker(city.coords).addTo(map)
824
+ .bindTooltip(city.name, {permanent: false, direction: 'top'});
825
+ });
826
+ }
827
+
828
+ // Initialize the map when the page loads
829
+ document.addEventListener('DOMContentLoaded', initMap);
830
+
831
+ // Create sales chart
832
+ const salesCtx = document.getElementById('salesChart').getContext('2d');
833
+ const salesChart = new Chart(salesCtx, {
834
+ type: 'line',
835
+ data: {
836
+ labels: ['06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00'],
837
+ datasets: [
838
+ {
839
+ label: 'Actual',
840
+ data: [120, 190, 170, 210, 240, 220, 250],
841
+ borderColor: '#707070',
842
+ borderWidth: 1,
843
+ borderDash: [5, 5],
844
+ pointRadius: 0,
845
+ tension: 0.1
846
+ },
847
+ {
848
+ label: 'Predicted',
849
+ data: [120, 190, 170, 210, 240, 220, 250, 290, 320],
850
+ borderColor: '#FF6B35',
851
+ borderWidth: 2,
852
+ pointRadius: 0,
853
+ tension: 0.1
854
+ }
855
+ ]
856
+ },
857
+ options: {
858
+ responsive: true,
859
+ maintainAspectRatio: false,
860
+ plugins: {
861
+ legend: {
862
+ display: false
863
+ }
864
+ },
865
+ scales: {
866
+ x: {
867
+ grid: {
868
+ color: 'rgba(255,255,255,0.05)'
869
+ },
870
+ ticks: {
871
+ color: '#707070',
872
+ font: {
873
+ family: 'Rajdhani',
874
+ weight: 'bold'
875
+ }
876
+ }
877
+ },
878
+ y: {
879
+ grid: {
880
+ color: 'rgba(255,255,white,0.05)'
881
+ },
882
+ ticks: {
883
+ color: '#707070',
884
+ font: {
885
+ family: 'Rajdhani',
886
+ weight: 'bold'
887
+ }
888
+ }
889
+ }
890
+ }
891
+ }
892
+ });
893
+
894
+ // Create traffic chart
895
+ const trafficCtx = document.getElementById('trafficChart').getContext('2d');
896
+ const trafficChart = new Chart(trafficCtx, {
897
+ type: 'bar',
898
+ data: {
899
+ labels: ['08:00', '10:00', '12:00', '14:00', '16:00', '18:00'],
900
+ datasets: [{
901
+ label: 'Vehicles',
902
+ data: [12, 18, 22, 28, 25, 20],
903
+ backgroundColor: '#FF6B35',
904
+ borderColor: '#FF6B35',
905
+ borderWidth: 1
906
+ }]
907
+ },
908
+ options: {
909
+ responsive: true,
910
+ maintainAspectRatio: false,
911
+ plugins: {
912
+ legend: {
913
+ display: false
914
+ }
915
+ },
916
+ scales: {
917
+ x: {
918
+ grid: {
919
+ color: 'rgba(255,255,255,0.05)'
920
+ },
921
+ ticks: {
922
+ color: '#707070',
923
+ font: {
924
+ family: 'Rajdhani',
925
+ weight: 'bold'
926
+ }
927
+ }
928
+ },
929
+ y: {
930
+ grid: {
931
+ color: 'rgba(255,255,white,0.05)'
932
+ },
933
+ ticks: {
934
+ color: '#707070',
935
+ font: {
936
+ family: 'Rajdhani',
937
+ weight: 'bold'
938
+ }
939
+ }
940
+ }
941
+ }
942
+ }
943
+ });
944
+
945
+ // Create fuel consumption chart
946
+ const fuelCtx = document.getElementById('fuelChart').getContext('2d');
947
+ const fuelChart = new Chart(fuelCtx, {
948
+ type: 'doughnut',
949
+ data: {
950
+ labels: ['95 OCT', 'DIESEL', '98 OCT', 'E85'],
951
+ datasets: [{
952
+ data: [22, 58, 12, 8],
953
+ backgroundColor: [
954
+ '#FF6B35',
955
+ '#FF8C42',
956
+ '#FFA45C',
957
+ '#FFB677'
958
+ ],
959
+ borderWidth: 0
960
+ }]
961
+ },
962
+ options: {
963
+ responsive: true,
964
+ maintainAspectRatio: false,
965
+ plugins: {
966
+ legend: {
967
+ display: false
968
+ }
969
+ },
970
+ cutout: '70%'
971
+ }
972
+ });
973
+
974
+ // Add hover effects to pump status
975
+ const pumps = document.querySelectorAll('.hexagon');
976
+ pumps.forEach(pump => {
977
+ pump.addEventListener('mouseenter', () => {
978
+ if (pump.querySelector('svg').classList.contains('neon-orange')) {
979
+ pump.classList.add('neon-glow');
980
+ const icon = pump.querySelector('svg');
981
+ icon.style.transform = 'scale(1.1)';
982
+ icon.style.transition = 'transform 0.3s ease';
983
+ }
984
+ });
985
+
986
+ pump.addEventListener('mouseleave', () => {
987
+ pump.classList.remove('neon-glow');
988
+ const icon = pump.querySelector('svg');
989
+ icon.style.transform = 'scale(1)';
990
+ });
991
+ });
992
+
993
+ // Add data stream animation to camera feeds
994
+ const cameras = document.querySelectorAll('.corner-bracket');
995
+ cameras.forEach((camera, index) => {
996
+ // Create multiple data streams
997
+ for (let i = 0; i < 3; i++) {
998
+ const stream = document.createElement('div');
999
+ stream.classList.add('data-stream');
1000
+ stream.style.left = `${Math.random() * 100}%`;
1001
+ stream.style.animationDelay = `${Math.random() * 3}s`;
1002
+ camera.appendChild(stream);
1003
+ }
1004
+ });
1005
+
1006
+ // Simulate staff requiring assistance
1007
+ setInterval(() => {
1008
+ const pulseDot = document.querySelector('.pulse-dot');
1009
+ pulseDot.style.display = Math.random() > 0.7 ? 'block' : 'none';
1010
+ }, 5000);
1011
+ </script>
1012
+ <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=7758aqua/sample2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1013
+ </html>