Files
2026FIFAWorldCup/platform/web/app/odds/page.tsx

49 lines
2.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { OddsLineMovementChart } from '@/components/OddsLineMovementChart';
const samples = [
{ time: '12:00', bookmaker: 'Bet365', odds: 1.82 },
{ time: '12:30', bookmaker: 'Bet365', odds: 1.79 },
{ time: '13:00', bookmaker: 'Bet365', odds: 1.84 },
{ time: '12:00', bookmaker: 'Pinnacle', odds: 1.8 },
{ time: '12:30', bookmaker: 'Pinnacle', odds: 1.77 },
{ time: '13:00', bookmaker: 'Pinnacle', odds: 1.85 },
{ time: '12:00', bookmaker: 'DraftKings', odds: 1.83 },
{ time: '12:30', bookmaker: 'DraftKings', odds: 1.81 },
{ time: '13:00', bookmaker: 'DraftKings', odds: 1.8 },
];
export default function OddsPage() {
return (
<div className="space-y-4">
<h2 className="dot-matrix text-2xl text-[#7d2a15]"></h2>
<section className="panel-glow rounded-2xl p-5">
<p className="text-sm text-[#7a5b46]"> odds API Redis </p>
<div className="mt-5 overflow-auto rounded-xl border border-[#d8b58c] bg-white/65">
<table className="min-w-full text-sm">
<thead>
<tr className="bg-[#f3e3ca] text-left">
<th className="px-3 py-2"></th>
<th className="px-3 py-2">Bet365</th>
<th className="px-3 py-2">Pinnacle</th>
<th className="px-3 py-2">DraftKings</th>
<th className="px-3 py-2"></th>
</tr>
</thead>
<tbody>
<tr>
<td className="px-3 py-2"> vs 西</td>
<td className="px-3 py-2">1.92</td>
<td className="px-3 py-2">1.90</td>
<td className="px-3 py-2">1.91</td>
<td className="px-3 py-2 text-emerald-700"></td>
</tr>
</tbody>
</table>
</div>
</section>
<OddsLineMovementChart data={samples} />
</div>
);
}