Commit Graph

571 Commits

Author SHA1 Message Date
jahooma
e253b3beca Make bet panel calculate bet info and display it. 2021-12-10 21:51:35 -06:00
mantikoros
62ea1bab15 placeBet: always run 1 instance 2021-12-10 21:45:05 -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
21e8ea6f07 remove contracts 2021-12-10 18:22:51 -06:00
mantikoros
52addd2eb3 show content only with ?demo 2021-12-10 18:19:50 -06:00
jahooma
3a5b59abc3 Turn off nextjs img lint rule 2021-12-10 18:18:43 -06:00
jahooma
0ea4736c37 Replacing Image components with img 2021-12-10 18:16:58 -06:00
mantikoros
0ce4b339d3 Merge branch 'functions' 2021-12-10 18:07:06 -06:00
jahooma
b067bc8ada Layout tweaks 2021-12-10 18:06:51 -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
3610ac8917 Delete vscode formatter settings for now 2021-12-10 14:12:16 -06:00
jahooma
e18e7548d5 Better layout on mobile for contract page 2021-12-10 12:52:11 -06:00
jahooma
b67c9bafc2 Merge branch 'main' into bet 2021-12-10 12:22:10 -06:00
mantikoros
083e5c506b initial commit 2021-12-10 12:10:30 -06:00
Austin Chen
290b7051bc Minor cleanups 2021-12-10 10:07:38 -08:00
jahooma
0c4243d908 Add vscode format settings 2021-12-10 12:06:51 -06:00
Austin Chen
c9229ca2b8
Allow users to create new contracts (#4)
* 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

* Allow users to create new contracts

* Add back listenForContract

* 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

* Sort contracts by creation time

* Link to market creation from header

* List your markets on account page

* Set fullscreen black background

* Correctly set seeds on new contracts

* Code cleanups

* Gratuitously cool font

* Add creator name, fix ordering

* Use Readex Pro as body font

* Fixes according to code review

Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-10 09:54:16 -08:00
jahooma
77ce27f45f Submit bets to firestore 2021-12-10 11:14:05 -06:00
jahooma
b8b5868eb8 Merge remote-tracking branch 'origin/create-contract' into bet 2021-12-10 10:11:49 -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
Austin Chen
70ea4b96bb Use Readex Pro as body font 2021-12-10 03:11:05 -08:00
Austin Chen
405f754e02 Add creator name, fix ordering 2021-12-10 00:45:32 -08:00
Austin Chen
6f7f8b9401 Gratuitously cool font 2021-12-10 00:40:03 -08:00
Austin Chen
e03eb2f3fd Code cleanups 2021-12-10 00:27:44 -08:00
Austin Chen
d945dc894b Merge branch 'contract-page' into create-contract 2021-12-10 00:21:55 -08:00
Austin Chen
4f7d2c3d1b Correctly set seeds on new contracts 2021-12-09 23:54:38 -08:00
Austin Chen
9bafc2b2e8 Set fullscreen black background 2021-12-09 23:52:44 -08:00
Austin Chen
f3b7fc11b6 List your markets on account page 2021-12-09 23:11:07 -08:00
Austin Chen
73d6e35a74 Link to market creation from header 2021-12-09 23:08:42 -08:00
Austin Chen
70e86155be Sort contracts by creation time 2021-12-09 23:08:28 -08:00
jahooma
8ccea8dca0 Add background to bet panel 2021-12-10 01:01:39 -06:00
mantikoros
84296bfdde update landing page with new idea 2021-12-10 00:43:19 -06:00
jahooma
7309096854 Merge branch 'main' into contract-page 2021-12-10 00:33:11 -06:00
James Grugett
fab691443f Fix hooks lints (#3) 2021-12-10 00:28:26 -06:00
Austin Chen
f77ca5ed13 Apply dark theme to all DaisyUI components 2021-12-10 00:27:03 -06:00
jahooma
443b742c4a Implement skeleton ContractPage 2021-12-10 00:21:12 -06:00
jahooma
7e6e7521b5 Add Row, Col, and Spacer components 2021-12-10 00:12:02 -06:00
jahooma
7324a2f359 Add some buttons 2021-12-10 00:11:45 -06:00
Austin Chen
4f2c8bcdce Add back listenForContract 2021-12-09 21:01:44 -08:00
Austin Chen
09b4639198 Allow users to create new contracts 2021-12-09 20:54:40 -08:00
jahooma
5d082e0ead Smaller width bet input 2021-12-09 21:27:26 -06:00
Austin Chen
89a7bd65d2 Standardize on useUser hook 2021-12-09 16:09:16 -08:00
Austin Chen
7ec3da5504
Allow logging in with Firebase (#2)
* Pin package.json to exact version

* Fix according to reviewer feedback
2021-12-09 15:33:01 -08:00
Austin Chen
992c245837 Run prettier 2021-12-09 15:23:21 -08:00
James Grugett
44f661a94e
Fix hooks lints (#3) 2021-12-09 14:44:20 -08:00