Skip to content

Conversation

@tuckergordon
Copy link
Owner

Adds a lottery table which displays the lottery standings using max pf.
For now, I just have all the traded picks hard coded as an object:

const TRADED_FIRSTS = {
  devspiel: 'tgordon18',
  benstone099: 'nachocamacho',
  tgordon18: 'BrianEvans',
  julianpdx: 'ConQD',
  Crams_Clams: 'nachocamacho',
  DanBrownOnTrail: 'jseibert',
}

Eventually, we'll want this to be stored in the database so we can query
it for a given week.

An unfortunate consequence of this setup is that the traded picks don't have any information about when they were traded, so old posts will show trades that haven't actually happened yet

Moved the standings function into its own file so it works sort of like
a component, even though it's just a JS functinon that returns html.
Adds a lottery table which displays the lottery standings using max pf.
For now, I just have all the traded picks hard coded as an object:

```
const TRADED_FIRSTS = {
  devspiel: 'tgordon18',
  benstone099: 'nachocamacho',
  tgordon18: 'BrianEvans',
  julianpdx: 'ConQD',
  Crams_Clams: 'nachocamacho',
  DanBrownOnTrail: 'jseibert',
}
```

Eventually, we'll want this to be stored in the database so we can query
it for a given week.
@vercel
Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mmish ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 7:41pm
mmish-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 7:41pm

@tuckergordon tuckergordon merged commit 8a0e40e into main Dec 8, 2024
4 checks passed
@tuckergordon tuckergordon deleted the lottery branch December 8, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants