Commit Graph

72 Commits

Author SHA1 Message Date
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
mantikoros
84296bfdde update landing page with new idea 2021-12-10 00:43:19 -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
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
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
jahooma
8484b54fa0 Add cover image for meta tag. 2021-12-02 18:43:02 -06:00
jahooma
1b102bdcbf Add some meta tags 2021-12-02 18:33:33 -06:00
Austin Chen
6c6d1ba55f Fix NextJs build 2021-12-02 17:53:21 -06:00
Austin Chen
20a425df6e Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
jahooma
2bc8f0b429 Delete global css file 2021-12-02 17:44:03 -06:00
Austin Chen
d6d48bb6b4 Reformat with prettier 2021-12-02 17:39:11 -06:00
Austin Chen
a18baa7a50 Install prettier in web/ 2021-12-02 17:35:37 -06:00
Austin Chen
f4a0da07a9 Add svg logo to simulator
Fk alignment
2021-12-02 17:31:09 -06:00
Austin Chen
d02ae06724 Use Major Mono for the header font 2021-12-02 17:22:03 -06:00
jahooma
838f7a8c8a Transparent favicon 2021-12-02 16:44:03 -06:00
jahooma
dfafbfc980 Add mantic market logo as transparent svg 2021-12-02 16:38:23 -06:00
Austin Chen
abb572de33 Add web/ getting started instructions 2021-12-02 15:44:08 -06:00
Austin Chen
a38c4fea3a Throw in a simple navbar 2021-12-02 15:43:50 -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
Austin Chen
082e46a7bd Replace landing page favicon 2021-12-02 14:44:05 -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
Austin Chen
2ccbb2f28b Compress background image with tinypng 2021-12-02 14:34:54 -06:00
jahooma
13e4ac00cd Add convertkit form to collect emails. 2021-12-02 12:38:54 -06:00
Austin Chen
ffd1e233c8 Preview bid return before submission 2021-12-02 01:37:15 -06:00
Austin Chen
4bc445407d Reconfigure page layout 2021-12-01 20:17:56 -06:00
jahooma
6aab61ba3e attempt 2021-12-01 20:12:27 -06:00