manifold/web/lib/firebase
Sinclair Chen 73fc67955d
Send M$ to Charity & txns (#81)
* Add components for CPM landing and charity pages

* Remove misc.ts to fix build

* Set up cloud function for writing txns

* More plumbing for txns

* Fix up API call

* Use Date.now() to keep timestamps simple

* Some styles for charity list page

* Hard code charities data

* Pass charity data to charity page

* Update txn type

* Listen for charity txns

* Handle txn to non-user by burning it

* Read txns for charity card and charity page.

* Set images to object contain

* Clean up txn types

* Move pic to top of card. Other misc styling.

* Update charity short & long descriptions

* Add `token` and `category` to Txn

* Fix breakages

* Show Charity link in the sidebar

* Fix typing issues

* Fix not reading from the right type

* Switch out icon

* Also show Charity icon on mobile

* Update copy

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
2022-04-29 19:35:56 -04:00
..
answers.ts Free response (#47) 2022-02-17 17:00:19 -06:00
api-call.ts Send M$ to Charity & txns (#81) 2022-04-29 19:35:56 -04:00
bets.ts Create bet count and market count charts in our analytics 2022-03-02 17:52:41 -08:00
comments.ts Free comments (#88) 2022-04-21 11:09:06 -06:00
contracts.ts Make tags page filter on server side (#108) 2022-04-28 22:39:39 -07:00
folds.ts Optimize use fold hooks to trigger fewer re-renders 2022-04-06 13:56:08 -05:00
init.ts Support local firestore emulation (#91) 2022-04-25 09:46:35 -06:00
storage.ts User profile (#44) 2022-02-03 21:04:56 -06:00
tracking.ts Track latency of feed and portfolio page. 2022-04-21 01:00:08 -05:00
txns.ts Send M$ to Charity & txns (#81) 2022-04-29 19:35:56 -04:00
users.ts Add weekly activiation rate 2022-04-19 01:47:58 -05:00
utils.ts 🏦 Per-market loans! (#57) 2022-03-01 21:31:48 -06:00