manifold/web
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
..
components Allow users to create new contracts (#4) 2021-12-10 09:54:16 -08:00
hooks Standardize on useUser hook 2021-12-09 16:09:16 -08:00
lib Allow users to create new contracts (#4) 2021-12-10 09:54:16 -08:00
pages Allow users to create new contracts (#4) 2021-12-10 09:54:16 -08:00
public Add cover image for meta tag. 2021-12-02 18:43:02 -06:00
.eslintrc.js Run prettier 2021-12-09 15:23:21 -08:00
.gitignore Build as a static site 2021-12-01 18:35:08 -06:00
.prettierignore Run prettier 2021-12-09 15:23:21 -08:00
.prettierrc Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
next-env.d.ts Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00
next.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
package-lock.json update landing page with new idea 2021-12-10 00:43:19 -06:00
package.json Allow logging in with Firebase (#2) 2021-12-09 15:33:01 -08:00
postcss.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
README.md Finish porting simulator into React (#1) 2021-12-08 08:30:29 -08:00
tailwind.config.js Allow users to create new contracts (#4) 2021-12-10 09:54:16 -08:00
tsconfig.json Create Nextjs template app under web directory. 2021-11-30 22:20:13 -06:00

Mantic Markets web

Getting Started

  1. Run npm install
  2. Run npm run dev
  3. Your site will be available on http://localhost:3000

Formatting

Before committing, run npm run format to format your code.

Recommended: Use a Prettier editor integration to automatically format on save

Developer Experience TODOs

  • Automatically run prettier as code commit hook?
  • Prevent git pushing if there are Typescript errors?