Commit Graph

16 Commits

Author SHA1 Message Date
jahooma
3e08349df6 Fix buttons going off the pay dialog 2022-01-13 21:15:44 -06:00
James Grugett
af6387bbf3
Stripe (#22)
* basic working payments

* Select funds amount and prettier funds button / dialog

* Add funds page and nav menu option

* Format funds amount. Use ghost button for back.

* Add mantic dollars description

* Improve styles of add funds page

* about styling

* change faq => about

* change default font to Courier

* header sign out menu item; remove user  card

* keep logo font

* fix header issue

* stripe webhook: handle repeat events

* Make add funds button a gradient

* add funds referer url

* Fix add funds page after merge

* Slight VisD tweaks

* Update add funds button position. Mantic => Manifold

* Remove Add funds menu option for now.

* Set up product ids and endpoint for stripe prod

* Swap back order in profile menu

Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-01-07 16:56:14 -06:00
mantikoros
907acec601
Mkt resolution 2: Enable MKT resolution (#16)
* new standard resolution; contract.totalBets; MKT resolution

* recalculate script

* enable resolve MKT

* different approach to resolve MKT

* comment out init

* Count payouts for bets with exluded sales

Co-authored-by: jahooma <jahooma@gmail.com>
2022-01-02 00:27:58 -06:00
jahooma
77291956bc Display N/A instead of cancel 2021-12-18 18:37:37 -06:00
jahooma
81d3c09e60 Make Yes/No buttons flex. Estimated winnings => Max payout (estimated) 2021-12-15 22:55:03 -06:00
mantikoros
4b96015793 yes or no: up contrast 2021-12-15 18:02:15 -06:00
mantikoros
f0e0796b99 resolution panel: show errors, disable when submitting, rename confirm button 2021-12-15 12:44:51 -06:00
Austin Chen
4bf739e06d Tweak bet page UI 2021-12-15 01:07:18 -08:00
jahooma
8d7f512248 More layout / style tweaks 2021-12-13 22:54:51 -06:00
jahooma
0d56ad603e Add UI for resolution panel! 2021-12-13 18:00:10 -06:00
Austin Chen
62da8ee3a9 Darken the yes/no bg color 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
e253b3beca Make bet panel calculate bet info and display it. 2021-12-10 21:51:35 -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
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