Skip to content

Commit

Permalink
chore: [#3] added warning when not on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnorman committed May 12, 2022
1 parent 92c96fc commit 01499bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constants/other.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const AGREEMENT_IPFS_URL = `https://ipfs.io/ipfs/${AGREEMENT_IPFS_HASH}`;

export const PARCEL0_NFT_CONTRACT_ADDRESSES: { [key: number]: string } = {
1: ZERO_ADDRESS,
4: '0x209723a65844093Ad769d557a22742e0f661959d',
4: '0x8363f2830d19F6Eb70EcC0AF7e38Cb1009166A14',
};

export enum VIEWS {
Expand Down
12 changes: 9 additions & 3 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
--color-hover: #d7e5e0;
--color-disabled: #a7a7a7;
--color-disabled-text: gray;
--color-warning: #ff9900;
--width-max:1444px;
}

Expand Down Expand Up @@ -46,6 +47,11 @@ main {
display: flex;
justify-content: space-between;
}
.network-warning-container {
color: var(--color-warning);
align-items: center;
display: flex;
}
.connect-button-container {
border-left: 1px solid var(--color-primary);
align-items: center;
Expand Down Expand Up @@ -360,11 +366,11 @@ button.border-button {
bottom: 0;
right: 0;
left: 0;

display: flex;
align-items: center;
justify-content: center;

background: rgba(0,0,0,0.5);
}

Expand All @@ -384,4 +390,4 @@ button.border-button {
line-height: 20px;
width: 365px;
margin: 42px auto 0;
}
}

0 comments on commit 01499bf

Please sign in to comment.