0xProject / 0x-launch-kit-frontend

Apache License 2.0
112 stars 207 forks source link

Basic layout #311

Closed fvictorio closed 5 years ago

fvictorio commented 5 years ago

Create the basic layout for the NFT marketplace.

Let's use this issue to resolve some things that we need before starting: restructuring the files and folders, and deciding what to do with the router.

Setup stuff

With respect to the folder structure, there's probably not a lot to discuss: I guess we'll have a common directory, and then the erc20 and erc721 directories.

With respect to routing, I think we should render the proper root component based on an environment variable that indicates if the project should use the erc20 or erc721 marketplace. An issue here is that the bundle will include all the components from the other marketplace, but I think that that's something we can tackle later if needed.

Toolbar

Besides the setup stuff, we need to create an alternate toolbar that doesn't duplicate a lot of things from the current one. This toolbar has these parts:

unjapones commented 5 years ago

Issue #340 will take care of adding a different toolbar for the erc721 app.