mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-22 09:18:15 +00:00
Per discussion with @hammadj, @topocount, and @wchargin, we are planning to have the frontend2 system use react-admin at the top level. Per investigation by @topocount, react-admin conflicts with the older version of react-router that we use. As such, this commit wildly simplifies the homepage2 system so we no longer have any routing, and instead we just statically render the index.html file. We also removed the `Assets` type, not because we are sure we don't need it, but because we didn't want to debug it while we were all pairing. @wchargin offered to fix it up later. Test plan: - run `yarn start2 --instance=PATH` and observe that the "Under Construction" message displays, along with console messages showing that data loaded successfully. - run `yarn build2` and copy files from `build2` into the root of a cli2 instance. Run an http server in that instance, and observe that the frontend displays properly per instructions above. Paired with: @wchargin Paired with: @hammadj Paired with: @topocount