Commit Graph

169 Commits

Author SHA1 Message Date
jahooma
1bc323d575 Hot markets! 🔥 2022-01-05 00:33:01 -06:00
mantikoros
4386422f02 fix make-predictions 2022-01-05 00:07:36 -06:00
mantikoros
7c875f80da subsidized markets; create contract cloud function 2022-01-04 23:51:34 -06:00
jahooma
57ee53e133 Create page: Change "Prediction" to "Question" and make it gray 2022-01-04 21:03:00 -06:00
jahooma
6d97b82aee Use our own Tweet button instead of loading Twitter script 2022-01-04 16:34:07 -06:00
jahooma
73f1116b8f Add Tweet button to share market 2022-01-04 14:57:48 -06:00
mantikoros
f0e045694a update about page with more info about basic betting mechanics 2022-01-03 23:56:56 -06:00
jahooma
4d0646a200 Add payout if MKT. Current value uses MKT payout. 2022-01-03 23:44:58 -06:00
mantikoros
44f44272ff create page: minor changes 2022-01-03 13:00:53 -06:00
jahooma
a331faa1a7 Create page: Chance => Initial probabilty, description out of advanced, advanced arrow clickable 2022-01-03 12:39:44 -06:00
Austin Chen
fb0e16d619
Add a closing date to Create Market (#10)
* Preview a slimmed-down version of /Create

* Rework dropdown to be on bottom

* Parse the close time as just before midnight

* Prevent invalid contracts from being created

* Prevent trading after contract has closed
2022-01-02 21:21:25 -08:00
James Grugett
bad7a2b543
Sort & query url params (#17)
* Sort query in progress

* Search and query url params!
2022-01-02 16:46:04 -06:00
mantikoros
cdf25ba659 contract page seo tags 2022-01-02 12:57:52 -06:00
jahooma
8c644da10d Update contract title with resolution or percent chance 2022-01-01 22:52:55 -06:00
James Grugett
f78920c912
Organize markets by creator!! (#14) 2021-12-30 14:03:32 -06:00
jahooma
527a8a8b09 White panels, medium shadows 2021-12-30 13:52:05 -05:00
mantikoros
f48ae0170b
Sell bets (#12)
* sell bet

* dev mode

* single-pot no-refund payoff; bet selling

* Increase default fetch size 25 -> 99

* Fix about page numbering

* Don't flash no markets when loading on tag page.

* Change Title to use body font

* Make a bunch of predictions at once (#9)

* Set up a page to make bulk predictions

* Integrate preview into the same card

* List created predictions

* Make changes per James's comments

* Increase the starting balance (#11)

* Remove references to paying for our Mantic Dollars

* Update simulator to use new calculations

* Change simulator random to be evenly random again

* Sell bet UI

* Migrate contracts and bets script

* Add comment to script

* bets => trades; exclude sold bets

* change sale formula

* Change current value to uncapped sell value.

* Disable sell button while selling

* Update some 'bet' to 'trade'

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-24 15:06:01 -06:00
jahooma
856a2453a1 Remove references to paying for our Mantic Dollars 2021-12-21 14:02:24 -06:00
James Grugett
ff4550fe51
Increase the starting balance (#11) 2021-12-21 13:52:27 -06:00
Austin Chen
9d438dc356
Make a bunch of predictions at once (#9)
* Set up a page to make bulk predictions

* Integrate preview into the same card

* List created predictions

* Make changes per James's comments
2021-12-20 22:29:32 -08:00
jahooma
998b01cde7 Don't flash no markets when loading on tag page. 2021-12-20 18:06:24 -06:00
jahooma
05b8ce96b5 Fix about page numbering 2021-12-20 18:04:19 -06:00
jahooma
5cbbb55dba Tweak spacing 2021-12-19 23:15:18 -06:00
jahooma
918229c6ef Make navbar line up with content 2021-12-19 22:37:11 -06:00
jahooma
4b3b6436a0 Improve navbar styles. Create Page component with navbar and page structure. 2021-12-19 22:06:30 -06:00
jahooma
702c0af33e Rename Header to NavBar. Split profile menu and mantic logo out. 2021-12-19 21:12:12 -06:00
mantikoros
f0acc11b83 about styling 2021-12-19 17:38:10 -06:00
jahooma
6efdf46bb3 Don't show "No markets found" when loading markets 2021-12-19 14:40:54 -06:00
Austin Chen
0a4e05ad32 Actually fix build error >.> 2021-12-19 01:24:37 -08:00
Austin Chen
a760940ae6 Support hashtags in the question 2021-12-19 01:08:12 -08:00
mantikoros
f1a96b5320 static loading of markets 2021-12-18 23:59:42 -06:00
jahooma
ab2011609f Rename [slug] to [contractSlug] 2021-12-18 23:50:47 -06:00
jahooma
b87e751b2d Improve spacing on landing-page, about faq. 2021-12-18 23:44:08 -06:00
Austin Chen
2a4ad3734b Various spacing fixes 2021-12-18 17:23:34 -08:00
jahooma
5be7ce5f8f Standardize spacing across pages. 2021-12-18 17:42:06 -06:00
Austin Chen
639d17cada Render /about page in React 2021-12-18 15:19:50 -08:00
Austin Chen
191742c88f Fix build issue 2021-12-18 13:01:29 -08:00
Austin Chen
bc81091243 Implement #hashtag grouping of markets 2021-12-18 04:06:59 -08:00
Austin Chen
1851b20f42 Fix /bets page 2021-12-18 02:37:26 -08:00
Austin Chen
db122fb614 Supernit: Better line breaking on homepage 2021-12-17 22:49:24 -08:00
jahooma
55479ef4ab Move hero and landing page to /landing-page. Add bouncing arrow. 2021-12-17 19:47:39 -06:00
jahooma
112a42406e Add simple bets page 2021-12-17 17:40:20 -06:00
mantikoros
03a3df261c contract slugs 2021-12-17 17:16:42 -06:00
Austin Chen
022caa4407 Revert to URLs without @ 2021-12-17 10:55:18 -08:00
jahooma
cda5810589 Add features section to landing page. About header scrolls to features section. 2021-12-17 01:21:40 -06:00
jahooma
96f2b4abfc Landing page gradients, larger sign in button 2021-12-16 23:14:31 -06:00
jahooma
9bf257ef64 Embed markets below landing page. Listen for market changes 2021-12-16 22:44:48 -06:00
jahooma
96791e11a5 Stop flash of landing page when signed in and loading '/' 2021-12-16 21:37:38 -06:00
mantikoros
01bb4e4156 fix UserPage access issues 2021-12-16 15:22:24 -06:00
jahooma
21d0eca49f Collapsable bets, with bet table collapsed by default 2021-12-16 15:22:00 -06:00