Commit Graph

46 Commits

Author SHA1 Message Date
Austin Chen
b97301c6fa Hardcode two new frontpage markets 2022-05-10 13:03:53 -04:00
Marshall Polaris
acc9c84e2e
More absolute imports (#156)
* Configure functions module to allow absolute imports

* Convert common imports in functions to be absolute

* Convert common imports in web to be absolute

* Convert lib imports in web to be absolute

* Convert hooks imports in web to be absolute

* Convert components imports in web to be absolute
2022-05-09 09:04:36 -04:00
Austin Chen
2eed1c432a Hardcode in 8 frontpage markets 2022-05-07 19:44:01 -04:00
James Grugett
6d25494713 Add Manifold Markets logo on signed out home. 2022-04-04 00:45:23 -05:00
Austin Chen
bad58652b8 Tweak copy 2022-03-24 22:53:12 -07:00
James Grugett
649c6f4642
Make navbar render signed in or signed out by page (#39) 2022-01-27 17:06:31 -06:00
jahooma
f2c4d3e9c1 Change to white backgrounds for content. Remove page's margin, set individually. 2022-01-27 16:37:43 -06:00
mantikoros
80776186aa
/home for signed in users (#35) 2022-01-22 18:16:23 -06:00
jahooma
789df9a76d Add some catches 2022-01-22 15:21:52 -06:00
jahooma
d357f51883 Reorg homepage. No feed when not signed in, add back hot & closing soon for signed 2022-01-21 18:28:12 -06:00
James Grugett
60f68b178d
Folds (#34)
* Fold type, fold page, query for fold contracts

* Tsconfig: target esnext, nounused locals: false

* Store tags in field on contract. Script to update contract tags

* Show tags on fold page

* Load all fold comments server-side to serve better feed

* Fix the annoying firebase already initialized error!

* Add links to /edit and /leaderboards for fold

* Page with list of folds

* UI for creating a fold

* Create a fold

* Edit fold page
2022-01-21 17:21:46 -06:00
Austin Chen
5be6a75e4b
Create new markets directly from the feed (#33)
* Move hot & closing markets to All Markets

Soon to be named "Explore"

* Set up a question box on the homepage

* Show Leaderboards by default instead of Create

* Support full contract creation from homepage

* Force mt-0 on /markets

* Move description into info tooltip

* Add hint to ask a question

* Initialize close date to 1 week from today

* Add a promo section for logged-out users

* Add hashtags, remove mobile padding

* Rewrite promo copy

* Store hotContracts as static props
2022-01-21 12:33:58 -06:00
jahooma
4d975ff512 Add closing soon section to home 2022-01-17 16:54:00 -06:00
jahooma
0069846335 Turn off hook for fetching hot contracts for now. 2022-01-15 12:43:39 -06:00
jahooma
f6079e68d0 Choose random hot contracts from top 16 every 5 minutes. 2022-01-15 00:44:33 -06:00
jahooma
895eba4553 Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
jahooma
c70ec1dad3 Remove 3 unnecessary DOM elements from card 2022-01-14 12:28:48 -06:00
jahooma
40c853e595 Reimplement hot markets with flex box, since I can't figure out how to make the css grid version not flash bad layout. 2022-01-14 00:55:35 -06:00
jahooma
07a7fc219b Axe landing page, show home feed 2022-01-13 14:54:31 -06:00
jahooma
19c0f83b85 Activity feed on home page! All markets navbar option. 2022-01-11 21:56:11 -06:00
jahooma
16ab0e0c37 Query hot contracts from volume24Hours field. 2022-01-09 14:26:51 -06:00
jahooma
6d4554e9ef Don't show resolved markets in hot markets 2022-01-09 12:14:20 -06:00
jahooma
6398f93ffe Show just the hot markets on homepage. 2022-01-08 00:23:50 -06:00
jahooma
1bc323d575 Hot markets! 🔥 2022-01-05 00:33:01 -06:00
mantikoros
f1a96b5320 static loading of markets 2021-12-18 23:59:42 -06:00
jahooma
55479ef4ab Move hero and landing page to /landing-page. Add bouncing arrow. 2021-12-17 19:47:39 -06: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
Austin Chen
b14b433417 Set all markets to be the logged-in homepage 2021-12-14 23:44:50 -08:00
Austin Chen
e6afb2493c Move html head content to Next's _document 2021-12-09 15:31:20 -06: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