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-source-filesystem": "^2.3.8",
"gatsby-transformer-sharp": "2.7.0",
"memo-get-gatsby": "^1.0.4",
"prop-types": "^15.7.2",
"qrcode.react": "^1.0.0",
"react": "^16.12.0",
+24 -24
View File
@@ -3,11 +3,11 @@ import './footer.css'
import { Row, Col } from 'adminlte-2-react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faGithub } from '@fortawesome/free-brands-svg-icons'
import { getWalletInfo } from '../localWallet'
// import { getWalletInfo } from '../localWallet'
import PropTypes from 'prop-types'
// 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.
import Memo from '../../services/memo-hash'
@@ -45,7 +45,7 @@ class Footer extends React.Component {
async handleMemoService () {
// This is a hard-coded hash or 'checkpoint' to use in times when the
// connection fails.
let hash = 'QmXbaYeTMMsQnLYpthpfoUJhz8o1DWqjoUwLUhC9KFUrAW'
const hash = 'QmXbaYeTMMsQnLYpthpfoUJhz8o1DWqjoUwLUhC9KFUrAW'
// Try to retrieve the hash from the BCH blockchain.
try {
@@ -114,61 +114,61 @@ class Footer extends React.Component {
render () {
return (
<section id="footer">
<Row className="footer-container">
<Col md={5} className="footer-section">
<section id='footer'>
<Row className='footer-container'>
<Col md={5} className='footer-section'>
<Row>
<Col md={12} className="mb-1">
<p className="section-tittle">Produced By</p>
<Col md={12} className='mb-1'>
<p className='section-tittle'>Produced By</p>
<a
href="https://psfoundation.cash/"
target="_blank"
rel="noopener noreferrer"
href='https://psfoundation.cash/'
target='_blank'
rel='noopener noreferrer'
>
Permissionless Software Foundation
</a>
</Col>
<Col md={12}>
<p className="section-tittle">Source Code</p>
<FontAwesomeIcon className="" size="lg" icon={faGithub} />
<p className='section-tittle'>Source Code</p>
<FontAwesomeIcon className='' size='lg' icon={faGithub} />
<a
href="https://github.com/Permissionless-Software-Foundation/gatsby-ipfs-web-wallet"
target="_blank"
rel="noopener noreferrer"
href='https://github.com/Permissionless-Software-Foundation/gatsby-ipfs-web-wallet'
target='_blank'
rel='noopener noreferrer'
>
Github
</a>
</Col>
</Row>
</Col>
<Col md={7} className="footer-section">
<div className="pull-right">
<span className="section-tittle">
<Col md={7} className='footer-section'>
<div className='pull-right'>
<span className='section-tittle'>
Ways to access this web-app
</span>
<ul>
<li id="web">
<li id='web'>
<span>
<b>Web</b>
</span>
<b>|</b>
<a href="https://wallet.fullstack.cash">
<a href='https://wallet.fullstack.cash'>
wallet.fullstack.cash
</a>
</li>
<li id="tor">
<li id='tor'>
<span>
<b>Tor</b>
</span>
<b>|</b>
<a href="http://puh2fyj2ly5b4p5m.onion/">
<a href='http://puh2fyj2ly5b4p5m.onion/'>
puh2fyj2ly5b4p5m.onion
</a>
</li>
<li id="ipfs">
<li id='ipfs'>
<span>
<b>IPFS</b>
</span>