Session 19: Sports design overhaul — player cards with headshots, game card redesign, scan page tonight's players, odds diagnostic logging, tier gate utility (1444 tests)

This commit is contained in:
Kev
2026-06-12 00:30:13 -04:00
parent 0e3839a90a
commit 56392ec8f4
12 changed files with 825 additions and 41 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ const CSP = [
"script-src 'self' 'unsafe-eval' 'unsafe-inline' https://js.stripe.com https://us-assets.i.posthog.com https://browser.sentry-cdn.com",
"style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
"font-src 'self' https://fonts.gstatic.com",
"img-src 'self' data: blob: https://*.supabase.co https://cdn.nba.com https://a.espncdn.com",
// Session 19 — broadened img-src for player headshots:
// cdn.wnba.com + img.mlbstatic.com are the league CDNs PrizePicks
// and Sleeper use; we use the same so coverage matches theirs.
"img-src 'self' data: blob: https://*.supabase.co https://cdn.nba.com https://cdn.wnba.com https://img.mlbstatic.com https://a.espncdn.com",
// Session 16 — Sentry browser client posts events to *.sentry.io
// (and *.ingest.sentry.io for the ingestion endpoints). Adding
// both forms so the @sentry/nextjs init in SentryInit.tsx can