Commit Graph

1495 Commits

Author SHA1 Message Date
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
jahooma
1cd3e2f1be Add contract page 2021-12-09 16:44:04 -06:00
jahooma
c8b86a43b9 Add template contract page 2021-12-09 16:05:55 -06:00
Austin Chen
a19cab89c7 Apply dark theme to all DaisyUI components 2021-12-09 15:31:20 -06:00
Austin Chen
e6afb2493c Move html head content to Next's _document 2021-12-09 15:31:20 -06:00
Austin Chen
5ffeb6ca87 Basic ability to sign in and view profile 2021-12-09 15:31:20 -06:00
Austin Chen
e41250a89b Upload basic Firebase Auth code 2021-12-09 15:31:20 -06:00
Austin Chen
2a3d9e6272 Add Firestore package and config 2021-12-09 15:31:20 -06:00
jahooma
293b3c1929 Create contract page 2021-12-09 15:31:02 -06:00
Austin Chen
b41c467fcb Apply dark theme to all DaisyUI components 2021-12-08 23:59:09 -08:00
Austin Chen
0017b2a17e Move html head content to Next's _document 2021-12-08 23:39:20 -08:00
Austin Chen
0d1abf2d54 Basic ability to sign in and view profile 2021-12-08 17:57:59 -08:00
Austin Chen
021341331f Upload basic Firebase Auth code 2021-12-08 16:43:42 -08:00
Austin Chen
55ddb2a7d4 Add Firestore package and config 2021-12-08 16:43:42 -08:00
Austin Chen
b5145305e6 Undo Next Image version of logo
Reasons to undo:
- Currently broken in prod (a width/height would be needed)
- Specifying size is kind of annoying because we want it at two different size depending on responsiveness
- Next Image seems to help with progressive optimization for large raster images, not small vector SVGs.
2021-12-08 16:37:55 -08:00
jahooma
0d77a66503 Add eslint for react hooks and nextjs. 2021-12-08 12:25:37 -06:00
jahooma
eb3fed171d Add some methods and datastructures to contract implementation 2021-12-08 11:26:21 -06:00
Austin Chen
634c0af85b
Finish porting simulator into React (#1)
* Preview bid results; toggle bid type

* Code cleanup: move hooks to where they're used

* Extract header to separate component

* Fix & reactify according to James's review

* Remove unnecessary useMemo

* Hack Chartjs type

* Add some notes on DX Todos

* Move non-page elements to lib/
2021-12-08 08:30:29 -08:00
jahooma
47eba79d05 Add contracts directory with template smart contract that increments a counter. 2021-12-07 00:44:08 -06:00
Austin Chen
e8cefdabbe Submit new bids for React sim 2021-12-06 12:03:12 -08:00
Austin Chen
acd523b61b Add chart.js to React simulator 2021-12-05 10:19:10 -08:00
Austin Chen
6d1f8b9a45 Port simulator to React
Mostly to re-familiarize myself with the React ecosystem
2021-12-05 00:39:42 -08:00
mantikoros
be13b64794 twitter meta tags 2021-12-02 19:29:59 -06:00
mantikoros
153a2ca588 google analytics 2021-12-02 19:18:00 -06:00
mantikoros
4c42b304a8 google analytics 2021-12-02 19:03:32 -06:00
mantikoros
c6b341e40e google analytics 2021-12-02 18:59:00 -06:00
jahooma
a61f70d887 Use exact versions of npm packages 2021-12-02 18:53:21 -06:00