Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +575 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
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: plusbykes
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: yellow
|
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,575 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>Metro Bike Share Tracker</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 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
10 |
+
<style>
|
11 |
+
.map-container {
|
12 |
+
height: 500px;
|
13 |
+
border-radius: 1rem;
|
14 |
+
overflow: hidden;
|
15 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
16 |
+
}
|
17 |
+
.station-card:hover {
|
18 |
+
transform: translateY(-5px);
|
19 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
20 |
+
}
|
21 |
+
.availability-low {
|
22 |
+
border-left: 4px solid #ef4444;
|
23 |
+
}
|
24 |
+
.availability-medium {
|
25 |
+
border-left: 4px solid #f59e0b;
|
26 |
+
}
|
27 |
+
.availability-high {
|
28 |
+
border-left: 4px solid #10b981;
|
29 |
+
}
|
30 |
+
.price-trend-up {
|
31 |
+
color: #ef4444;
|
32 |
+
}
|
33 |
+
.price-trend-down {
|
34 |
+
color: #10b981;
|
35 |
+
}
|
36 |
+
.pulse {
|
37 |
+
animation: pulse 2s infinite;
|
38 |
+
}
|
39 |
+
@keyframes pulse {
|
40 |
+
0% { opacity: 1; }
|
41 |
+
50% { opacity: 0.5; }
|
42 |
+
100% { opacity: 1; }
|
43 |
+
}
|
44 |
+
</style>
|
45 |
+
</head>
|
46 |
+
<body class="bg-gray-50">
|
47 |
+
<!-- Header -->
|
48 |
+
<header class="bg-blue-600 text-white">
|
49 |
+
<div class="container mx-auto px-4 py-6">
|
50 |
+
<div class="flex justify-between items-center">
|
51 |
+
<div class="flex items-center space-x-4">
|
52 |
+
<i class="fas fa-bicycle text-3xl"></i>
|
53 |
+
<h1 class="text-2xl font-bold">Metro Bike Share Tracker</h1>
|
54 |
+
</div>
|
55 |
+
<div class="hidden md:flex space-x-4">
|
56 |
+
<a href="#" class="hover:text-blue-200">Live Map</a>
|
57 |
+
<a href="#" class="hover:text-blue-200">Pricing</a>
|
58 |
+
<a href="#" class="hover:text-blue-200">News</a>
|
59 |
+
<a href="#" class="hover:text-blue-200">About</a>
|
60 |
+
</div>
|
61 |
+
<button class="md:hidden text-xl">
|
62 |
+
<i class="fas fa-bars"></i>
|
63 |
+
</button>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
</header>
|
67 |
+
|
68 |
+
<!-- Hero Section -->
|
69 |
+
<section class="bg-gradient-to-r from-blue-500 to-blue-700 text-white py-16">
|
70 |
+
<div class="container mx-auto px-4">
|
71 |
+
<div class="flex flex-col md:flex-row items-center">
|
72 |
+
<div class="md:w-1/2 mb-8 md:mb-0">
|
73 |
+
<h2 class="text-4xl font-bold mb-4">Real-Time Bike Share Data</h2>
|
74 |
+
<p class="text-xl mb-6">Track availability, pricing trends, and station status across the Metro network</p>
|
75 |
+
<div class="flex space-x-4">
|
76 |
+
<button class="bg-white text-blue-600 px-6 py-3 rounded-lg font-semibold hover:bg-blue-50 transition">
|
77 |
+
<i class="fas fa-map-marker-alt mr-2"></i> View Live Map
|
78 |
+
</button>
|
79 |
+
<button class="border border-white px-6 py-3 rounded-lg font-semibold hover:bg-blue-600 transition">
|
80 |
+
<i class="fas fa-chart-line mr-2"></i> Pricing Trends
|
81 |
+
</button>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
<div class="md:w-1/2">
|
85 |
+
<div class="bg-white rounded-lg p-4 shadow-xl">
|
86 |
+
<div class="flex justify-between items-center mb-4">
|
87 |
+
<h3 class="text-gray-800 font-bold">System Overview</h3>
|
88 |
+
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">
|
89 |
+
<i class="fas fa-circle pulse mr-1"></i> LIVE
|
90 |
+
</span>
|
91 |
+
</div>
|
92 |
+
<div class="grid grid-cols-3 gap-4 text-center">
|
93 |
+
<div class="bg-blue-50 p-3 rounded-lg">
|
94 |
+
<p class="text-gray-500 text-sm">Active Stations</p>
|
95 |
+
<p class="text-2xl font-bold text-blue-600">142</p>
|
96 |
+
</div>
|
97 |
+
<div class="bg-blue-50 p-3 rounded-lg">
|
98 |
+
<p class="text-gray-500 text-sm">Available Bikes</p>
|
99 |
+
<p class="text-2xl font-bold text-blue-600">1,284</p>
|
100 |
+
</div>
|
101 |
+
<div class="bg-blue-50 p-3 rounded-lg">
|
102 |
+
<p class="text-gray-500 text-sm">Empty Docks</p>
|
103 |
+
<p class="text-2xl font-bold text-blue-600">876</p>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
<div class="mt-4">
|
107 |
+
<canvas id="availabilityChart"></canvas>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
</div>
|
113 |
+
</section>
|
114 |
+
|
115 |
+
<!-- Main Content -->
|
116 |
+
<main class="container mx-auto px-4 py-12">
|
117 |
+
<!-- Map Section -->
|
118 |
+
<section class="mb-16">
|
119 |
+
<div class="flex justify-between items-center mb-6">
|
120 |
+
<h2 class="text-2xl font-bold text-gray-800">Live Station Map</h2>
|
121 |
+
<div class="flex space-x-2">
|
122 |
+
<button class="bg-blue-600 text-white px-4 py-2 rounded-lg text-sm">
|
123 |
+
<i class="fas fa-sync-alt mr-2"></i> Refresh
|
124 |
+
</button>
|
125 |
+
<div class="relative">
|
126 |
+
<select class="appearance-none bg-white border border-gray-300 rounded-lg pl-4 pr-8 py-2 text-sm">
|
127 |
+
<option>All Stations</option>
|
128 |
+
<option>Downtown LA</option>
|
129 |
+
<option>Westside</option>
|
130 |
+
<option>San Fernando Valley</option>
|
131 |
+
</select>
|
132 |
+
<div class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
|
133 |
+
<i class="fas fa-chevron-down text-gray-500"></i>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
<div class="map-container bg-gray-200 relative">
|
139 |
+
<!-- Map placeholder - in a real app this would be a map library like Leaflet or Google Maps -->
|
140 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
141 |
+
<div class="text-center">
|
142 |
+
<i class="fas fa-map-marked-alt text-5xl text-gray-400 mb-4"></i>
|
143 |
+
<p class="text-gray-600">Interactive map would display here with real-time station data</p>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
</section>
|
148 |
+
|
149 |
+
<!-- Station List -->
|
150 |
+
<section class="mb-16">
|
151 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-6">Nearby Stations</h2>
|
152 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
153 |
+
<!-- Station Card 1 -->
|
154 |
+
<div class="station-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 availability-high">
|
155 |
+
<div class="p-5">
|
156 |
+
<div class="flex justify-between items-start">
|
157 |
+
<div>
|
158 |
+
<h3 class="font-bold text-lg">Union Station</h3>
|
159 |
+
<p class="text-gray-500 text-sm">800 N Alameda St</p>
|
160 |
+
</div>
|
161 |
+
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">0.3 mi</span>
|
162 |
+
</div>
|
163 |
+
<div class="mt-4 flex justify-between">
|
164 |
+
<div>
|
165 |
+
<p class="text-gray-500 text-sm">Bikes Available</p>
|
166 |
+
<p class="text-2xl font-bold">12</p>
|
167 |
+
</div>
|
168 |
+
<div>
|
169 |
+
<p class="text-gray-500 text-sm">Docks Available</p>
|
170 |
+
<p class="text-2xl font-bold">8</p>
|
171 |
+
</div>
|
172 |
+
</div>
|
173 |
+
</div>
|
174 |
+
<div class="bg-gray-50 px-5 py-3 flex justify-between items-center">
|
175 |
+
<div class="flex items-center">
|
176 |
+
<i class="fas fa-clock text-gray-400 mr-2"></i>
|
177 |
+
<span class="text-sm text-gray-600">Updated 2 min ago</span>
|
178 |
+
</div>
|
179 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
180 |
+
<i class="fas fa-directions mr-1"></i> Directions
|
181 |
+
</button>
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
|
185 |
+
<!-- Station Card 2 -->
|
186 |
+
<div class="station-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 availability-medium">
|
187 |
+
<div class="p-5">
|
188 |
+
<div class="flex justify-between items-start">
|
189 |
+
<div>
|
190 |
+
<h3 class="font-bold text-lg">Pershing Square</h3>
|
191 |
+
<p class="text-gray-500 text-sm">532 S Olive St</p>
|
192 |
+
</div>
|
193 |
+
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">0.7 mi</span>
|
194 |
+
</div>
|
195 |
+
<div class="mt-4 flex justify-between">
|
196 |
+
<div>
|
197 |
+
<p class="text-gray-500 text-sm">Bikes Available</p>
|
198 |
+
<p class="text-2xl font-bold">4</p>
|
199 |
+
</div>
|
200 |
+
<div>
|
201 |
+
<p class="text-gray-500 text-sm">Docks Available</p>
|
202 |
+
<p class="text-2xl font-bold">3</p>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
</div>
|
206 |
+
<div class="bg-gray-50 px-5 py-3 flex justify-between items-center">
|
207 |
+
<div class="flex items-center">
|
208 |
+
<i class="fas fa-clock text-gray-400 mr-2"></i>
|
209 |
+
<span class="text-sm text-gray-600">Updated 5 min ago</span>
|
210 |
+
</div>
|
211 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
212 |
+
<i class="fas fa-directions mr-1"></i> Directions
|
213 |
+
</button>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
|
217 |
+
<!-- Station Card 3 -->
|
218 |
+
<div class="station-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 availability-low">
|
219 |
+
<div class="p-5">
|
220 |
+
<div class="flex justify-between items-start">
|
221 |
+
<div>
|
222 |
+
<h3 class="font-bold text-lg">Grand Park</h3>
|
223 |
+
<p class="text-gray-500 text-sm">200 N Grand Ave</p>
|
224 |
+
</div>
|
225 |
+
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">1.2 mi</span>
|
226 |
+
</div>
|
227 |
+
<div class="mt-4 flex justify-between">
|
228 |
+
<div>
|
229 |
+
<p class="text-gray-500 text-sm">Bikes Available</p>
|
230 |
+
<p class="text-2xl font-bold">0</p>
|
231 |
+
</div>
|
232 |
+
<div>
|
233 |
+
<p class="text-gray-500 text-sm">Docks Available</p>
|
234 |
+
<p class="text-2xl font-bold">15</p>
|
235 |
+
</div>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
<div class="bg-gray-50 px-5 py-3 flex justify-between items-center">
|
239 |
+
<div class="flex items-center">
|
240 |
+
<i class="fas fa-clock text-gray-400 mr-2"></i>
|
241 |
+
<span class="text-sm text-gray-600">Updated 8 min ago</span>
|
242 |
+
</div>
|
243 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
244 |
+
<i class="fas fa-directions mr-1"></i> Directions
|
245 |
+
</button>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
<div class="mt-6 text-center">
|
250 |
+
<button class="text-blue-600 font-semibold hover:text-blue-800">
|
251 |
+
View All Stations <i class="fas fa-chevron-right ml-1"></i>
|
252 |
+
</button>
|
253 |
+
</div>
|
254 |
+
</section>
|
255 |
+
|
256 |
+
<!-- Pricing Trends -->
|
257 |
+
<section class="mb-16">
|
258 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-6">Pricing Trends & News</h2>
|
259 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
260 |
+
<div class="p-5 border-b border-gray-200">
|
261 |
+
<div class="flex justify-between items-center">
|
262 |
+
<h3 class="font-bold text-lg">Current Pricing</h3>
|
263 |
+
<div class="flex space-x-4">
|
264 |
+
<div class="text-center">
|
265 |
+
<p class="text-gray-500 text-sm">Walk-Up</p>
|
266 |
+
<p class="font-bold">$3.50</p>
|
267 |
+
</div>
|
268 |
+
<div class="text-center">
|
269 |
+
<p class="text-gray-500 text-sm">Monthly Pass</p>
|
270 |
+
<p class="font-bold">$17.00</p>
|
271 |
+
</div>
|
272 |
+
</div>
|
273 |
+
</div>
|
274 |
+
</div>
|
275 |
+
<div class="p-5">
|
276 |
+
<canvas id="pricingTrendChart"></canvas>
|
277 |
+
</div>
|
278 |
+
</div>
|
279 |
+
</section>
|
280 |
+
|
281 |
+
<!-- News Section -->
|
282 |
+
<section>
|
283 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-6">Latest Updates</h2>
|
284 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
285 |
+
<!-- News Card 1 -->
|
286 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
287 |
+
<div class="p-5">
|
288 |
+
<div class="flex items-center mb-3">
|
289 |
+
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full mr-2">NEW</span>
|
290 |
+
<span class="text-gray-500 text-sm">May 15, 2023</span>
|
291 |
+
</div>
|
292 |
+
<h3 class="font-bold text-lg mb-2">Metro Expands Bike Share to Westside</h3>
|
293 |
+
<p class="text-gray-600 mb-4">10 new stations added in Santa Monica and Venice, increasing system capacity by 15%.</p>
|
294 |
+
<div class="flex justify-between items-center">
|
295 |
+
<span class="text-sm text-blue-600 font-semibold">
|
296 |
+
<i class="fas fa-arrow-up price-trend-up mr-1"></i> 12% more rides in first week
|
297 |
+
</span>
|
298 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
299 |
+
Read More <i class="fas fa-chevron-right ml-1"></i>
|
300 |
+
</button>
|
301 |
+
</div>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
|
305 |
+
<!-- News Card 2 -->
|
306 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
307 |
+
<div class="p-5">
|
308 |
+
<div class="flex items-center mb-3">
|
309 |
+
<span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded-full mr-2">ALERT</span>
|
310 |
+
<span class="text-gray-500 text-sm">May 10, 2023</span>
|
311 |
+
</div>
|
312 |
+
<h3 class="font-bold text-lg mb-2">Summer Pricing Adjustment</h3>
|
313 |
+
<p class="text-gray-600 mb-4">Starting June 1, walk-up rates will increase to $4.00 during peak hours (7-9am, 4-6pm).</p>
|
314 |
+
<div class="flex justify-between items-center">
|
315 |
+
<span class="text-sm text-blue-600 font-semibold">
|
316 |
+
<i class="fas fa-arrow-up price-trend-up mr-1"></i> First price increase in 2 years
|
317 |
+
</span>
|
318 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
319 |
+
Read More <i class="fas fa-chevron-right ml-1"></i>
|
320 |
+
</button>
|
321 |
+
</div>
|
322 |
+
</div>
|
323 |
+
</div>
|
324 |
+
|
325 |
+
<!-- News Card 3 -->
|
326 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
327 |
+
<div class="p-5">
|
328 |
+
<div class="flex items-center mb-3">
|
329 |
+
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full mr-2">UPDATE</span>
|
330 |
+
<span class="text-gray-500 text-sm">May 5, 2023</span>
|
331 |
+
</div>
|
332 |
+
<h3 class="font-bold text-lg mb-2">New E-Bike Fleet Added</h3>
|
333 |
+
<p class="text-gray-600 mb-4">200 electric-assist bikes now available at 30 stations across downtown.</p>
|
334 |
+
<div class="flex justify-between items-center">
|
335 |
+
<span class="text-sm text-blue-600 font-semibold">
|
336 |
+
<i class="fas fa-bolt mr-1"></i> $1.00 per 30min extra
|
337 |
+
</span>
|
338 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
339 |
+
Read More <i class="fas fa-chevron-right ml-1"></i>
|
340 |
+
</button>
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
</div>
|
344 |
+
|
345 |
+
<!-- News Card 4 -->
|
346 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
347 |
+
<div class="p-5">
|
348 |
+
<div class="flex items-center mb-3">
|
349 |
+
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full mr-2">TREND</span>
|
350 |
+
<span class="text-gray-500 text-sm">April 28, 2023</span>
|
351 |
+
</div>
|
352 |
+
<h3 class="font-bold text-lg mb-2">Ridership Hits Record High</h3>
|
353 |
+
<p class="text-gray-600 mb-4">March saw 12% more rides than previous record, with average trip duration decreasing.</p>
|
354 |
+
<div class="flex justify-between items-center">
|
355 |
+
<span class="text-sm text-blue-600 font-semibold">
|
356 |
+
<i class="fas fa-arrow-down price-trend-down mr-1"></i> 8% fewer empty docks
|
357 |
+
</span>
|
358 |
+
<button class="text-blue-600 text-sm font-semibold hover:text-blue-800">
|
359 |
+
Read More <i class="fas fa-chevron-right ml-1"></i>
|
360 |
+
</button>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
</div>
|
365 |
+
</section>
|
366 |
+
</main>
|
367 |
+
|
368 |
+
<!-- Footer -->
|
369 |
+
<footer class="bg-gray-800 text-white py-12">
|
370 |
+
<div class="container mx-auto px-4">
|
371 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
372 |
+
<div>
|
373 |
+
<h3 class="font-bold text-lg mb-4">Metro Bike Share</h3>
|
374 |
+
<p class="text-gray-400">Real-time tracking and analytics for Los Angeles' bike share system.</p>
|
375 |
+
<div class="mt-4 flex space-x-4">
|
376 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
|
377 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook"></i></a>
|
378 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
|
379 |
+
</div>
|
380 |
+
</div>
|
381 |
+
<div>
|
382 |
+
<h3 class="font-bold text-lg mb-4">Quick Links</h3>
|
383 |
+
<ul class="space-y-2">
|
384 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Live Map</a></li>
|
385 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Station List</a></li>
|
386 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Pricing</a></li>
|
387 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Membership</a></li>
|
388 |
+
</ul>
|
389 |
+
</div>
|
390 |
+
<div>
|
391 |
+
<h3 class="font-bold text-lg mb-4">Resources</h3>
|
392 |
+
<ul class="space-y-2">
|
393 |
+
<li><a href="#" class="text-gray-400 hover:text-white">API Documentation</a></li>
|
394 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Developer Portal</a></li>
|
395 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Data Downloads</a></li>
|
396 |
+
<li><a href="#" class="text-gray-400 hover:text-white">System Map</a></li>
|
397 |
+
</ul>
|
398 |
+
</div>
|
399 |
+
<div>
|
400 |
+
<h3 class="font-bold text-lg mb-4">Contact</h3>
|
401 |
+
<ul class="space-y-2">
|
402 |
+
<li class="flex items-center">
|
403 |
+
<i class="fas fa-envelope text-gray-400 mr-2"></i>
|
404 |
+
<a href="mailto:[email protected]" class="text-gray-400 hover:text-white">[email protected]</a>
|
405 |
+
</li>
|
406 |
+
<li class="flex items-center">
|
407 |
+
<i class="fas fa-phone text-gray-400 mr-2"></i>
|
408 |
+
<span class="text-gray-400">(213) 555-1234</span>
|
409 |
+
</li>
|
410 |
+
<li class="flex items-center">
|
411 |
+
<i class="fas fa-map-marker-alt text-gray-400 mr-2"></i>
|
412 |
+
<span class="text-gray-400">Los Angeles, CA</span>
|
413 |
+
</li>
|
414 |
+
</ul>
|
415 |
+
</div>
|
416 |
+
</div>
|
417 |
+
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
|
418 |
+
<p>© 2023 Metro Bike Share Tracker. Not affiliated with Metro Los Angeles.</p>
|
419 |
+
</div>
|
420 |
+
</div>
|
421 |
+
</footer>
|
422 |
+
|
423 |
+
<script>
|
424 |
+
// System Availability Chart
|
425 |
+
const availabilityCtx = document.getElementById('availabilityChart').getContext('2d');
|
426 |
+
const availabilityChart = new Chart(availabilityCtx, {
|
427 |
+
type: 'line',
|
428 |
+
data: {
|
429 |
+
labels: ['6am', '9am', '12pm', '3pm', '6pm', '9pm', '12am'],
|
430 |
+
datasets: [
|
431 |
+
{
|
432 |
+
label: 'Bikes Available',
|
433 |
+
data: [850, 620, 780, 950, 1120, 980, 820],
|
434 |
+
borderColor: '#3b82f6',
|
435 |
+
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
436 |
+
tension: 0.3,
|
437 |
+
fill: true
|
438 |
+
},
|
439 |
+
{
|
440 |
+
label: 'Docks Available',
|
441 |
+
data: [450, 680, 520, 350, 180, 320, 480],
|
442 |
+
borderColor: '#10b981',
|
443 |
+
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
444 |
+
tension: 0.3,
|
445 |
+
fill: true
|
446 |
+
}
|
447 |
+
]
|
448 |
+
},
|
449 |
+
options: {
|
450 |
+
responsive: true,
|
451 |
+
plugins: {
|
452 |
+
legend: {
|
453 |
+
position: 'top',
|
454 |
+
},
|
455 |
+
tooltip: {
|
456 |
+
mode: 'index',
|
457 |
+
intersect: false,
|
458 |
+
}
|
459 |
+
},
|
460 |
+
scales: {
|
461 |
+
y: {
|
462 |
+
beginAtZero: true,
|
463 |
+
title: {
|
464 |
+
display: true,
|
465 |
+
text: 'Number Available'
|
466 |
+
}
|
467 |
+
}
|
468 |
+
}
|
469 |
+
}
|
470 |
+
});
|
471 |
+
|
472 |
+
// Pricing Trend Chart
|
473 |
+
const pricingCtx = document.getElementById('pricingTrendChart').getContext('2d');
|
474 |
+
const pricingChart = new Chart(pricingCtx, {
|
475 |
+
type: 'bar',
|
476 |
+
data: {
|
477 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
|
478 |
+
datasets: [
|
479 |
+
{
|
480 |
+
label: 'Walk-Up Rate',
|
481 |
+
data: [3.50, 3.50, 3.50, 3.50, 3.50, 4.00],
|
482 |
+
backgroundColor: 'rgba(59, 130, 246, 0.7)',
|
483 |
+
borderColor: 'rgba(59, 130, 246, 1)',
|
484 |
+
borderWidth: 1
|
485 |
+
},
|
486 |
+
{
|
487 |
+
label: 'Monthly Pass',
|
488 |
+
data: [17.00, 17.00, 17.00, 17.00, 17.00, 17.00],
|
489 |
+
backgroundColor: 'rgba(16, 185, 129, 0.7)',
|
490 |
+
borderColor: 'rgba(16, 185, 129, 1)',
|
491 |
+
borderWidth: 1
|
492 |
+
}
|
493 |
+
]
|
494 |
+
},
|
495 |
+
options: {
|
496 |
+
responsive: true,
|
497 |
+
plugins: {
|
498 |
+
legend: {
|
499 |
+
position: 'top',
|
500 |
+
},
|
501 |
+
tooltip: {
|
502 |
+
callbacks: {
|
503 |
+
label: function(context) {
|
504 |
+
return context.dataset.label + ': $' + context.raw.toFixed(2);
|
505 |
+
}
|
506 |
+
}
|
507 |
+
},
|
508 |
+
annotation: {
|
509 |
+
annotations: {
|
510 |
+
line1: {
|
511 |
+
type: 'line',
|
512 |
+
yMin: 3.50,
|
513 |
+
yMax: 3.50,
|
514 |
+
borderColor: 'rgb(255, 99, 132)',
|
515 |
+
borderWidth: 2,
|
516 |
+
label: {
|
517 |
+
content: 'Price increase coming',
|
518 |
+
enabled: true
|
519 |
+
}
|
520 |
+
}
|
521 |
+
}
|
522 |
+
}
|
523 |
+
},
|
524 |
+
scales: {
|
525 |
+
y: {
|
526 |
+
beginAtZero: true,
|
527 |
+
title: {
|
528 |
+
display: true,
|
529 |
+
text: 'Price ($)'
|
530 |
+
},
|
531 |
+
ticks: {
|
532 |
+
callback: function(value) {
|
533 |
+
return '$' + value;
|
534 |
+
}
|
535 |
+
}
|
536 |
+
}
|
537 |
+
}
|
538 |
+
}
|
539 |
+
});
|
540 |
+
|
541 |
+
// Simulate live data updates
|
542 |
+
function updateLiveData() {
|
543 |
+
// Randomly update availability numbers
|
544 |
+
const bikeNumbers = document.querySelectorAll('.station-card .text-2xl:first-child');
|
545 |
+
bikeNumbers.forEach(el => {
|
546 |
+
const current = parseInt(el.textContent);
|
547 |
+
const change = Math.floor(Math.random() * 3) - 1; // -1, 0, or 1
|
548 |
+
const newVal = Math.max(0, current + change);
|
549 |
+
el.textContent = newVal;
|
550 |
+
|
551 |
+
// Update card border color based on availability
|
552 |
+
const card = el.closest('.station-card');
|
553 |
+
card.classList.remove('availability-high', 'availability-medium', 'availability-low');
|
554 |
+
if (newVal === 0) {
|
555 |
+
card.classList.add('availability-low');
|
556 |
+
} else if (newVal < 5) {
|
557 |
+
card.classList.add('availability-medium');
|
558 |
+
} else {
|
559 |
+
card.classList.add('availability-high');
|
560 |
+
}
|
561 |
+
});
|
562 |
+
|
563 |
+
// Update timestamps
|
564 |
+
const timestamps = document.querySelectorAll('.text-sm.text-gray-600');
|
565 |
+
timestamps.forEach(el => {
|
566 |
+
const mins = Math.floor(Math.random() * 10);
|
567 |
+
el.textContent = `Updated ${mins} min ago`;
|
568 |
+
});
|
569 |
+
}
|
570 |
+
|
571 |
+
// Update every 30 seconds
|
572 |
+
setInterval(updateLiveData, 30000);
|
573 |
+
</script>
|
574 |
+
<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=privateuserh/plusbykes" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
575 |
+
</html>
|