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
mantikoros
c5286dfa87
test
2021-12-15 22:12:27 -06:00
mantikoros
09ad6a3fe0
test
2021-12-15 22:10:14 -06:00
jahooma
b9fb1d0f31
Fix build and redirect logged out users from '/create' to '/'
2021-12-15 21:58:28 -06:00
mantikoros
3691ef81ed
test ssr
2021-12-15 21:45:31 -06:00
mantikoros
5206121579
ContractPage: static paths blocking
2021-12-15 21:42:05 -06:00
mantikoros
fe0d666c2b
test ssg
2021-12-15 21:24:11 -06:00
mantikoros
7b4e35699d
fix build issue
2021-12-15 21:20:39 -06:00
mantikoros
d59666e7e3
add meta tags to contract
2021-12-15 21:14:04 -06: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
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
Austin Chen
5bad8b2787
Hide resolved markets by default
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
mantikoros
104257001b
simulator: random bet in proportion to prob, delete vue simulator
2021-12-15 01:06:21 -06:00
jahooma
504053dde9
Right align bet input amount. Fix panel layout
2021-12-14 18:38:11 -06:00
jahooma
0c880bb0cb
Add bet panel for creator of market. Can disable later if we decide to
2021-12-14 18:29:58 -06:00
jahooma
6e61b38a9b
Remove resolved panel, move info into contract overview.
2021-12-14 12:51:30 -06:00
mantikoros
11cc6ba622
format user balance
2021-12-14 11:35:11 -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
1da3cc7725
Link to All Markets from header
2021-12-14 01:03:16 -08:00
Austin Chen
fe6531cf78
Add a search bar and sort dropdown
2021-12-14 00:57:27 -08:00
Austin Chen
eb8cb69545
Slightly nicer percentage range
2021-12-14 00:35:56 -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
jahooma
5c7a8e52c9
Fix type errors
2021-12-14 01:05:33 -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
15691c0a38
Query for user bets. Template page to show them.
2021-12-13 23:40:38 -06:00
jahooma
8d7f512248
More layout / style tweaks
2021-12-13 22:54:51 -06:00
jahooma
122e571179
Tweaks to create contract page.
2021-12-13 22:32:33 -06:00
jahooma
7b0c011d39
Improve styles of account page
2021-12-13 19:31:56 -06:00
Austin Chen
bae969058a
Add a page which lists all markets
...
TODO: Add in functionality
2021-12-13 17:09:58 -08:00
mantikoros
5ffe266cf7
contract creation: use slug, calculate seed amounts from given probability
2021-12-13 19:07:36 -06:00
jahooma
0d56ad603e
Add UI for resolution panel!
2021-12-13 18:00:10 -06:00
mantikoros
c6b860c0c8
replace meta tags
2021-12-13 16:32:09 -06:00
Austin Chen
e9c183a493
Allow users to sign in from /account
...
SQ
2021-12-13 10:37:16 -08:00
Austin Chen
cecccbe94d
Add a drop shadow on the Account card
2021-12-13 10:32:54 -08:00
mantikoros
53907d2d52
user.balanceUsd => user.balance
2021-12-13 11:58:47 -06:00
jahooma
1048f866d1
Layout tweaks for simulator
2021-12-12 22:13:27 -06:00
jahooma
54571b29de
Update simulator to nivo chart. Remove chart.js
2021-12-12 19:50:17 -06:00
mantikoros
cfd2f22254
simulator: quadratic price function, random bets, change table cols
2021-12-12 17:06:46 -06:00
jahooma
b216236503
Graph bets by afterProb.
2021-12-12 16:14:52 -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
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
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
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
405f754e02
Add creator name, fix ordering
2021-12-10 00:45:32 -08:00
Austin Chen
6f7f8b9401
Gratuitously cool font
2021-12-10 00:40:03 -08:00
Austin Chen
e03eb2f3fd
Code cleanups
2021-12-10 00:27:44 -08:00
Austin Chen
d945dc894b
Merge branch 'contract-page' into create-contract
2021-12-10 00:21:55 -08:00
Austin Chen
4f7d2c3d1b
Correctly set seeds on new contracts
2021-12-09 23:54:38 -08:00
Austin Chen
9bafc2b2e8
Set fullscreen black background
2021-12-09 23:52:44 -08:00
Austin Chen
f3b7fc11b6
List your markets on account page
2021-12-09 23:11:07 -08:00
jahooma
8ccea8dca0
Add background to bet panel
2021-12-10 01:01:39 -06:00
jahooma
7309096854
Merge branch 'main' into contract-page
2021-12-10 00:33:11 -06:00
James Grugett
fab691443f
Fix hooks lints ( #3 )
2021-12-10 00:28:26 -06:00
Austin Chen
f77ca5ed13
Apply dark theme to all DaisyUI components
2021-12-10 00:27:03 -06:00
jahooma
443b742c4a
Implement skeleton ContractPage
2021-12-10 00:21:12 -06:00
Austin Chen
09b4639198
Allow users to create new contracts
2021-12-09 20:54:40 -08:00
jahooma
5d082e0ead
Smaller width bet input
2021-12-09 21:27:26 -06:00
Austin Chen
89a7bd65d2
Standardize on useUser hook
2021-12-09 16:09:16 -08:00
James Grugett
44f661a94e
Fix hooks lints ( #3 )
2021-12-09 14:44:20 -08:00
jahooma
1cd3e2f1be
Add contract page
2021-12-09 16:44:04 -06:00
jahooma
c8b86a43b9
Add template contract page
2021-12-09 16:05:55 -06:00
Austin Chen
a19cab89c7
Apply dark theme to all DaisyUI components
2021-12-09 15:31:20 -06:00
Austin Chen
e6afb2493c
Move html head content to Next's _document
2021-12-09 15:31:20 -06:00
Austin Chen
5ffeb6ca87
Basic ability to sign in and view profile
2021-12-09 15:31:20 -06:00
jahooma
293b3c1929
Create contract page
2021-12-09 15:31:02 -06:00
Austin Chen
b41c467fcb
Apply dark theme to all DaisyUI components
2021-12-08 23:59:09 -08:00
Austin Chen
0017b2a17e
Move html head content to Next's _document
2021-12-08 23:39:20 -08:00
Austin Chen
0d1abf2d54
Basic ability to sign in and view profile
2021-12-08 17:57:59 -08: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
e8cefdabbe
Submit new bids for React sim
2021-12-06 12:03:12 -08:00
Austin Chen
acd523b61b
Add chart.js to React simulator
2021-12-05 10:19:10 -08:00
Austin Chen
6d1f8b9a45
Port simulator to React
...
Mostly to re-familiarize myself with the React ecosystem
2021-12-05 00:39:42 -08:00
mantikoros
be13b64794
twitter meta tags
2021-12-02 19:29:59 -06:00
mantikoros
153a2ca588
google analytics
2021-12-02 19:18:00 -06:00
mantikoros
4c42b304a8
google analytics
2021-12-02 19:03:32 -06:00
mantikoros
c6b341e40e
google analytics
2021-12-02 18:59:00 -06:00
jahooma
8484b54fa0
Add cover image for meta tag.
2021-12-02 18:43:02 -06:00
jahooma
1b102bdcbf
Add some meta tags
2021-12-02 18:33:33 -06:00
Austin Chen
6c6d1ba55f
Fix NextJs build
2021-12-02 17:53:21 -06:00
Austin Chen
20a425df6e
Prettier: no semi, spaces 2, single quote, trailing comma
2021-12-02 17:49:46 -06:00
jahooma
2bc8f0b429
Delete global css file
2021-12-02 17:44:03 -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
220df309c3
Fix build error
2021-12-01 18:22:45 -06:00
jahooma
844a908118
Add tailwind. Add stripped down hero component.
2021-12-01 13:58:35 -06:00
jahooma
a1163bfcfb
Create Nextjs template app under web directory.
2021-11-30 22:20:13 -06:00