manifold/web
Austin Chen 5c12da140d
Add a left sidebar on desktop (#70)
* Copy in nav from TailwindUI

* Split up nav files

* Hook up sidebar options to the current page

* Tweak padding

* Insert a right sidebar on folds & contracts

* Keep column always centered

* Remove markets and folds from top navbar

* Extract out sidebaricon; link to /about

* Rename to "useFollowedFoldIds"

* Cache followed folds in localstorage

* Remove unused mobile sidebar (for now)

* Remove unused code

* Remove sidebar from landing page

* Tweak resolution panel styling

* Remove the top navbar entirely

* Completely remove the old navbar

* Add "more" and profile link

* Rearrange sidebar ordering

* Remove unused component

* Add Sign In button for logged-out users

* Remove extra options for signed-out users
2022-03-30 16:56:51 -07:00
..
.husky Disable tsc linting 2021-12-18 15:18:58 -08:00
components Add a left sidebar on desktop (#70) 2022-03-30 16:56:51 -07:00
hooks Add a left sidebar on desktop (#70) 2022-03-30 16:56:51 -07:00
lib Sell shares panel (#69) 2022-03-29 14:56:56 -05:00
pages Add a left sidebar on desktop (#70) 2022-03-30 16:56:51 -07:00
public Generate sitemap server-side 2022-03-24 09:52:13 -07:00
.eslintrc.js Turn of lint for nextjs typos (triggered by getStaticPropz) 2022-03-09 21:31:38 -06:00
.gitignore Run a ts type checker in parallel with nextjs dev process 2021-12-19 15:26:59 -06:00
.prettierignore Run prettier 2021-12-09 15:23:21 -08:00
next-env.d.ts upgrade nextjs version 2021-12-15 23:49:38 -06:00
next-sitemap.js Generate sitemap server-side 2022-03-24 09:52:13 -07:00
next.config.js Update API link 2022-03-24 09:40:57 -07:00
package.json Upgrade some packages 2022-03-29 23:55:47 -05:00
postcss.config.js Prettier: no semi, spaces 2, single quote, trailing comma 2021-12-02 17:49:46 -06:00
README.md Rename to Manifold Markets! (#19) 2022-01-06 12:48:30 -06:00
tailwind.config.js Clean up About page 2022-02-06 00:35:58 -08:00
tsconfig.json Change back typscript target to es5 2022-01-22 15:25:09 -06:00
yarn.lock List users on admin page (#28) 2022-01-15 22:09:15 -05:00

Manifold 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?