From 255bf8198b92e9fd5100e7c505cc0b331fa0531b Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 8 Jul 2020 18:31:22 -0700 Subject: [PATCH] fix(customized): Customized for wallet.fullstack.cash --- package-lock.json | 28 ++++++++-------- package.json | 2 +- src/about/index.js | 33 +++++++++++++++++++ .../components/menu-components.js | 8 ++--- .../components/site-config.js | 4 +-- 5 files changed, 54 insertions(+), 21 deletions(-) create mode 100644 src/about/index.js diff --git a/package-lock.json b/package-lock.json index 310cf44..38f6137 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1069,9 +1069,9 @@ } }, "@chris.troutner/bch-js": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@chris.troutner/bch-js/-/bch-js-3.3.0.tgz", - "integrity": "sha512-MWEWfmymURHShV8gihX/vewjE66g0r3uJw5/ws0e/UBQLxW/G0VKNvkoe0x6aNMv4qnWuEeTlAedxFy4giTf0g==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@chris.troutner/bch-js/-/bch-js-3.3.3.tgz", + "integrity": "sha512-P5bSJPglZSigolL2UAmJ+BgFb641SjrlUmBYetDBcunCKSZQHJ1Z5ihKvcJJBNjSBnrOAXRQtKGHTzLHKFaIRw==", "requires": { "@uppy/core": "^1.10.4", "@uppy/tus": "^1.5.12", @@ -20807,9 +20807,9 @@ } }, "gatsby-ipfs-web-wallet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/gatsby-ipfs-web-wallet/-/gatsby-ipfs-web-wallet-1.1.7.tgz", - "integrity": "sha512-QBztlV1E6b79iEAxHsXwL2vfIqoZrLGxRmoU+m9KvBJcNpkZ3deWUPcDTgLi1R5CcyKAxYiz6oG1y+rIMDVGVg==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/gatsby-ipfs-web-wallet/-/gatsby-ipfs-web-wallet-1.2.2.tgz", + "integrity": "sha512-c7ihCFKeVEWeLsMHv76hrQPpJxKV1eic+dmYUSs7VCPVtlS6Ld+cvUcT0o2dgCqYVPqrvXUv64IJbSxiM1cC8Q==", "requires": { "adminlte-2-react": "^0.1.27", "gatsby": "^2.23.7", @@ -20821,7 +20821,7 @@ "gatsby-plugin-sharp": "^2.6.17", "gatsby-source-filesystem": "^2.3.8", "gatsby-transformer-sharp": "2.5.3", - "minimal-slp-wallet": "1.3.4", + "minimal-slp-wallet": "1.3.9", "prop-types": "^15.7.2", "qrcode.react": "^1.0.0", "react": "^16.12.0", @@ -24139,9 +24139,9 @@ "integrity": "sha1-vLQEXI3QU5wTS8FIjN0+dop6nlE=" }, "js-base64": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.2.tgz", - "integrity": "sha512-1hgLrLIrmCgZG+ID3VoLNLOSwjGnoZa8tyrUdEteMeIzsT6PH7PMLyUvbDwzNE56P3PNxyvuIOx4Uh2E5rzQIw==" + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.3.tgz", + "integrity": "sha512-fiUvdfCaAXoQTHdKMgTvg6IkecXDcVz6V5rlftUTclF9IKBjMizvSdQaCl/z/6TApDeby5NL+axYou3i0mu1Pg==" }, "js-sha256": { "version": "0.9.0", @@ -25430,11 +25430,11 @@ "integrity": "sha512-zd6KCAyXgmq6FV1mR10oKXYtvmA9vRoB6xPSTUJTbFApCtkefDnYueVR1gkof3KcdLZo1Y8mjF2DFmQMIxsHNQ==" }, "minimal-slp-wallet": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/minimal-slp-wallet/-/minimal-slp-wallet-1.3.4.tgz", - "integrity": "sha512-nkykRXjNw9+ZEA207X/x8qqWVzdFWXzbpDxAo36dfEFkX06b/93hPsWdS3x7s4C7bawMTkFSd22HPfSk1Pom0w==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/minimal-slp-wallet/-/minimal-slp-wallet-1.3.9.tgz", + "integrity": "sha512-PixaM7h81XBXgzkxfWAg//feaTAa64kKVADw6PNKaKvdd+EUq64UDDAUxXjDLXaTjX6SiQBzzxiZthy/ZZV6cQ==", "requires": { - "@chris.troutner/bch-js": "3.3.0", + "@chris.troutner/bch-js": "3.3.3", "apidoc": "^0.23.0", "bch-donation": "^1.1.0", "crypto-js": "^4.0.0" diff --git a/package.json b/package.json index 2c3de98..7167052 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "gatsby": "^2.23.7", - "gatsby-ipfs-web-wallet": "^1.1.7" + "gatsby-ipfs-web-wallet": "^1.2.2" }, "repository": { "type": "git", diff --git a/src/about/index.js b/src/about/index.js new file mode 100644 index 0000000..251c161 --- /dev/null +++ b/src/about/index.js @@ -0,0 +1,33 @@ +/* + About +*/ + +import React from 'react' +import { Row, Col, Content, Box, Button } from 'adminlte-2-react' + +class About extends React.Component { + render () { + return ( + + + + + This is the official web wallet provided by FullStack.cash. + + + + + ) + } +} + +export default About diff --git a/src/gatsby-ipfs-web-wallet/components/menu-components.js b/src/gatsby-ipfs-web-wallet/components/menu-components.js index 3d43c1d..f11129e 100644 --- a/src/gatsby-ipfs-web-wallet/components/menu-components.js +++ b/src/gatsby-ipfs-web-wallet/components/menu-components.js @@ -8,15 +8,15 @@ import React from 'react' import { Sidebar } from 'adminlte-2-react' -import DemoComponent from '../../demo-component' +import About from '../../about' const { Item } = Sidebar const MenuComponents = [ { - key: 'Demo Component', - component: , - menuItem: + key: 'About', + component: , + menuItem: } ] diff --git a/src/gatsby-ipfs-web-wallet/components/site-config.js b/src/gatsby-ipfs-web-wallet/components/site-config.js index 60bbaf2..34b6703 100644 --- a/src/gatsby-ipfs-web-wallet/components/site-config.js +++ b/src/gatsby-ipfs-web-wallet/components/site-config.js @@ -4,8 +4,8 @@ */ const config = { - title: 'Wallet Demo', - titleShort: 'Demo', + title: 'FullStack.cash', + titleShort: 'PSF', balanceText: 'BCH Balance', balanceIcon: 'fab-bitcoin' }