@devrongx/games 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrongx/games",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Game UI components for sports prediction markets",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.ts",
@@ -3,7 +3,7 @@
3
3
 
4
4
  import { useRef, useMemo, useEffect } from "react";
5
5
  import { motion } from "framer-motion";
6
- import { Calendar, MapPin, Loader2, Trophy, Zap } from "lucide-react";
6
+ import { Calendar, MapPin, Loader2, Trophy, Zap, Target, Users } from "lucide-react";
7
7
  import { useTDMatches } from "./useTDMatches";
8
8
  import type { ITDMatch } from "./types";
9
9
 
@@ -218,6 +218,30 @@ function MatchCard({ match }: { match: ITDMatch }) {
218
218
  ))}
219
219
  </div>
220
220
  )}
221
+
222
+ {/* Game modes */}
223
+ {!isCompleted && (
224
+ <div className="flex flex-col gap-1 mt-1 pt-1.5" style={{ borderTop: "1px solid rgba(255,255,255,0.06)" }}>
225
+ <div
226
+ className="flex items-center gap-1.5 px-2 py-1 rounded-lg"
227
+ style={{ background: "rgba(34,227,232,0.06)" }}
228
+ >
229
+ <Target size={9} style={{ color: "#22E3E8" }} />
230
+ <span className="text-[8px] barlowcondensedBold tracking-wide text-white">
231
+ Pre-Match Bets
232
+ </span>
233
+ </div>
234
+ <div
235
+ className="flex items-center gap-1.5 px-2 py-1 rounded-lg"
236
+ style={{ background: "rgba(153,69,255,0.06)" }}
237
+ >
238
+ <Users size={9} style={{ color: "#9945FF" }} />
239
+ <span className="text-[8px] barlowcondensedBold tracking-wide text-white">
240
+ Fantasy 11
241
+ </span>
242
+ </div>
243
+ </div>
244
+ )}
221
245
  </div>
222
246
  </div>
223
247
  );