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:
The logo with the link to the home
The search bar. This should be just a placeholder for now
A link to the "My Collectibles" page
The status indicator and the ETH balance (not expandable yet)
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 theerc20
anderc721
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: