Skip to content

Commit

Permalink
Merge pull request #918 from QuickSwap/dev2
Browse files Browse the repository at this point in the history
Merge dev to master
  • Loading branch information
sameepsi authored Jul 19, 2023
2 parents 467b691 + f9a27aa commit 067e9f9
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ REACT_APP_MELD_KEY="WGv2HQMG8hhtVSLqeBv8qp:PeX9RyVaFvwYZMajtn2rdMySqFkUT6hsVg1ek
REACT_APP_INTRACT_KEY="64395bfd8bf642baf0147eab"
REACT_APP_SAFE_URL="https://zksafe.quickswap.exchange/"
REACT_APP_PERPS_URL="https://perps.quickswap.exchange/#/trade"
REACT_APP_BOS_URL="https://bos.quickswap.exchange/"
REACT_APP_TOS_VERSION="1"
Binary file modified src/assets/images/social/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const Header: React.FC = () => {
const showLeaderboard = config['leaderboard']['available'];
const showSafe = config['safe']['available'];
const showPerps = config['perps']['available'];
const showBOS = config['bos']['available'];
const menuItems = [];

const swapCurrencyStr = useMemo(() => {
Expand Down Expand Up @@ -205,6 +206,17 @@ const Header: React.FC = () => {
isNew: true,
});
}
if (showBOS) {
menuItems.push({
link: '/bos',
text: 'BOS',
id: 'bos-page-link',
isExternal: true,
target: '_blank',
externalLink: process?.env?.REACT_APP_BOS_URL || '',
isNew: true,
});
}
if (showLeaderboard) {
menuItems.push({
link: '/leader-board',
Expand Down
3 changes: 3 additions & 0 deletions src/config/dogechain.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
},
"perps": {
"available": true
},
"bos": {
"available": false
}
}
3 changes: 3 additions & 0 deletions src/config/polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
},
"perps": {
"available": true
},
"bos": {
"available": false
}
}
3 changes: 3 additions & 0 deletions src/config/zkmainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
},
"perps": {
"available": true
},
"bos": {
"available": true
}
}
2 changes: 0 additions & 2 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ export const GammaPairs: {
address: '0x62f88fb208df717b035325d065c6919d7913b937',
token0Address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
token1Address: '0xbbba073c31bf03b8acf7c28ef0738decf3695683',
ableToFarm: true,
pid: 47,
},
],
Expand All @@ -740,7 +739,6 @@ export const GammaPairs: {
address: '0x706bae8828c260d5e52ccfa96f1258a2d2f6fdda',
token0Address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
token1Address: '0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc',
ableToFarm: true,
pid: 48,
},
],
Expand Down

0 comments on commit 067e9f9

Please sign in to comment.