Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #16

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
e77eddf
farms UI
shrijana Aug 19, 2021
4fc798c
farm testnet
shrijana Aug 19, 2021
629b016
update env files
shrijana Aug 19, 2021
32861f0
update package.json
shrijana Aug 19, 2021
bda8bb0
update logo
shrijana Aug 20, 2021
8a81e20
seperate ape and pcs link
shrijana Aug 21, 2021
0428ced
change to pool
shrijana Aug 21, 2021
9dc3fdc
syrup apy
shrijana Aug 21, 2021
11a32a1
update pool LP
shrijana Aug 21, 2021
089a3ab
add pool
shrijana Aug 21, 2021
fb3a030
static value added
manishbasnetnp Aug 21, 2021
f2bda98
Merge pull request #1 from bisharesindexfund/change_request/bson-value
shrijana Aug 21, 2021
0ec7379
update texts
shrijana Aug 21, 2021
55f99cc
update texts
shrijana Aug 21, 2021
3e1b362
add pools
shrijana Aug 21, 2021
87bb0c5
typo
shrijana Aug 21, 2021
365c321
update texts
shrijana Aug 21, 2021
e056c16
update overlay
shrijana Aug 21, 2021
b02c583
update staked text
shrijana Aug 21, 2021
5b99e27
small fix
shrijana Aug 21, 2021
fe6e61a
token staked fix
shrijana Aug 21, 2021
58d79ea
update apr price
shrijana Aug 22, 2021
714ee66
fixes for biape-bnb apr
shrijana Aug 22, 2021
67555c9
Merge pull request #2 from bisharesindexfund/staging
shrijana Aug 22, 2021
30463e3
update sousID
shrijana Aug 22, 2021
bd7e7e4
added new ui
timofey-dulkin Aug 22, 2021
1ed5bc5
Merge pull request #1 from bisharesindexfund/newUi
timofey-dulkin Aug 22, 2021
dafe780
fixed
timofey-dulkin Aug 22, 2021
0180f3c
Merge pull request #2 from bisharesindexfund/fixed_new_ui
timofey-dulkin Aug 22, 2021
0d7860d
fix (#3)
timofey-dulkin Aug 23, 2021
bc90355
fixed useWeb3react (#4)
timofey-dulkin Aug 23, 2021
6d8cc3c
fixed UI (#5)
timofey-dulkin Aug 23, 2021
cb860f9
added banner (#6)
timofey-dulkin Aug 23, 2021
9f448ac
deleted title (#7)
timofey-dulkin Aug 23, 2021
0992101
update footer grid size
shrijana Aug 24, 2021
51d86bc
update footer links
shrijana Aug 24, 2021
6790629
added lp token price (#8)
timofey-dulkin Aug 25, 2021
ae19063
added new farm
timofey-dulkin Sep 2, 2021
89bfbdb
change address
timofey-dulkin Sep 2, 2021
3a5dbb6
change address
timofey-dulkin Sep 2, 2021
fa3a692
change address
timofey-dulkin Sep 2, 2021
c586273
Merge pull request #4 from bisharesindexfund/master_new
outwitting Sep 6, 2021
441c68a
Fixes (#5)
IgorVerhusha Sep 6, 2021
0716615
Merge branch 'master' into staging
timofey-dulkin Sep 9, 2021
1380301
fixed
timofey-dulkin Sep 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ REACT_APP_NODE_2 = "https://bsc-dataseed.binance.org"
# 10+ nodes balanced in each region, global
REACT_APP_NODE_3 = "https://bsc-dataseed.binance.org"

# testnet
#REACT_APP_CHAIN_ID = "97"
#REACT_APP_NODE_1 = "https://data-seed-prebsc-1-s1.binance.org:8545/"
#REACT_APP_NODE_2 = "https://data-seed-prebsc-2-s1.binance.org:8545/"
#REACT_APP_NODE_3 = "https://data-seed-prebsc-1-s2.binance.org:8545/"
5 changes: 5 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ REACT_APP_NODE_2 = "https://bsc-dataseed.binance.org"
# 10+ nodes balanced in each region, global
REACT_APP_NODE_3 = "https://bsc-dataseed.binance.org"

# testnet
#REACT_APP_CHAIN_ID = "97"
#REACT_APP_NODE_1 = "https://data-seed-prebsc-1-s1.binance.org:8545/"
#REACT_APP_NODE_2 = "https://data-seed-prebsc-2-s1.binance.org:8545/"
#REACT_APP_NODE_3 = "https://data-seed-prebsc-1-s2.binance.org:8545/"
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"radix": 0,
"import/no-extraneous-dependencies": 0
// End temporary rules
Expand Down
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{
"name": "goose-frontend",
"name": "bishares-frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "react-scripts build",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "react-scripts build",
"build-mainnet": "react-scripts build && rm -rf ../farms-mainnet/* && mv ./build/* ../farms-mainnet/",
"build-testnet": "react-scripts build && rm -rf ../farms-testnet/* && mv ./build/* ../farms-testnet/",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'"
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"uikit": "cd ../bishares-uikit && yarn && yarn build && rm -rf ../bishares-frontend-farms/node_modules/@pancakeswap-libs/uikit/dist && cp -Rp ./dist ../bishares-frontend-farms/node_modules/@pancakeswap-libs/uikit/"
},
"husky": {
"hooks": {
Expand All @@ -30,17 +33,22 @@
]
},
"dependencies": {
"@apollo/client": "^3.4.9",
"@binance-chain/bsc-use-wallet": "^0.8.1",
"@crowdin/crowdin-api-client": "^1.10.1",
"@ethersproject/abi": "^5.0.7",
"@pancakeswap-libs/uikit": "goosedefi/goose-uikit",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@pancakeswap-libs/uikit": "bisharesindexfund/bishares-uikit",
"@reduxjs/toolkit": "^1.5.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.5",
"@types/styled-components": "^5.1.7",
"bignumber.js": "^9.0.0",
"chart.js": "^2.9.4",
"classnames": "^2.3.1",
"graphql": "^15.5.1",
"iframe-resizer-react": "^1.1.0",
"lodash": "^4.17.20",
"react": "^17.0.1",
Expand Down
40 changes: 40 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bishares Finance</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// MIT License
// https://github.com/rafgraph/spa-github-pages
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// https://www.foo.tld/?/one/two&a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)

// If you're creating a Project Pages site and NOT using a custom domain,
// then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe
// Otherwise, leave pathSegmentsToKeep as 0.
var pathSegmentsToKeep = 0;

var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' +
l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);

</script>
</head>
<body>
</body>
</html>
Binary file added public/BiSharesLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Graze-fade.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Loading