Skip to content

Commit

Permalink
add apps link
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Feb 19, 2024
1 parent 65bb08f commit 423114e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .note
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm rub build
16 changes: 11 additions & 5 deletions src/PGMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export default function PGMenu() {
setAnchorEl(null);
};

const gotoApps = () => {
window.open("https://apps.polkagate.xyz");
};

return (
<>
<Button
Expand All @@ -24,7 +28,7 @@ export default function PGMenu() {
aria-haspopup="true"
aria-expanded={open ? 'true' : undefined}
onClick={handleClick}
sx={{ fontSize: 15, p: 'auto', color:'#e73188' }}
sx={{ fontSize: 15, p: 'auto', color: '#e73188' }}
>
Products
</Button>
Expand All @@ -37,7 +41,7 @@ export default function PGMenu() {
'aria-labelledby': 'basic-button',
}}
>
<Link smooth to="/#pg" style={{ textDecoration: 'none' }}>
<Link smooth to="/#pg" style={{ textDecoration: 'none' }}>
<MenuItem onClick={handleClose}>
Polkagate extension
</MenuItem>
Expand All @@ -47,19 +51,21 @@ export default function PGMenu() {
Staking pools
</MenuItem>
</Link>
<MenuItem onClick={gotoApps} sx={{color:"blue"}}>
Apps
</MenuItem>
</Menu>

<Link smooth to="/#team">
<Button
sx={{ fontSize: 15, color:'#e73188' }}
sx={{ fontSize: 15, color: '#e73188' }}
>
Team
</Button>
</Link>

<Link smooth to="/#contacts">
<Button
sx={{ fontSize: 15, color:'#e73188' }}
sx={{ fontSize: 15, color: '#e73188' }}
>
Contacts
</Button>
Expand Down
3 changes: 1 addition & 2 deletions src/Pools.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function Pools() {

getPrices(chainNames).then((prices) => {
setPrices(prices);
console.log('prices:', prices)
}).catch(console.error);
}, []);

Expand All @@ -22,7 +21,7 @@ function Pools() {
<Grid container justifyContent="space-between" id='pools' sx={{ color: "white", bgcolor: hexToRgba("#180710", 0.88), position: 'inherit', py: '50px' }}>
<Grid item xs={12} sx={{ textAlign: "center", pb: 2 }}>
<Typography style={{ display: "inline-block" }} variant="h5" width='100%' fontWeight={700}>
Join our staking pools now!
Join our staking pools!
</Typography>
<Typography align="left" style={{ display: "inline-block" }} variant="subtitle1" fontWeight={500} width='80%' py='30px'>
Polkagate provides staking pools on both the Polkadot and Kusama blockchains, allowing you to effortlessly participate in them using our extension. By joining our Polkadot pool with a minimum of 1 DOT or our Kusama pool with just 0.01 KSM, you can earn rewards. We carefully nominate reliable validators that offer high returns
Expand Down

0 comments on commit 423114e

Please sign in to comment.