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