Commit Graph

155 Commits

Author SHA1 Message Date
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
jahooma
9289ad1f37 Remove All bets section from contract page 2021-12-16 13:51:35 -06:00
mantikoros
4be9c3d80c SEO component 2021-12-16 12:40:23 -06:00
mantikoros
99637d913d add meta tags to contract 2021-12-16 12:21:16 -06:00
Austin Chen
070b5e55c1 Spacing & wording tweak 2021-12-16 02:50:32 -08:00
Austin Chen
5e980a7863 Fix ContractOverview layout 2021-12-16 01:39:16 -08:00
Austin Chen
6b5bf3cb35 Line up BetSection with graph 2021-12-16 01:32:52 -08:00
Austin Chen
c64289af86 Make descriptions optional 2021-12-16 01:26:35 -08:00
jahooma
eaa9651c82 Fix create market redirect 2021-12-16 01:00:35 -06:00
mantikoros
00f5fbcf93 contract: static props, useContractWithPreload 2021-12-16 00:36:51 -06:00
mantikoros
2a08f70a9f contractid: reenable stuff 2021-12-15 23:56:12 -06:00
jahooma
4fd3f03fd3 Prevent flash of 404 on user profile page. 2021-12-15 23:56:03 -06:00
mantikoros
318e22b97d test 2021-12-15 22:52:07 -06:00
jahooma
36591539d3 Sort bets reverse-chronologically. 2021-12-15 22:40:48 -06:00
jahooma
ea1e66bda1 Add bets section to contract page. 2021-12-15 22:30:24 -06:00