Removing memo-get-gatsby as a dependency

This commit is contained in:
Chris Troutner
2020-12-18 14:33:56 -08:00
parent 8f54b1f561
commit 7e9d9e2bda
3 changed files with 50 additions and 2441 deletions
+26 -2416
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -31,7 +31,6 @@
"gatsby-plugin-sharp": "^2.9.0", "gatsby-plugin-sharp": "^2.9.0",
"gatsby-source-filesystem": "^2.3.8", "gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-sharp": "2.7.0", "gatsby-transformer-sharp": "2.7.0",
"memo-get-gatsby": "^1.0.4",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"qrcode.react": "^1.0.0", "qrcode.react": "^1.0.0",
"react": "^16.12.0", "react": "^16.12.0",
+24 -24
View File
@@ -3,11 +3,11 @@ import './footer.css'
import { Row, Col } from 'adminlte-2-react' import { Row, Col } from 'adminlte-2-react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faGithub } from '@fortawesome/free-brands-svg-icons' import { faGithub } from '@fortawesome/free-brands-svg-icons'
import { getWalletInfo } from '../localWallet' // import { getWalletInfo } from '../localWallet'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
// Get the IPFS hash from the BCH Blockchain. // Get the IPFS hash from the BCH Blockchain.
import MemoGet from 'memo-get-gatsby' // import MemoGet from 'memo-get-gatsby'
// Get the IPFS hash from the BCH Blockchain. // Get the IPFS hash from the BCH Blockchain.
import Memo from '../../services/memo-hash' import Memo from '../../services/memo-hash'
@@ -45,7 +45,7 @@ class Footer extends React.Component {
async handleMemoService () { async handleMemoService () {
// This is a hard-coded hash or 'checkpoint' to use in times when the // This is a hard-coded hash or 'checkpoint' to use in times when the
// connection fails. // connection fails.
let hash = 'QmXbaYeTMMsQnLYpthpfoUJhz8o1DWqjoUwLUhC9KFUrAW' const hash = 'QmXbaYeTMMsQnLYpthpfoUJhz8o1DWqjoUwLUhC9KFUrAW'
// Try to retrieve the hash from the BCH blockchain. // Try to retrieve the hash from the BCH blockchain.
try { try {
@@ -114,61 +114,61 @@ class Footer extends React.Component {
render () { render () {
return ( return (
<section id="footer"> <section id='footer'>
<Row className="footer-container"> <Row className='footer-container'>
<Col md={5} className="footer-section"> <Col md={5} className='footer-section'>
<Row> <Row>
<Col md={12} className="mb-1"> <Col md={12} className='mb-1'>
<p className="section-tittle">Produced By</p> <p className='section-tittle'>Produced By</p>
<a <a
href="https://psfoundation.cash/" href='https://psfoundation.cash/'
target="_blank" target='_blank'
rel="noopener noreferrer" rel='noopener noreferrer'
> >
Permissionless Software Foundation Permissionless Software Foundation
</a> </a>
</Col> </Col>
<Col md={12}> <Col md={12}>
<p className="section-tittle">Source Code</p> <p className='section-tittle'>Source Code</p>
<FontAwesomeIcon className="" size="lg" icon={faGithub} /> <FontAwesomeIcon className='' size='lg' icon={faGithub} />
<a <a
href="https://github.com/Permissionless-Software-Foundation/gatsby-ipfs-web-wallet" href='https://github.com/Permissionless-Software-Foundation/gatsby-ipfs-web-wallet'
target="_blank" target='_blank'
rel="noopener noreferrer" rel='noopener noreferrer'
> >
Github Github
</a> </a>
</Col> </Col>
</Row> </Row>
</Col> </Col>
<Col md={7} className="footer-section"> <Col md={7} className='footer-section'>
<div className="pull-right"> <div className='pull-right'>
<span className="section-tittle"> <span className='section-tittle'>
Ways to access this web-app Ways to access this web-app
</span> </span>
<ul> <ul>
<li id="web"> <li id='web'>
<span> <span>
<b>Web</b> <b>Web</b>
</span> </span>
<b>|</b> <b>|</b>
<a href="https://wallet.fullstack.cash"> <a href='https://wallet.fullstack.cash'>
wallet.fullstack.cash wallet.fullstack.cash
</a> </a>
</li> </li>
<li id="tor"> <li id='tor'>
<span> <span>
<b>Tor</b> <b>Tor</b>
</span> </span>
<b>|</b> <b>|</b>
<a href="http://puh2fyj2ly5b4p5m.onion/"> <a href='http://puh2fyj2ly5b4p5m.onion/'>
puh2fyj2ly5b4p5m.onion puh2fyj2ly5b4p5m.onion
</a> </a>
</li> </li>
<li id="ipfs"> <li id='ipfs'>
<span> <span>
<b>IPFS</b> <b>IPFS</b>
</span> </span>