Austin Chen
feca042e47
Use the generated OpenGraph card in all markets ( #23 )
...
* Run OpenGraph server on dev port 3001
* Cut '%' since frontend already passes it
* Use the generated card in markets
* Rename to ogCardProps
* Don't show creator avatar url, for now
* Remove bad comment
2022-01-10 02:05:24 -05:00
jahooma
179fa8c608
Stephen's feedback: change 🔥 => 24h vol in card
2022-01-09 17:59:37 -06:00
jahooma
7528ac0604
Filter out creators and tags with no 7 day volume and sort displayed contracts by 7 day volume.
2022-01-09 15:55:10 -06:00
jahooma
e655462a2f
When sorting by creator or tag, use 7 day volume instead of pool size.
2022-01-09 15:32:04 -06:00
jahooma
cedd8df45c
Show hot market 24 hour volume instead of pool
2022-01-09 15:21:30 -06:00
jahooma
34b208f63d
...and gray-500 text for resolution panel
2022-01-08 23:12:53 -06:00
jahooma
519dda6473
Use gray-500 instead of gray-400 for text against gray bg.
2022-01-08 23:10:08 -06:00
jahooma
e4206d6277
Add an extra new line when you add to a market description
2022-01-08 23:09:19 -06:00
jahooma
1013192281
Show the floor of your balance
2022-01-08 12:14:20 -06:00
mantikoros
abb5d53431
ensure bet amounts are positive
2022-01-08 11:51:42 -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
1b69a34270
allow updating contract description
2022-01-07 13:29:23 -06:00
jahooma
e3800de2ad
Update resolution panel to gray bg
2022-01-06 22:00:23 -06:00
James Grugett
85b5ee5cbc
Rename to Manifold Markets! ( #19 )
...
* Update logo and about page to manifold
* Change urls, titles / metatags, landing page
2022-01-06 12:48:30 -06:00
Austin Chen
95472c5faf
Tweak bet panel UI
2022-01-06 01:49:41 -08:00
Austin Chen
4659cab18c
Only "Advanced" label should look clickable
2022-01-06 01:48:27 -08:00
jahooma
477878a09f
Right align tweet button
2022-01-05 23:02:39 -06:00
jahooma
75e9d419ee
Fix payout calculation for correct bet in bet panel.
2022-01-05 17:03:30 -06:00
mantikoros
0b8ad76b0f
global warming: warm up all cloud functions on client
2022-01-05 12:30:16 -06:00
jahooma
5eaf50612d
Advanced metrics for bet panel
2022-01-05 12:23:44 -06:00
jahooma
3302cbddbd
Move contract close time into contract details
2022-01-05 11:49:23 -06:00
jahooma
e20537bf49
Remove tags and date from card.
2022-01-05 01:06:30 -06:00
jahooma
1bc323d575
Hot markets! 🔥
2022-01-05 00:33:01 -06:00
jahooma
67007c5897
Make tweet button smaller
2022-01-04 16:47:56 -06:00
jahooma
6d97b82aee
Use our own Tweet button instead of loading Twitter script
2022-01-04 16:34:07 -06:00
jahooma
596c6fe33d
Show tags in contract details.
2022-01-04 16:09:03 -06:00
jahooma
73f1116b8f
Add Tweet button to share market
2022-01-04 14:57:48 -06:00
jahooma
db1543ea71
Round bet amounts in feed
2022-01-04 09:55:34 -06:00
Austin Chen
583dc10e6a
Don't prematurely show close times in feed
2022-01-03 23:41:52 -08:00
Austin Chen
07ce27f20b
Show activity feed on each market & allow comments on your bets ( #18 )
...
* Copy feed template from TailwindUI
* Show all bets in a feed-like manner
* Tweak design of individual trades
* Allow traders to comment on their bets
* Code cleanups
* Incorporate contract description into the feed
* Support description editing from contract feed
* Group together bets placed within 24h
* Fix build error
* Add a feed item for market resolution
* Add a feed item for markets that have closed
* Comment on a separate subcollection
2022-01-03 23:21:14 -08:00
mantikoros
7d5b4359f8
align sales price
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
jahooma
24e873b6de
Show "sold for" under sale price / payout column. Outcome label to new file
2022-01-03 12:56:02 -06:00
jahooma
f7d4926d22
Update to show sale price in column
2022-01-03 00:57:25 -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
jahooma
b375256e96
Reuse ResolutionOrChance component. Make smaller for card, larger for contract page.
2022-01-02 14:53:42 -06:00
jahooma
657b6b2763
Improve positioning of x% chance on mobile, break words in description.
2022-01-02 13:09:11 -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
a9e8b4c1e7
Attempt to fix external link in description
2022-01-01 23:52:32 -06:00
jahooma
50e3dc5cd0
Add Discord link as menu option!
2021-12-31 14:33:05 -06:00
jahooma
7d5e02a69c
username => name on user page
2021-12-31 14:25:01 -06:00
jahooma
0b9b2396f1
Est. Max Payout => Shares in bet table
2021-12-31 14:13:06 -06:00
jahooma
96d5ea0437
Add sort by tag
2021-12-31 13:41:41 -06:00
jahooma
f1977f26ea
Don't wrap external link with next/link
2021-12-31 13:41:41 -06:00
mantikoros
6eda71286c
nav bar: dark background, no shadow
2021-12-31 13:31:41 -06:00
jahooma
41a011a9bb
Increase size of creator name. Decrease spacing
2021-12-30 16:31:04 -06:00
jahooma
6a851fe86a
Update resolve descriptions
2021-12-30 15:55:50 -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
jahooma
a5e4411075
Load all contracts, and filter to 99 client-side.
2021-12-30 13:35:29 -05:00
jahooma
a902dfebca
Fit long names on mobile
2021-12-24 16:29:24 -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
Austin Chen
3841e2a98f
Change Title to use body font
2021-12-20 22:29:01 -08: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
28a2199ec7
fix header issue
2021-12-19 18:06:47 -06:00
mantikoros
bf211b91fe
keep logo font
2021-12-19 18:02:42 -06:00
mantikoros
c03e68640e
header sign out menu item; remove user card
2021-12-19 17:56:22 -06:00
mantikoros
481b97d689
change default font to Courier
2021-12-19 17:47:13 -06:00
mantikoros
6270ec2c59
change faq => about
2021-12-19 17:39:15 -06:00
jahooma
1d9adcbeaf
Fix build
2021-12-19 15:05:39 -06:00
jahooma
80ffed9460
Change navigation to add FAQ, and bundle Your bets and Your markets as options under menu.
2021-12-19 14:57:44 -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
c563ecc88b
Fix build error
2021-12-19 01:17:25 -08:00
Austin Chen
a760940ae6
Support hashtags in the question
2021-12-19 01:08:12 -08: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
77291956bc
Display N/A instead of cancel
2021-12-18 18:37:37 -06:00
jahooma
86e323bf25
Fix collapse carrot positioning...
2021-12-18 18:11:40 -06:00
jahooma
5be7ce5f8f
Standardize spacing across pages.
2021-12-18 17:42:06 -06:00
Austin Chen
d8dfd103b9
Minor spacing fix
2021-12-18 15:24:58 -08:00
Austin Chen
83a75def06
Remove lowercase, bold, tight tracking
2021-12-18 04:19:16 -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
802f376042
Add a message for empty markets and bets
2021-12-18 02:28:01 -08:00
Austin Chen
957eb3ac94
Search contracts by username too
2021-12-17 23:29:42 -08:00
Austin Chen
77e15e3aa8
Denormalize username to each contract
2021-12-17 23:27:29 -08:00
Austin Chen
f6c45a29c2
Prompt for sign in from bet panel
2021-12-17 23:09:11 -08:00
jahooma
393a4962c9
Fix headers on mobile with cool dropdown menu.
2021-12-18 00:37:09 -06:00
jahooma
55479ef4ab
Move hero and landing page to /landing-page. Add bouncing arrow.
2021-12-17 19:47:39 -06:00
jahooma
b3bacd6e1e
Make sign in header work
2021-12-17 19:29:09 -06:00
jahooma
689a2f6244
Fix nextjs image import
2021-12-17 19:13:12 -06:00
jahooma
c0e22d89ca
Remove your bets from account / user page
2021-12-17 18:28:43 -06:00
jahooma
f684835900
Update headers
2021-12-17 17:40:20 -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
mantikoros
756f31b1b7
rename contract properties
2021-12-17 16:15:09 -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
1c4a834696
Bring back collapse animation by moving padding from card.
2021-12-16 22:27:22 -06:00
jahooma
7fd3cc185f
Remove headlessui and heroicons from package.json
2021-12-16 22:12:33 -06:00
Austin Chen
ef091f4359
Add a temporary link to explore all markets from homepage
2021-12-16 18:36:41 -08:00
jahooma
7464d1e54f
Align description buttons right. Switch to 12 hour format time
2021-12-16 16:17:43 -06:00
jahooma
325619aa01
Edit => Add to description. Autofocus the textarea.
2021-12-16 16:07:37 -06:00
jahooma
ad2f080c6e
Improve layout of bets card
2021-12-16 15:51:47 -06:00
mantikoros
985621982b
bets wording
2021-12-16 15:35:19 -06:00
jahooma
06f1657a4c
Stop link click propogation
2021-12-16 15:28:58 -06:00
mantikoros
4503a5e04a
display active contracts first
2021-12-16 15:22:24 -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
mantikoros
4be9c3d80c
SEO component
2021-12-16 12:40:23 -06:00
Austin Chen
a8733723be
Editable descriptions
2021-12-16 02:46:41 -08:00
Austin Chen
085e6d868f
Switch header links to underline
2021-12-16 01:53:19 -08:00
Austin Chen
aab735cd8b
Fix UserPage alignment
2021-12-16 01:09:36 -08:00
Austin Chen
ec516ee41f
Move bet payouts to the top right of the card
2021-12-16 01:03:41 -08:00
jahooma
8abbc34652
Improve graph for resolved bets
2021-12-16 00:44:04 -06:00
jahooma
5d2e81f982
Simplify card
2021-12-16 00:11:14 -06:00
jahooma
5565bc5455
Make list of contract's bets be a card. Underline contract question as a link.
2021-12-15 23:10:31 -06:00
jahooma
81d3c09e60
Make Yes/No buttons flex. Estimated winnings => Max payout (estimated)
2021-12-15 22:55:03 -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
jahooma
f2d19360aa
Improve chart's time axis to be over at least 8 hours, and extend up to now.
2021-12-15 21:48:09 -06:00
jahooma
fe9def453b
Show total of active bets and their current value. Arrange unresolved markets first.
2021-12-15 21:04:44 -06:00
Austin Chen
09dba6ef1e
Fix: Don't show "Resolved" on unresolved markets
2021-12-15 18:51:41 -08:00
Austin Chen
02d836adda
Search and filter from UserPage
2021-12-15 18:50:03 -08:00
Austin Chen
79c0685b30
Move market creation to /create
2021-12-15 18:35:54 -08:00
jahooma
83b4cc38b3
Show just payout column for resolved markets, tweak calculation and resolved labels.
2021-12-15 20:28:40 -06:00
Austin Chen
743616449f
Prefix username URLs with @
2021-12-15 18:26:38 -08:00
Austin Chen
87010c1924
Extract shared UserPage code
2021-12-15 18:16:08 -08:00
Austin Chen
64dde4f482
Link to UserPage with @username
2021-12-15 18:16:00 -08:00
Austin Chen
9df78a4963
Support user profiles on /[username]
...
Currently all bets are also shown
2021-12-15 17:34:36 -08:00
Austin Chen
8e119a6338
Replace /contract/[id]
with /[username]/[id]
2021-12-15 16:52:19 -08:00
mantikoros
4b96015793
yes or no: up contrast
2021-12-15 18:02:15 -06:00
mantikoros
f0fbabbfb2
res panel: capitalize outcoms
2021-12-15 18:02:04 -06:00
mantikoros
be90a585a8
bet panel: small things
2021-12-15 17:55:46 -06:00
mantikoros
18abe96fbe
header: open about in new tab
2021-12-15 17:29:16 -06:00
jahooma
f32933f668
Bet calculation / UI updates
2021-12-15 17:27:02 -06:00
jahooma
e8f94f48e2
Update bet UI with market summary and computed columns
2021-12-15 16:58:38 -06:00
mantikoros
e3f4a99263
header: hide markets for nonsigned in users
2021-12-15 12:55:00 -06:00
mantikoros
663821d0a0
contract overview: remove delete button for nonzero volume resolved contracts
2021-12-15 12:52:43 -06:00
mantikoros
f0e0796b99
resolution panel: show errors, disable when submitting, rename confirm button
2021-12-15 12:44:51 -06:00
mantikoros
3ee03ffcba
bet panel: error handling
2021-12-15 12:44:51 -06:00
jahooma
a07d29b881
Switch to compact table of bets
2021-12-15 12:41:18 -06:00
Austin Chen
5d1ab7d5f6
Replace ConvertKit email with sign in button
2021-12-15 01:30:00 -08:00
Austin Chen
5f7052a58e
Tweak resolution panel UI
2021-12-15 01:11:27 -08:00
Austin Chen
4bf739e06d
Tweak bet page UI
2021-12-15 01:07:18 -08:00
Austin Chen
f5a8f9de1b
Always lowercase titles
2021-12-14 23:44:51 -08:00
Austin Chen
c00c649fbe
Replace "Cancel" with "N/A", for better visual spacing
2021-12-14 23:44:51 -08:00
Austin Chen
b14b433417
Set all markets to be the logged-in homepage
2021-12-14 23:44:50 -08:00
jahooma
fda5013bf8
Simple bets list
2021-12-15 01:41:56 -06:00
jahooma
504053dde9
Right align bet input amount. Fix panel layout
2021-12-14 18:38:11 -06:00
jahooma
c3bfe6b058
Show balance in bet panel
2021-12-14 18:24:49 -06:00
jahooma
c0ec7ff3f1
Show error when bet exceeds balance. Don't allow bet number to get into exponential notation.
2021-12-14 18:09:05 -06:00
jahooma
6e61b38a9b
Remove resolved panel, move info into contract overview.
2021-12-14 12:51:30 -06:00
mantikoros
72f77c668f
ContractCard: color resolution text
2021-12-14 11:43:51 -06:00
mantikoros
9cbfbc5275
contract overview: hide percent chance if market is resolved
2021-12-14 11:37:31 -06:00
Austin Chen
7b55eeff88
Move shared logic into contracts-list
2021-12-14 02:27:22 -08:00
Austin Chen
dc90c4fa74
Extract shared logic into ContractDetails
2021-12-14 02:23:32 -08:00
Austin Chen
e2e168737a
Move delete button to resolved contracts
2021-12-14 01:42:46 -08:00
Austin Chen
b6c5ad730a
Add a loading spinner on submission
2021-12-14 01:07:11 -08:00
Austin Chen
1da3cc7725
Link to All Markets from header
2021-12-14 01:03:16 -08:00
Austin Chen
c900c1798b
Use ContractsGrid for your markets
2021-12-14 00:35:20 -08:00
Austin Chen
f42e3c23da
Split markets into Open and Resolved
2021-12-13 23:59:04 -08:00
Austin Chen
d4bb419478
Prettier everything
...
(Hopefully for the last time)
2021-12-13 23:30:09 -08:00
mantikoros
f2748db21d
resolve markets
2021-12-14 01:02:54 -06:00
jahooma
325206f27b
Fix graph's overlapping ticks on mobile
2021-12-14 00:56:36 -06:00
jahooma
43941cd212
Simple market resolved panel
2021-12-14 00:12:25 -06:00
jahooma
8d7f512248
More layout / style tweaks
2021-12-13 22:54:51 -06:00
jahooma
7b0c011d39
Improve styles of account page
2021-12-13 19:31:56 -06:00
mantikoros
14cf1e6a8b
ContractCard: declutter, fix deletion
2021-12-13 19:24:13 -06:00
mantikoros
5ffe266cf7
contract creation: use slug, calculate seed amounts from given probability
2021-12-13 19:07:36 -06:00
jahooma
571c1307fa
Factor out confirmation modal component.
2021-12-13 18:47:43 -06:00
jahooma
cd6ed7dc55
Add confirmation dialog when resolving market!
2021-12-13 18:28:37 -06:00
jahooma
0d56ad603e
Add UI for resolution panel!
2021-12-13 18:00:10 -06:00
jahooma
7e08a68799
Clear bet input on submit
2021-12-13 18:00:10 -06:00
Austin Chen
ad6049350d
Visually clean up bet panel
2021-12-13 10:37:20 -08:00
Austin Chen
62da8ee3a9
Darken the yes/no bg color
2021-12-13 10:37:20 -08:00
jahooma
9f59f4b3c4
Render the actual contract created time
2021-12-13 01:01:09 -06:00
jahooma
1303da7441
Graph time of bets
2021-12-13 00:55:35 -06:00
mantikoros
15aec6df55
homepage: tagline
2021-12-13 00:23:48 -06:00
jahooma
fe9a4f941b
Fix logo dimensions
2021-12-12 23:42:45 -06:00
jahooma
60c86a57aa
Webp background image. Add white-background logo for future.
2021-12-12 23:36:02 -06:00
jahooma
fbb0bd4aa8
Improve landing page, especially on mobile!
2021-12-12 22:36:15 -06:00
jahooma
d32d929735
Add a better charting library!
2021-12-12 19:10:35 -06:00
mantikoros
b673c87f36
header: change about page link
2021-12-12 17:41:17 -06: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
7ef00d085f
Fix tailwind theme to not override previous font families.
2021-12-12 16:37:59 -06:00
jahooma
b216236503
Graph bets by afterProb.
2021-12-12 16:14:52 -06:00
jahooma
29e13497bf
Add volume calculation. Remove new bet button that was unnecessary.
2021-12-10 22:09:32 -06:00
jahooma
e253b3beca
Make bet panel calculate bet info and display it.
2021-12-10 21:51:35 -06:00
Austin Chen
8867d841cb
Austin's opinions on theming ( #6 )
...
* Run prettier
* Fix package-lock
* Use an off-white background, darker text
* Use indigo for headings instead of green
* Add box shadows to all cards
* Remove unused component
* Extract out a title component
* Fix typo
2021-12-10 19:35:21 -08:00
Austin Chen
fb9a690707
Run prettier
2021-12-10 17:20:52 -08:00
mantikoros
52addd2eb3
show content only with ?demo
2021-12-10 18:19:50 -06:00
jahooma
0ea4736c37
Replacing Image components with img
2021-12-10 18:16:58 -06:00
mantikoros
0ce4b339d3
Merge branch 'functions'
2021-12-10 18:07:06 -06:00
jahooma
b067bc8ada
Layout tweaks
2021-12-10 18:06:51 -06:00
mantikoros
d95bef8ab3
placeBet
2021-12-10 18:06:17 -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
jahooma
e18e7548d5
Better layout on mobile for contract page
2021-12-10 12:52:11 -06:00
jahooma
b67c9bafc2
Merge branch 'main' into bet
2021-12-10 12:22:10 -06:00
Austin Chen
290b7051bc
Minor cleanups
2021-12-10 10:07:38 -08:00
Austin Chen
c9229ca2b8
Allow users to create new contracts ( #4 )
...
* 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
* Allow users to create new contracts
* Add back listenForContract
* 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
* Sort contracts by creation time
* Link to market creation from header
* List your markets on account page
* Set fullscreen black background
* Correctly set seeds on new contracts
* Code cleanups
* Gratuitously cool font
* Add creator name, fix ordering
* Use Readex Pro as body font
* Fixes according to code review
Co-authored-by: jahooma <jahooma@gmail.com>
2021-12-10 09:54:16 -08:00
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