Skip to content

Commit

Permalink
Onboard modal fix (#419)
Browse files Browse the repository at this point in the history
* feat: added css for onbroad modal

* fix: using staging api for boardroom

* wip
  • Loading branch information
MrX-SNX authored Aug 29, 2024
1 parent 1263bc4 commit 216db27
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions governance/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,34 @@
document.body.appendChild(script);
})();
</script>
<style>
:root {
--onboard-main-scroll-container-background: linear-gradient(
73.6deg,
#171923 2.11%,
#141414 100%
);
--onboard-connect-content-background: linear-gradient(73.6deg, #171923 2.11%, #141414 100%);
--onboard-connect-sidebar-background: linear-gradient(73.6deg, #171923 2.11%, #141414 100%);
--onboard-connect-header-background: linear-gradient(73.6deg, #171923 2.11%, #141414 100%);
--onboard-wallet-button-background: #2d2d3880;
--onboard-wallet-button-background-hover: #2d2d3850;
--onboard-wallet-app-icon-border-color: #ffffff29;
--onboard-connect-header-color: transparent;
--onboard-connect-sidebar-color: white;
--onboard-close-button-background: transparent;
--onboard-close-button-color: white;
--onboard-checkbox-background: #0b0b22;
--onboard-checkbox-color: white;
--onboard-connect-sidebar-progress-background: #ffffff;
--onboard-connect-sidebar-progress-color: #00d1ff;
--onboard-wallet-button-color: white;
--onboard-wallet-button-color-hover: white;
--onboard-wallet-button-border-color: #2d2d38;
--account-select-modal-font-family-normal: Inter;
--onboard-wallet-button-border-radius: 10px;
--w3o-border-color: transparent;
}
</style>
</body>
</html>
4 changes: 2 additions & 2 deletions governance/ui/src/utils/boardroom.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getAddress } from 'ethers/lib/utils';

const MAIN_NET_URL = 'https://api.boardroom.info';
// 'https://api.boardroom.info';
const MAIN_NET_URL = 'https://staging-api.boardroom.info/';
const STAGING_URL = 'https://staging-api.boardroom.info/';

const BASE_URL = window.location.hostname === 'localhost' ? STAGING_URL : MAIN_NET_URL;
Expand Down

0 comments on commit 216db27

Please sign in to comment.