73fc67955d
* 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> |
||
---|---|---|
.. | ||
envs | ||
util | ||
.gitignore | ||
add-liquidity.ts | ||
answer.ts | ||
antes.ts | ||
bet.ts | ||
calculate-cpmm.ts | ||
calculate-dpm.ts | ||
calculate-fixed-payouts.ts | ||
calculate.ts | ||
charity.ts | ||
comment.ts | ||
contract.ts | ||
fees.ts | ||
fold.ts | ||
liquidity-provision.ts | ||
new-bet.ts | ||
new-contract.ts | ||
package.json | ||
payouts-dpm.ts | ||
payouts-fixed.ts | ||
payouts.ts | ||
recommended-contracts.ts | ||
scoring.ts | ||
sell-bet.ts | ||
tracking.ts | ||
txn.ts | ||
user.ts | ||
yarn.lock |