Commit Graph

27 Commits

Author SHA1 Message Date
jahooma
e8f94f48e2 Update bet UI with market summary and computed columns 2021-12-15 16:58:38 -06:00
mantikoros
3ee03ffcba bet panel: error handling 2021-12-15 12:44:51 -06:00
Austin Chen
4bf739e06d Tweak bet page UI 2021-12-15 01:07:18 -08:00
jahooma
fda5013bf8 Simple bets list 2021-12-15 01:41:56 -06:00
jahooma
504053dde9 Right align bet input amount. Fix panel layout 2021-12-14 18:38:11 -06:00
jahooma
c3bfe6b058 Show balance in bet panel 2021-12-14 18:24:49 -06:00
jahooma
c0ec7ff3f1 Show error when bet exceeds balance. Don't allow bet number to get into exponential notation. 2021-12-14 18:09:05 -06:00
Austin Chen
b6c5ad730a Add a loading spinner on submission 2021-12-14 01:07:11 -08:00
jahooma
8d7f512248 More layout / style tweaks 2021-12-13 22:54:51 -06:00
jahooma
7e08a68799 Clear bet input on submit 2021-12-13 18:00:10 -06:00
Austin Chen
ad6049350d Visually clean up bet panel 2021-12-13 10:37:20 -08:00
jahooma
45640feb81 Add large percent chance indicator. Use primary color instead of green. Round current probability. 2021-12-12 16:51:44 -06:00
jahooma
7ef00d085f Fix tailwind theme to not override previous font families. 2021-12-12 16:37:59 -06:00
jahooma
b216236503 Graph bets by afterProb. 2021-12-12 16:14:52 -06:00
jahooma
29e13497bf Add volume calculation. Remove new bet button that was unnecessary. 2021-12-10 22:09:32 -06:00
jahooma
e253b3beca Make bet panel calculate bet info and display it. 2021-12-10 21:51:35 -06:00
Austin Chen
8867d841cb
Austin's opinions on theming (#6)
* Run prettier

* Fix package-lock

* Use an off-white background, darker text

* Use indigo for headings instead of green

* Add box shadows to all cards

* Remove unused component

* Extract out a title component

* Fix typo
2021-12-10 19:35:21 -08:00
Austin Chen
fb9a690707 Run prettier 2021-12-10 17:20:52 -08:00
mantikoros
0ce4b339d3 Merge branch 'functions' 2021-12-10 18:07:06 -06:00
mantikoros
d95bef8ab3 placeBet 2021-12-10 18:06:17 -06:00
jahooma
19e8406480 Change color scheme to be primary green (secondary purple, accent yellow). 2021-12-10 17:43:22 -06:00
jahooma
165f2ef3b5 Switch to light theme! 2021-12-10 16:56:26 -06:00
jahooma
e18e7548d5 Better layout on mobile for contract page 2021-12-10 12:52:11 -06:00
jahooma
77ce27f45f Submit bets to firestore 2021-12-10 11:14:05 -06:00
jahooma
f602561323 Tweak bet input to let you clear 0. 2021-12-10 10:04:59 -06:00
jahooma
ae8f7b76f5 Change from inputing shares to a points amount. Show average price and estimated winnings. 2021-12-10 09:51:48 -06:00
James Grugett
48a249eaa9
Contract page (#5)
* Add Firestore package and config

* Upload basic Firebase Auth code

* Basic ability to sign in and view profile

* Move html head content to Next's _document

* Apply dark theme to all DaisyUI components

* Add contract page

* Smaller width bet input

* Add some buttons

* Add Row, Col, and Spacer components

* Implement skeleton ContractPage

* Apply dark theme to all DaisyUI components

* Fix hooks lints (#3)

* Add background to bet panel

* Changes based on review comments

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2021-12-10 08:56:17 -06:00