Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/kmadk/MycoNet
Browse files Browse the repository at this point in the history
  • Loading branch information
FestersNephew committed Jun 1, 2023
2 parents c915cf8 + a1c9ea6 commit d623680
Show file tree
Hide file tree
Showing 13 changed files with 16,026 additions and 1,744 deletions.
14,154 changes: 14,154 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "tensor-wallet",
"version": "1.0.0",
"homepage": "https://tensor-wallet.tensorswap.com/",
"homepage": "https://kmadk.github.io/MycoNet",
"description": "A non-custodial, in-browser wallet for Bittensor. Quick and easy to use, but not audited.",
"author": "Cameron Fairchild <[email protected]>",
"author": "kmadk <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"prebuild": "yarn clean",
Expand All @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/camfairchild/tensor-wallet.git"
"url": "https://github.com/kmadk/MycoNet.git"
},
"dependencies": {
"@emotion/react": "^11.10.0",
Expand Down
Binary file modified public/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>MycoNet &#x1D783; </title>


<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicons/favicon-32x32.png">
Expand Down
Binary file modified src/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 6 additions & 19 deletions src/assets/images/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Box from '@mui/material/Box';
import Stack from '@mui/material/Stack';

export default function Banner() {
const [open, setOpen] = useState<boolean>(true);
const [open, setOpen] = useState<boolean>(false);

return (
<Modal keepMounted
Expand Down
10 changes: 8 additions & 2 deletions src/components/Head.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { FunctionComponent } from "react"

import { Box, Grid, makeStyles, Theme, Typography } from "@material-ui/core"
import { NodeConnected } from "."

Expand All @@ -9,6 +8,11 @@ const useStyles = makeStyles((theme: Theme) => ({
paddingTop: theme.spacing(7),
},
},
mycoNetTypography: {
fontFamily: "Bungee Inline",
fontSize: "32px",
// Add more custom styles as needed
},
}))

const Head: FunctionComponent = () => {
Expand All @@ -18,7 +22,9 @@ const Head: FunctionComponent = () => {
<Grid container alignItems="center" className={classes.root}>
<Grid item xs={6}>
<Box paddingX={2}>
<Typography variant="h1" color="secondary" > MycoNet</Typography>
<Typography variant="h1" color="secondary" className={classes.mycoNetTypography}>
MycoNet
</Typography>
</Box>
</Grid>
<Grid item xs={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Logo: FunctionComponent<Props> = ({ theme, onClick }: Props) => {
<Button className={classes.root} onClick={onClick} title="Toggle Dark Theme">
<div className={classes.inner}>
<img
alt="Tensor Wallet Logo"
alt="MycoNet Logo"
src={theme ? "./assets/images/logo_dark.svg" :
"./assets/images/logo.png"
}
Expand Down
1 change: 0 additions & 1 deletion src/components/StakeTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export default function StakeTab({ stakeData, loader, refreshMeta, delegateInfo,
)
})}
</List>
<Pagination count={Math.ceil(delegateInfo.length/5)} shape="rounded" onChange={handlePageChange} page={page} />
</Stack>
}
{!!!delegateInfo.length && <Typography variant="body2" className={classes.no_neurons_error}>No Delegates exist</Typography>}
Expand Down
3 changes: 3 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<html>
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap" rel="stylesheet">
<title>MycoNet &#x1D783; </title>
<link
rel="apple-touch-icon"
Expand Down
10 changes: 5 additions & 5 deletions src/themes/substrate/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ const colors = {
white: "rgba(255, 255, 255, 1)",
paper: "rgba(238, 238, 238, 1)",
substrate: {
main: "#18FFB2",
light: "#E7FAEC",
dark: "#16DB9A",
main: "#bba97a",
light: "#bba97a",
dark: "#bba97a",
},
cyan: {
light: "rgba(92, 255, 200, 1)",
main: "rgba(24, 255, 178, 1)",
light: "rgba(0, 63, 42, 1)",
main: "rgba(0, 63, 42, 1)",
dark: "rgba(17, 179, 124, 1)",
},
pink: {
Expand Down
Loading

0 comments on commit d623680

Please sign in to comment.