eddieor commited on
Commit
c58e478
·
verified ·
1 Parent(s): 238becf

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +920 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Softball Team Manager
3
- emoji: 🌖
4
- colorFrom: indigo
5
- colorTo: yellow
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: softball-team-manager
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
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,920 @@
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>Dugout Dashboard - Softball Team Manager</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
12
+ }
13
+ .player-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
16
+ }
17
+ .message-bubble {
18
+ max-width: 70%;
19
+ border-radius: 1rem;
20
+ }
21
+ .message-bubble.sent {
22
+ background-color: #2563eb;
23
+ color: white;
24
+ margin-left: auto;
25
+ border-bottom-right-radius: 0.25rem;
26
+ }
27
+ .message-bubble.received {
28
+ background-color: #e5e7eb;
29
+ color: #1f2937;
30
+ margin-right: auto;
31
+ border-bottom-left-radius: 0.25rem;
32
+ }
33
+ .stat-bar {
34
+ height: 0.5rem;
35
+ border-radius: 0.25rem;
36
+ background-color: #e5e7eb;
37
+ }
38
+ .stat-fill {
39
+ height: 100%;
40
+ border-radius: 0.25rem;
41
+ background-color: #2563eb;
42
+ }
43
+ .tab-content {
44
+ display: none;
45
+ }
46
+ .tab-content.active {
47
+ display: block;
48
+ animation: fadeIn 0.3s ease-in-out;
49
+ }
50
+ @keyframes fadeIn {
51
+ from { opacity: 0; }
52
+ to { opacity: 1; }
53
+ }
54
+ .calendar-day {
55
+ transition: all 0.2s ease;
56
+ }
57
+ .calendar-day:hover {
58
+ background-color: #dbeafe;
59
+ }
60
+ .calendar-day.game-day {
61
+ background-color: #bfdbfe;
62
+ }
63
+ .calendar-day.selected {
64
+ background-color: #3b82f6;
65
+ color: white;
66
+ }
67
+ </style>
68
+ </head>
69
+ <body class="bg-gray-50 font-sans">
70
+ <div class="min-h-screen flex flex-col">
71
+ <!-- Header -->
72
+ <header class="gradient-bg text-white shadow-lg">
73
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
74
+ <div class="flex items-center space-x-3">
75
+ <i class="fas fa-baseball-ball text-2xl"></i>
76
+ <h1 class="text-2xl font-bold">Dugout Dashboard</h1>
77
+ </div>
78
+ <div class="flex items-center space-x-4">
79
+ <div class="relative">
80
+ <i class="fas fa-bell text-xl cursor-pointer"></i>
81
+ <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>
82
+ </div>
83
+ <div class="flex items-center space-x-2">
84
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="h-8 w-8 rounded-full border-2 border-white">
85
+ <span class="font-medium">Coach Mike</span>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </header>
90
+
91
+ <!-- Main Content -->
92
+ <main class="flex-1 container mx-auto px-4 py-6">
93
+ <div class="flex flex-col lg:flex-row gap-6">
94
+ <!-- Sidebar -->
95
+ <aside class="w-full lg:w-64 flex-shrink-0">
96
+ <div class="bg-white rounded-lg shadow-md p-4 mb-6">
97
+ <h2 class="text-lg font-semibold mb-4 text-gray-800">Team Roster</h2>
98
+ <div class="space-y-3">
99
+ <div class="flex items-center space-x-3 p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
100
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-10 w-10 rounded-full">
101
+ <div>
102
+ <p class="font-medium">Sarah Johnson</p>
103
+ <p class="text-xs text-gray-500">Pitcher</p>
104
+ </div>
105
+ </div>
106
+ <div class="flex items-center space-x-3 p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
107
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Player" class="h-10 w-10 rounded-full">
108
+ <div>
109
+ <p class="font-medium">Alex Rodriguez</p>
110
+ <p class="text-xs text-gray-500">Shortstop</p>
111
+ </div>
112
+ </div>
113
+ <div class="flex items-center space-x-3 p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
114
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Player" class="h-10 w-10 rounded-full">
115
+ <div>
116
+ <p class="font-medium">Jamie Smith</p>
117
+ <p class="text-xs text-gray-500">Catcher</p>
118
+ </div>
119
+ </div>
120
+ <div class="flex items-center space-x-3 p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
121
+ <img src="https://randomuser.me/api/portraits/men/22.jpg" alt="Player" class="h-10 w-10 rounded-full">
122
+ <div>
123
+ <p class="font-medium">Chris Taylor</p>
124
+ <p class="text-xs text-gray-500">Outfield</p>
125
+ </div>
126
+ </div>
127
+ <button class="w-full mt-2 bg-blue-100 text-blue-600 py-2 rounded-lg font-medium hover:bg-blue-200 transition">
128
+ <i class="fas fa-plus mr-2"></i> Add Player
129
+ </button>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="bg-white rounded-lg shadow-md p-4">
134
+ <h2 class="text-lg font-semibold mb-4 text-gray-800">Quick Stats</h2>
135
+ <div class="space-y-4">
136
+ <div>
137
+ <div class="flex justify-between text-sm mb-1">
138
+ <span>Team Batting Avg</span>
139
+ <span>.287</span>
140
+ </div>
141
+ <div class="stat-bar">
142
+ <div class="stat-fill" style="width: 28.7%"></div>
143
+ </div>
144
+ </div>
145
+ <div>
146
+ <div class="flex justify-between text-sm mb-1">
147
+ <span>Win Percentage</span>
148
+ <span>65%</span>
149
+ </div>
150
+ <div class="stat-bar">
151
+ <div class="stat-fill" style="width: 65%"></div>
152
+ </div>
153
+ </div>
154
+ <div>
155
+ <div class="flex justify-between text-sm mb-1">
156
+ <span>Attendance Rate</span>
157
+ <span>82%</span>
158
+ </div>
159
+ <div class="stat-bar">
160
+ <div class="stat-fill" style="width: 82%"></div>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ </aside>
166
+
167
+ <!-- Main Panel -->
168
+ <div class="flex-1">
169
+ <!-- Tabs Navigation -->
170
+ <div class="bg-white rounded-lg shadow-md mb-6">
171
+ <div class="flex border-b">
172
+ <button onclick="switchTab('dashboard')" class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-blue-600 border-b-2 border-transparent hover:border-blue-500 transition active">
173
+ <i class="fas fa-home mr-2"></i> Dashboard
174
+ </button>
175
+ <button onclick="switchTab('leaderboard')" class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-blue-600 border-b-2 border-transparent hover:border-blue-500 transition">
176
+ <i class="fas fa-trophy mr-2"></i> Leaderboard
177
+ </button>
178
+ <button onclick="switchTab('stats')" class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-blue-600 border-b-2 border-transparent hover:border-blue-500 transition">
179
+ <i class="fas fa-chart-bar mr-2"></i> Stats
180
+ </button>
181
+ <button onclick="switchTab('schedule')" class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-blue-600 border-b-2 border-transparent hover:border-blue-500 transition">
182
+ <i class="fas fa-calendar-alt mr-2"></i> Schedule
183
+ </button>
184
+ <button onclick="switchTab('messages')" class="tab-button px-6 py-3 font-medium text-gray-600 hover:text-blue-600 border-b-2 border-transparent hover:border-blue-500 transition">
185
+ <i class="fas fa-comments mr-2"></i> Messages
186
+ <span class="ml-1 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">5</span>
187
+ </button>
188
+ </div>
189
+ </div>
190
+
191
+ <!-- Tab Contents -->
192
+ <div id="dashboard" class="tab-content active">
193
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-6">
194
+ <!-- Upcoming Game Card -->
195
+ <div class="bg-white rounded-lg shadow-md p-6">
196
+ <div class="flex justify-between items-center mb-4">
197
+ <h3 class="text-lg font-semibold text-gray-800">Next Game</h3>
198
+ <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded-full">Tomorrow</span>
199
+ </div>
200
+ <div class="flex items-center justify-between mb-4">
201
+ <div class="text-center">
202
+ <img src="https://via.placeholder.com/50" alt="Team Logo" class="h-12 w-12 mx-auto mb-1">
203
+ <p class="font-medium">Thunder</p>
204
+ </div>
205
+ <div class="text-center">
206
+ <p class="text-2xl font-bold text-gray-800">VS</p>
207
+ <p class="text-xs text-gray-500">7:30 PM</p>
208
+ </div>
209
+ <div class="text-center">
210
+ <img src="https://via.placeholder.com/50/cccccc" alt="Team Logo" class="h-12 w-12 mx-auto mb-1">
211
+ <p class="font-medium">Lightning</p>
212
+ </div>
213
+ </div>
214
+ <div class="flex justify-between text-sm text-gray-600">
215
+ <span><i class="fas fa-map-marker-alt mr-1"></i> Central Park</span>
216
+ <span><i class="fas fa-users mr-1"></i> 8/12 confirmed</span>
217
+ </div>
218
+ </div>
219
+
220
+ <!-- Team Performance Card -->
221
+ <div class="bg-white rounded-lg shadow-md p-6">
222
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Season Performance</h3>
223
+ <div class="flex justify-between mb-3">
224
+ <div>
225
+ <p class="text-3xl font-bold text-gray-800">8-4</p>
226
+ <p class="text-sm text-gray-500">Win-Loss Record</p>
227
+ </div>
228
+ <div>
229
+ <p class="text-3xl font-bold text-gray-800">3</p>
230
+ <p class="text-sm text-gray-500">Win Streak</p>
231
+ </div>
232
+ <div>
233
+ <p class="text-3xl font-bold text-gray-800">2nd</p>
234
+ <p class="text-sm text-gray-500">Division Rank</p>
235
+ </div>
236
+ </div>
237
+ <div class="bg-gray-100 rounded-full h-2 mb-2">
238
+ <div class="bg-green-500 rounded-full h-2" style="width: 66%"></div>
239
+ </div>
240
+ <p class="text-right text-sm text-gray-600">66% win rate</p>
241
+ </div>
242
+
243
+ <!-- Quick Actions Card -->
244
+ <div class="bg-white rounded-lg shadow-md p-6">
245
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Quick Actions</h3>
246
+ <div class="grid grid-cols-2 gap-3">
247
+ <button class="bg-blue-50 text-blue-600 py-2 px-3 rounded-lg flex items-center justify-center hover:bg-blue-100 transition">
248
+ <i class="fas fa-calendar-plus mr-2"></i> Add Game
249
+ </button>
250
+ <button class="bg-green-50 text-green-600 py-2 px-3 rounded-lg flex items-center justify-center hover:bg-green-100 transition">
251
+ <i class="fas fa-user-plus mr-2"></i> Add Player
252
+ </button>
253
+ <button class="bg-purple-50 text-purple-600 py-2 px-3 rounded-lg flex items-center justify-center hover:bg-purple-100 transition">
254
+ <i class="fas fa-file-invoice-dollar mr-2"></i> Collect Dues
255
+ </button>
256
+ <button class="bg-yellow-50 text-yellow-600 py-2 px-3 rounded-lg flex items-center justify-center hover:bg-yellow-100 transition">
257
+ <i class="fas fa-bullhorn mr-2"></i> Announcement
258
+ </button>
259
+ </div>
260
+ </div>
261
+ </div>
262
+
263
+ <div class="bg-white rounded-lg shadow-md p-6 mb-6">
264
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Activity</h3>
265
+ <div class="space-y-4">
266
+ <div class="flex items-start space-x-3">
267
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Player" class="h-10 w-10 rounded-full">
268
+ <div>
269
+ <p class="font-medium">Alex Rodriguez</p>
270
+ <p class="text-sm text-gray-600">Updated batting stats: now hitting .312</p>
271
+ <p class="text-xs text-gray-400">2 hours ago</p>
272
+ </div>
273
+ </div>
274
+ <div class="flex items-start space-x-3">
275
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Player" class="h-10 w-10 rounded-full">
276
+ <div>
277
+ <p class="font-medium">Jamie Smith</p>
278
+ <p class="text-sm text-gray-600">Confirmed attendance for next game</p>
279
+ <p class="text-xs text-gray-400">5 hours ago</p>
280
+ </div>
281
+ </div>
282
+ <div class="flex items-start space-x-3">
283
+ <i class="fas fa-calendar text-blue-500 text-xl mt-1"></i>
284
+ <div>
285
+ <p class="font-medium">Schedule Update</p>
286
+ <p class="text-sm text-gray-600">Game on June 15th has been rescheduled</p>
287
+ <p class="text-xs text-gray-400">Yesterday</p>
288
+ </div>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+
294
+ <!-- Leaderboard Tab -->
295
+ <div id="leaderboard" class="tab-content">
296
+ <div class="bg-white rounded-lg shadow-md p-6 mb-6">
297
+ <div class="flex justify-between items-center mb-6">
298
+ <h3 class="text-xl font-semibold text-gray-800">Season Leaderboard</h3>
299
+ <div class="flex space-x-2">
300
+ <select class="bg-gray-100 border-0 rounded-lg px-3 py-2 text-sm">
301
+ <option>All Stats</option>
302
+ <option>Batting</option>
303
+ <option>Pitching</option>
304
+ <option>Fielding</option>
305
+ </select>
306
+ <select class="bg-gray-100 border-0 rounded-lg px-3 py-2 text-sm">
307
+ <option>Season 2023</option>
308
+ <option>Season 2022</option>
309
+ <option>Season 2021</option>
310
+ </select>
311
+ </div>
312
+ </div>
313
+
314
+ <div class="overflow-x-auto">
315
+ <table class="min-w-full divide-y divide-gray-200">
316
+ <thead class="bg-gray-50">
317
+ <tr>
318
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Player</th>
319
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">AVG</th>
320
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">HR</th>
321
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">RBI</th>
322
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">R</th>
323
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">SB</th>
324
+ </tr>
325
+ </thead>
326
+ <tbody class="bg-white divide-y divide-gray-200">
327
+ <tr class="hover:bg-gray-50">
328
+ <td class="px-6 py-4 whitespace-nowrap">
329
+ <div class="flex items-center">
330
+ <div class="flex-shrink-0 h-10 w-10">
331
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
332
+ </div>
333
+ <div class="ml-4">
334
+ <div class="text-sm font-medium text-gray-900">Sarah Johnson</div>
335
+ <div class="text-sm text-gray-500">Pitcher</div>
336
+ </div>
337
+ </div>
338
+ </td>
339
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">.312</td>
340
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">4</td>
341
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">18</td>
342
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">15</td>
343
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
344
+ </tr>
345
+ <tr class="hover:bg-gray-50">
346
+ <td class="px-6 py-4 whitespace-nowrap">
347
+ <div class="flex items-center">
348
+ <div class="flex-shrink-0 h-10 w-10">
349
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
350
+ </div>
351
+ <div class="ml-4">
352
+ <div class="text-sm font-medium text-gray-900">Alex Rodriguez</div>
353
+ <div class="text-sm text-gray-500">Shortstop</div>
354
+ </div>
355
+ </div>
356
+ </td>
357
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">.298</td>
358
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">3</td>
359
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">16</td>
360
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">20</td>
361
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">5</td>
362
+ </tr>
363
+ <tr class="hover:bg-gray-50">
364
+ <td class="px-6 py-4 whitespace-nowrap">
365
+ <div class="flex items-center">
366
+ <div class="flex-shrink-0 h-10 w-10">
367
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
368
+ </div>
369
+ <div class="ml-4">
370
+ <div class="text-sm font-medium text-gray-900">Jamie Smith</div>
371
+ <div class="text-sm text-gray-500">Catcher</div>
372
+ </div>
373
+ </div>
374
+ </td>
375
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">.287</td>
376
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">2</td>
377
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">14</td>
378
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">12</td>
379
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
380
+ </tr>
381
+ <tr class="hover:bg-gray-50">
382
+ <td class="px-6 py-4 whitespace-nowrap">
383
+ <div class="flex items-center">
384
+ <div class="flex-shrink-0 h-10 w-10">
385
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/22.jpg" alt="">
386
+ </div>
387
+ <div class="ml-4">
388
+ <div class="text-sm font-medium text-gray-900">Chris Taylor</div>
389
+ <div class="text-sm text-gray-500">Outfield</div>
390
+ </div>
391
+ </div>
392
+ </td>
393
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">.275</td>
394
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1</td>
395
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">10</td>
396
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">11</td>
397
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">3</td>
398
+ </tr>
399
+ </tbody>
400
+ </table>
401
+ </div>
402
+ </div>
403
+
404
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
405
+ <!-- Top Performers Card -->
406
+ <div class="bg-white rounded-lg shadow-md p-6">
407
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Top Performers</h3>
408
+ <div class="space-y-4">
409
+ <div class="flex items-center justify-between">
410
+ <div class="flex items-center space-x-3">
411
+ <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-0.5 rounded">1st</span>
412
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full">
413
+ <span class="font-medium">Sarah Johnson</span>
414
+ </div>
415
+ <span class="text-sm font-medium text-gray-600">.312 AVG</span>
416
+ </div>
417
+ <div class="flex items-center justify-between">
418
+ <div class="flex items-center space-x-3">
419
+ <span class="bg-gray-100 text-gray-800 text-xs font-medium px-2 py-0.5 rounded">2nd</span>
420
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Player" class="h-8 w-8 rounded-full">
421
+ <span class="font-medium">Alex Rodriguez</span>
422
+ </div>
423
+ <span class="text-sm font-medium text-gray-600">5 SB</span>
424
+ </div>
425
+ <div class="flex items-center justify-between">
426
+ <div class="flex items-center space-x-3">
427
+ <span class="bg-amber-100 text-amber-800 text-xs font-medium px-2 py-0.5 rounded">3rd</span>
428
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Player" class="h-8 w-8 rounded-full">
429
+ <span class="font-medium">Jamie Smith</span>
430
+ </div>
431
+ <span class="text-sm font-medium text-gray-600">14 RBI</span>
432
+ </div>
433
+ </div>
434
+ </div>
435
+
436
+ <!-- Awards Card -->
437
+ <div class="bg-white rounded-lg shadow-md p-6">
438
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Team Awards</h3>
439
+ <div class="space-y-4">
440
+ <div class="flex items-center space-x-3">
441
+ <i class="fas fa-trophy text-yellow-500 text-xl"></i>
442
+ <div>
443
+ <p class="font-medium">Player of the Month</p>
444
+ <p class="text-sm text-gray-600">Sarah Johnson (June)</p>
445
+ </div>
446
+ </div>
447
+ <div class="flex items-center space-x-3">
448
+ <i class="fas fa-medal text-blue-500 text-xl"></i>
449
+ <div>
450
+ <p class="font-medium">Gold Glove</p>
451
+ <p class="text-sm text-gray-600">Alex Rodriguez</p>
452
+ </div>
453
+ </div>
454
+ <div class="flex items-center space-x-3">
455
+ <i class="fas fa-fire text-red-500 text-xl"></i>
456
+ <div>
457
+ <p class="font-medium">Hitting Streak</p>
458
+ <p class="text-sm text-gray-600">Jamie Smith (8 games)</p>
459
+ </div>
460
+ </div>
461
+ </div>
462
+ </div>
463
+ </div>
464
+ </div>
465
+
466
+ <!-- Stats Tab -->
467
+ <div id="stats" class="tab-content">
468
+ <div class="bg-white rounded-lg shadow-md p-6 mb-6">
469
+ <div class="flex justify-between items-center mb-6">
470
+ <h3 class="text-xl font-semibold text-gray-800">Player Statistics</h3>
471
+ <div class="flex space-x-3">
472
+ <button class="bg-blue-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-blue-700 transition">
473
+ <i class="fas fa-download mr-2"></i> Export
474
+ </button>
475
+ <button class="bg-gray-100 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-200 transition">
476
+ <i class="fas fa-filter mr-2"></i> Filters
477
+ </button>
478
+ </div>
479
+ </div>
480
+
481
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
482
+ <div class="bg-blue-50 p-4 rounded-lg">
483
+ <p class="text-sm text-blue-600 font-medium">Team Batting Avg</p>
484
+ <p class="text-2xl font-bold text-gray-800">.287</p>
485
+ <p class="text-xs text-gray-500">+0.012 from last week</p>
486
+ </div>
487
+ <div class="bg-green-50 p-4 rounded-lg">
488
+ <p class="text-sm text-green-600 font-medium">Team ERA</p>
489
+ <p class="text-2xl font-bold text-gray-800">3.42</p>
490
+ <p class="text-xs text-gray-500">-0.35 from last week</p>
491
+ </div>
492
+ <div class="bg-purple-50 p-4 rounded-lg">
493
+ <p class="text-sm text-purple-600 font-medium">Fielding %</p>
494
+ <p class="text-2xl font-bold text-gray-800">.962</p>
495
+ <p class="text-xs text-gray-500">+0.008 from last week</p>
496
+ </div>
497
+ <div class="bg-yellow-50 p-4 rounded-lg">
498
+ <p class="text-sm text-yellow-600 font-medium">Run Differential</p>
499
+ <p class="text-2xl font-bold text-gray-800">+18</p>
500
+ <p class="text-xs text-gray-500">+7 from last week</p>
501
+ </div>
502
+ </div>
503
+
504
+ <div class="mb-6">
505
+ <h4 class="text-md font-semibold text-gray-800 mb-3">Batting Leaders</h4>
506
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
507
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
508
+ <div class="flex justify-between items-start mb-2">
509
+ <div>
510
+ <p class="text-sm text-gray-500">Batting Average</p>
511
+ <p class="text-xl font-bold text-gray-800">.312</p>
512
+ </div>
513
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
514
+ </div>
515
+ <div class="flex items-center">
516
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
517
+ <span class="font-medium">Sarah Johnson</span>
518
+ </div>
519
+ </div>
520
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
521
+ <div class="flex justify-between items-start mb-2">
522
+ <div>
523
+ <p class="text-sm text-gray-500">Home Runs</p>
524
+ <p class="text-xl font-bold text-gray-800">4</p>
525
+ </div>
526
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
527
+ </div>
528
+ <div class="flex items-center">
529
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
530
+ <span class="font-medium">Sarah Johnson</span>
531
+ </div>
532
+ </div>
533
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
534
+ <div class="flex justify-between items-start mb-2">
535
+ <div>
536
+ <p class="text-sm text-gray-500">Runs Batted In</p>
537
+ <p class="text-xl font-bold text-gray-800">18</p>
538
+ </div>
539
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
540
+ </div>
541
+ <div class="flex items-center">
542
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
543
+ <span class="font-medium">Sarah Johnson</span>
544
+ </div>
545
+ </div>
546
+ </div>
547
+ </div>
548
+
549
+ <div>
550
+ <h4 class="text-md font-semibold text-gray-800 mb-3">Pitching Leaders</h4>
551
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
552
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
553
+ <div class="flex justify-between items-start mb-2">
554
+ <div>
555
+ <p class="text-sm text-gray-500">ERA</p>
556
+ <p class="text-xl font-bold text-gray-800">2.45</p>
557
+ </div>
558
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
559
+ </div>
560
+ <div class="flex items-center">
561
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
562
+ <span class="font-medium">Sarah Johnson</span>
563
+ </div>
564
+ </div>
565
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
566
+ <div class="flex justify-between items-start mb-2">
567
+ <div>
568
+ <p class="text-sm text-gray-500">Strikeouts</p>
569
+ <p class="text-xl font-bold text-gray-800">32</p>
570
+ </div>
571
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
572
+ </div>
573
+ <div class="flex items-center">
574
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
575
+ <span class="font-medium">Sarah Johnson</span>
576
+ </div>
577
+ </div>
578
+ <div class="bg-white border border-gray-200 rounded-lg p-4">
579
+ <div class="flex justify-between items-start mb-2">
580
+ <div>
581
+ <p class="text-sm text-gray-500">Wins</p>
582
+ <p class="text-xl font-bold text-gray-800">5</p>
583
+ </div>
584
+ <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Leader</span>
585
+ </div>
586
+ <div class="flex items-center">
587
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-8 w-8 rounded-full mr-2">
588
+ <span class="font-medium">Sarah Johnson</span>
589
+ </div>
590
+ </div>
591
+ </div>
592
+ </div>
593
+ </div>
594
+ </div>
595
+
596
+ <!-- Schedule Tab -->
597
+ <div id="schedule" class="tab-content">
598
+ <div class="bg-white rounded-lg shadow-md p-6 mb-6">
599
+ <div class="flex justify-between items-center mb-6">
600
+ <h3 class="text-xl font-semibold text-gray-800">Game Schedule</h3>
601
+ <button class="bg-blue-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-blue-700 transition">
602
+ <i class="fas fa-plus mr-2"></i> Add Game
603
+ </button>
604
+ </div>
605
+
606
+ <div class="mb-6">
607
+ <div class="flex justify-between items-center mb-4">
608
+ <div>
609
+ <h4 class="text-lg font-medium text-gray-800">June 2023</h4>
610
+ </div>
611
+ <div class="flex space-x-2">
612
+ <button class="p-2 rounded-full hover:bg-gray-100">
613
+ <i class="fas fa-chevron-left"></i>
614
+ </button>
615
+ <button class="p-2 rounded-full hover:bg-gray-100">
616
+ <i class="fas fa-chevron-right"></i>
617
+ </button>
618
+ <button class="bg-gray-100 text-gray-700 px-3 py-1 rounded-lg text-sm font-medium hover:bg-gray-200 transition">
619
+ Today
620
+ </button>
621
+ </div>
622
+ </div>
623
+
624
+ <div class="grid grid-cols-7 gap-1 mb-2">
625
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Sun</div>
626
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Mon</div>
627
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Tue</div>
628
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Wed</div>
629
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Thu</div>
630
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Fri</div>
631
+ <div class="text-center text-sm font-medium text-gray-500 py-2">Sat</div>
632
+ </div>
633
+
634
+ <div class="grid grid-cols-7 gap-1">
635
+ <div class="calendar-day text-center py-2 text-gray-400">28</div>
636
+ <div class="calendar-day text-center py-2 text-gray-400">29</div>
637
+ <div class="calendar-day text-center py-2 text-gray-400">30</div>
638
+ <div class="calendar-day text-center py-2 text-gray-400">31</div>
639
+ <div class="calendar-day text-center py-2">1</div>
640
+ <div class="calendar-day text-center py-2">2</div>
641
+ <div class="calendar-day text-center py-2">3</div>
642
+ <div class="calendar-day text-center py-2">4</div>
643
+ <div class="calendar-day text-center py-2">5</div>
644
+ <div class="calendar-day text-center py-2">6</div>
645
+ <div class="calendar-day game-day text-center py-2">
646
+ 7
647
+ <div class="text-xs mt-1 text-blue-600">7:30 PM</div>
648
+ </div>
649
+ <div class="calendar-day text-center py-2">8</div>
650
+ <div class="calendar-day text-center py-2">9</div>
651
+ <div class="calendar-day text-center py-2">10</div>
652
+ <div class="calendar-day text-center py-2">11</div>
653
+ <div class="calendar-day game-day text-center py-2">
654
+ 12
655
+ <div class="text-xs mt-1 text-blue-600">6:00 PM</div>
656
+ </div>
657
+ <div class="calendar-day text-center py-2">13</div>
658
+ <div class="calendar-day text-center py-2">14</div>
659
+ <div class="calendar-day game-day text-center py-2">
660
+ 15
661
+ <div class="text-xs mt-1 text-blue-600">8:00 PM</div>
662
+ </div>
663
+ <div class="calendar-day text-center py-2">16</div>
664
+ <div class="calendar-day text-center py-2">17</div>
665
+ <div class="calendar-day text-center py-2">18</div>
666
+ <div class="calendar-day text-center py-2">19</div>
667
+ <div class="calendar-day game-day text-center py-2">
668
+ 20
669
+ <div class="text-xs mt-1 text-blue-600">7:30 PM</div>
670
+ </div>
671
+ <div class="calendar-day text-center py-2">21</div>
672
+ <div class="calendar-day text-center py-2">22</div>
673
+ <div class="calendar-day text-center py-2">23</div>
674
+ <div class="calendar-day text-center py-2">24</div>
675
+ <div class="calendar-day text-center py-2">25</div>
676
+ <div class="calendar-day game-day text-center py-2">
677
+ 26
678
+ <div class="text-xs mt-1 text-blue-600">6:30 PM</div>
679
+ </div>
680
+ <div class="calendar-day text-center py-2">27</div>
681
+ <div class="calendar-day text-center py-2">28</div>
682
+ <div class="calendar-day text-center py-2">29</div>
683
+ <div class="calendar-day text-center py-2">30</div>
684
+ <div class="calendar-day text-center py-2 text-gray-400">1</div>
685
+ <div class="calendar-day text-center py-2 text-gray-400">2</div>
686
+ <div class="calendar-day text-center py-2 text-gray-400">3</div>
687
+ <div class="calendar-day text-center py-2 text-gray-400">4</div>
688
+ </div>
689
+ </div>
690
+
691
+ <div>
692
+ <h4 class="text-md font-semibold text-gray-800 mb-3">Upcoming Games</h4>
693
+ <div class="space-y-3">
694
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
695
+ <div class="flex items-center space-x-3">
696
+ <div class="text-center">
697
+ <p class="text-sm font-medium text-gray-500">JUN 7</p>
698
+ <p class="text-xs text-gray-400">7:30 PM</p>
699
+ </div>
700
+ <div>
701
+ <p class="font-medium">Thunder vs Lightning</p>
702
+ <p class="text-sm text-gray-600">Central Park - Field 2</p>
703
+ </div>
704
+ </div>
705
+ <div class="flex items-center space-x-2">
706
+ <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">8/12 confirmed</span>
707
+ <button class="text-blue-600 hover:text-blue-800">
708
+ <i class="fas fa-ellipsis-v"></i>
709
+ </button>
710
+ </div>
711
+ </div>
712
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
713
+ <div class="flex items-center space-x-3">
714
+ <div class="text-center">
715
+ <p class="text-sm font-medium text-gray-500">JUN 12</p>
716
+ <p class="text-xs text-gray-400">6:00 PM</p>
717
+ </div>
718
+ <div>
719
+ <p class="font-medium">Thunder vs Storm</p>
720
+ <p class="text-sm text-gray-600">Riverside Park - Field 1</p>
721
+ </div>
722
+ </div>
723
+ <div class="flex items-center space-x-2">
724
+ <span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">5/12 confirmed</span>
725
+ <button class="text-blue-600 hover:text-blue-800">
726
+ <i class="fas fa-ellipsis-v"></i>
727
+ </button>
728
+ </div>
729
+ </div>
730
+ <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
731
+ <div class="flex items-center space-x-3">
732
+ <div class="text-center">
733
+ <p class="text-sm font-medium text-gray-500">JUN 15</p>
734
+ <p class="text-xs text-gray-400">8:00 PM</p>
735
+ </div>
736
+ <div>
737
+ <p class="font-medium">Thunder vs Hurricanes</p>
738
+ <p class="text-sm text-gray-600">Memorial Field</p>
739
+ </div>
740
+ </div>
741
+ <div class="flex items-center space-x-2">
742
+ <span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded-full">3/12 confirmed</span>
743
+ <button class="text-blue-600 hover:text-blue-800">
744
+ <i class="fas fa-ellipsis-v"></i>
745
+ </button>
746
+ </div>
747
+ </div>
748
+ </div>
749
+ </div>
750
+ </div>
751
+ </div>
752
+
753
+ <!-- Messages Tab -->
754
+ <div id="messages" class="tab-content">
755
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
756
+ <div class="flex flex-col h-[600px]">
757
+ <!-- Messages Header -->
758
+ <div class="border-b p-4 flex justify-between items-center">
759
+ <div class="flex items-center space-x-3">
760
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Player" class="h-10 w-10 rounded-full">
761
+ <div>
762
+ <p class="font-medium">Team Chat</p>
763
+ <p class="text-xs text-gray-500">12 participants</p>
764
+ </div>
765
+ </div>
766
+ <div class="flex space-x-2">
767
+ <button class="p-2 text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded-full">
768
+ <i class="fas fa-phone"></i>
769
+ </button>
770
+ <button class="p-2 text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded-full">
771
+ <i class="fas fa-video"></i>
772
+ </button>
773
+ <button class="p-2 text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded-full">
774
+ <i class="fas fa-ellipsis-v"></i>
775
+ </button>
776
+ </div>
777
+ </div>
778
+
779
+ <!-- Messages Body -->
780
+ <div class="flex-1 p-4 overflow-y-auto bg-gray-50">
781
+ <div class="space-y-4">
782
+ <!-- Date Divider -->
783
+ <div class="flex justify-center">
784
+ <span class="bg-gray-200 text-gray-600 text-xs px-2 py-1 rounded-full">Today</span>
785
+ </div>
786
+
787
+ <!-- Received Message -->
788
+ <div class="flex space-x-2">
789
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Player" class="h-8 w-8 rounded-full flex-shrink-0">
790
+ <div>
791
+ <p class="text-xs font-medium text-gray-700 mb-1">Alex Rodriguez</p>
792
+ <div class="message-bubble received p-3">
793
+ <p>Hey team, just confirming - we're meeting at the field at 6:30 tomorrow, right?</p>
794
+ </div>
795
+ <p class="text-xs text-gray-400 mt-1">10:24 AM</p>
796
+ </div>
797
+ </div>
798
+
799
+ <!-- Sent Message -->
800
+ <div class="flex justify-end">
801
+ <div class="text-right">
802
+ <div class="message-bubble sent p-3">
803
+ <p>That's correct! Everyone please arrive by 6:30 for warmups.</p>
804
+ </div>
805
+ <p class="text-xs text-gray-400 mt-1">10:26 AM <i class="fas fa-check ml-1 text-blue-300"></i></p>
806
+ </div>
807
+ </div>
808
+
809
+ <!-- Received Message -->
810
+ <div class="flex space-x-2">
811
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Player" class="h-8 w-8 rounded-full flex-shrink-0">
812
+ <div>
813
+ <p class="text-xs font-medium text-gray-700 mb-1">Jamie Smith</p>
814
+ <div class="message-bubble received p-3">
815
+ <p>I'll be there! Can someone bring an extra bat? Mine cracked during practice.</p>
816
+ </div>
817
+ <p class="text-xs text-gray-400 mt-1">10:28 AM</p>
818
+ </div>
819
+ </div>
820
+
821
+ <!-- Sent Message -->
822
+ <div class="flex justify-end">
823
+ <div class="text-right">
824
+ <div class="message-bubble sent p-3">
825
+ <p>I've got an extra Easton you can use Jamie.</p>
826
+ </div>
827
+ <p class="text-xs text-gray-400 mt-1">10:29 AM <i class="fas fa-check ml-1 text-blue-300"></i></p>
828
+ </div>
829
+ </div>
830
+
831
+ <!-- Received Message -->
832
+ <div class="flex space-x-2">
833
+ <img src="https://randomuser.me/api/portraits/men/22.jpg" alt="Player" class="h-8 w-8 rounded-full flex-shrink-0">
834
+ <div>
835
+ <p class="text-xs font-medium text-gray-700 mb-1">Chris Taylor</p>
836
+ <div class="message-bubble received p-3">
837
+ <p>I might be running a little late - kid's soccer game ends at 6. I'll hustle over asap!</p>
838
+ </div>
839
+ <p class="text-xs text-gray-400 mt-1">10:31 AM</p>
840
+ </div>
841
+ </div>
842
+
843
+ <!-- Date Divider -->
844
+ <div class="flex justify-center mt-6">
845
+ <span class="bg-gray-200 text-gray-600 text-xs px-2 py-1 rounded-full">Yesterday</span>
846
+ </div>
847
+
848
+ <!-- Previous messages... -->
849
+ </div>
850
+ </div>
851
+
852
+ <!-- Message Input -->
853
+ <div class="border-t p-4 bg-white">
854
+ <div class="flex items-center space-x-2">
855
+ <button class="p-2 text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded-full">
856
+ <i class="fas fa-paperclip"></i>
857
+ </button>
858
+ <input type="text" placeholder="Type a message..." class="flex-1 border border-gray-300 rounded-full py-2 px-4 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent">
859
+ <button class="p-2 text-blue-600 hover:text-blue-800 hover:bg-blue-100 rounded-full">
860
+ <i class="fas fa-paper-plane"></i>
861
+ </button>
862
+ </div>
863
+ </div>
864
+ </div>
865
+ </div>
866
+ </div>
867
+ </div>
868
+ </div>
869
+ </main>
870
+
871
+ <!-- Footer -->
872
+ <footer class="bg-gray-100 border-t py-4">
873
+ <div class="container mx-auto px-4 text-center text-gray-600 text-sm">
874
+ <p>© 2023 Dugout Dashboard. All rights reserved.</p>
875
+ </div>
876
+ </footer>
877
+ </div>
878
+
879
+ <script>
880
+ // Tab switching functionality
881
+ function switchTab(tabId) {
882
+ // Hide all tab contents
883
+ document.querySelectorAll('.tab-content').forEach(tab => {
884
+ tab.classList.remove('active');
885
+ });
886
+
887
+ // Remove active class from all tab buttons
888
+ document.querySelectorAll('.tab-button').forEach(button => {
889
+ button.classList.remove('active');
890
+ });
891
+
892
+ // Show the selected tab content
893
+ document.getElementById(tabId).classList.add('active');
894
+
895
+ // Add active class to clicked tab button
896
+ event.currentTarget.classList.add('active');
897
+ }
898
+
899
+ // Calendar day selection
900
+ document.querySelectorAll('.calendar-day').forEach(day => {
901
+ day.addEventListener('click', function() {
902
+ document.querySelectorAll('.calendar-day').forEach(d => {
903
+ d.classList.remove('selected');
904
+ });
905
+ this.classList.add('selected');
906
+ });
907
+ });
908
+
909
+ // Sample data for charts (would be replaced with real data in production)
910
+ const battingStats = {
911
+ labels: ['Sarah', 'Alex', 'Jamie', 'Chris', 'Mike'],
912
+ data: [0.312, 0.298, 0.287, 0.275, 0.260]
913
+ };
914
+
915
+ // In a real app, you would fetch data from an API and render charts
916
+ // This is just a placeholder for the demo
917
+ console.log('Batting stats:', battingStats);
918
+ </script>
919
+ <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=eddieor/softball-team-manager" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
920
+ </html>