Commit Graph

1335 Commits

Author SHA1 Message Date
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
d945dc894b Merge branch 'contract-page' into create-contract 2021-12-10 00:21:55 -08:00
Austin Chen
73d6e35a74 Link to market creation from header 2021-12-09 23:08:42 -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
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
89a7bd65d2 Standardize on useUser hook 2021-12-09 16:09:16 -08:00
jahooma
1cd3e2f1be Add contract page 2021-12-09 16:44:04 -06:00
Austin Chen
5ffeb6ca87 Basic ability to sign in and view profile 2021-12-09 15:31:20 -06:00
Austin Chen
0d1abf2d54 Basic ability to sign in and view profile 2021-12-08 17:57:59 -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
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
Austin Chen
20a425df6e Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
Austin Chen
d6d48bb6b4 Reformat with prettier 2021-12-02 17:39:11 -06:00
Austin Chen
d02ae06724 Use Major Mono for the header font 2021-12-02 17:22:03 -06:00
jahooma
dfafbfc980 Add mantic market logo as transparent svg 2021-12-02 16:38:23 -06:00
jahooma
62517caa4d Add bg color, padding top on mobile 2021-12-02 15:28:59 -06:00
jahooma
3578e1f494 Switch logo to monospace company name 2021-12-02 15:20:30 -06:00
jahooma
510c91a4d6 Add about link 2021-12-02 14:38:54 -06:00
jahooma
12ee882810 Add navigation buttons 2021-12-02 14:38:54 -06:00
jahooma
13e4ac00cd Add convertkit form to collect emails. 2021-12-02 12:38:54 -06:00
jahooma
6aab61ba3e attempt 2021-12-01 20:12:27 -06:00
jahooma
143b4e88fc Add post method to form 2021-12-01 20:09:44 -06:00
jahooma
a6fe862d0a Add netlify form attribute 2021-12-01 19:42:52 -06:00
jahooma
dc038eae0a Change color and background image of landing page 2021-12-01 17:23:48 -06:00
jahooma
844a908118 Add tailwind. Add stripped down hero component. 2021-12-01 13:58:35 -06:00