Skip to content

Commit

Permalink
Remove frontend GraphQL dep
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed May 21, 2020
1 parent fa2566f commit a8ce865
Show file tree
Hide file tree
Showing 133 changed files with 7,194 additions and 6,651 deletions.
78 changes: 28 additions & 50 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,62 +1,40 @@
module.exports = {
'root': true,
'parser': 'babel-eslint',
'parserOptions': {
'ecmaVersion': 6,
'sourceType': 'module',
'ecmaFeatures': {
'jsx': true,
'impliedStrict': true,
'destructuring': true
root: true,
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
impliedStrict: true,
destructuring: true
}
},
'env': {
'browser': true,
'node': true,
'es6': true,
'mocha': true
env: {
browser: true,
node: true,
es6: true,
mocha: true
},
'extends': [
'eslint:recommended'
],
'rules': {
'computed-property-spacing': [
'error'
],
'jsx-quotes': [
'error'
],
'key-spacing': [
'error'
],
'no-case-declarations': [
'off'
],
'no-console': [
'off'
],
'no-var': [
'error'
],
'object-curly-spacing': [
'error',
'always'
],
'prefer-const': [
'error'
],
'quotes': [
extends: ['eslint:recommended'],
rules: {
'computed-property-spacing': ['error'],
'jsx-quotes': ['error'],
'key-spacing': ['error'],
'no-case-declarations': ['off'],
'no-console': ['off'],
'no-var': ['error'],
'object-curly-spacing': ['error', 'always'],
'prefer-const': ['error'],
quotes: [
'error',
'single',
{
'avoidEscape': true,
'allowTemplateLiterals': true
avoidEscape: true,
allowTemplateLiterals: true
}
],
'semi': [
'error',
'never'
],
semi: ['error', 'never'],
'require-atomic-updates': 'warn',
'no-async-promise-executor': 'warn',
'no-prototype-builtins': 'warn'
Expand Down
24 changes: 8 additions & 16 deletions .eslintrc.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,17 @@ const baseConfig = require('./.eslintrc.js')

module.exports = {
...baseConfig,
'globals': {
'web3': true,
'originTest': true
globals: {
web3: true,
originTest: true,
},
'extends': [
...baseConfig.extends,
'plugin:react/recommended'
],
'plugins': [
'react'
],
'rules': {
extends: [...baseConfig.extends, 'plugin:react/recommended'],
plugins: ['react'],
rules: {
...baseConfig.rules,
'react/no-deprecated': 'off',
'react/no-children-prop': 'off',
'react/prop-types': 'off',
'camelcase': [
'error',
{ properties: "never" }
]
}
camelcase: ['error', { properties: 'never' }],
},
}
6 changes: 0 additions & 6 deletions backend/dist/5.css

This file was deleted.

6 changes: 0 additions & 6 deletions backend/dist/6.css

This file was deleted.

6 changes: 0 additions & 6 deletions backend/dist/app.2d4d8a5f.css

This file was deleted.

1 change: 0 additions & 1 deletion backend/dist/app.2d4d8a5f.js

This file was deleted.

6 changes: 6 additions & 0 deletions backend/dist/app.3092cfab.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/dist/app.3092cfab.js

Large diffs are not rendered by default.

143 changes: 108 additions & 35 deletions backend/dist/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -1402,51 +1402,82 @@
text-align: center;
}

.crypto-chooser .tokens > div:hover {
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
.checkout-payment-method {
border: 1px solid #eee;
border-radius: 0.5rem;
padding: 1rem;
}

.crypto-chooser .tokens > div.active {
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
border-color: #007bff;
.checkout-payment-method label {
margin-bottom: 0;
}

.crypto-chooser .tokens > div .sm {
font-size: 0.75rem;
margin-top: 0.25rem;
.checkout-payment-method label .description {
font-size: 0.875rem;
color: #666;
}

.crypto-chooser .tokens > div {
border: 1px solid #eee;
padding: 1rem;
border-radius: 0.5rem;
margin-right: 1rem;
.checkout-payment-method label.inactive:hover {
color: #666;
}

.checkout-payment-method label.inactive {
cursor: pointer;
text-align: center;
opacity: 0.75;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
filter: alpha(opacity=75);
}

.crypto-chooser .tokens {
.checkout-payment-method label:not(:first-child) {
border-top: 1px solid #eee;
margin-top: 1rem;
padding-top: 1rem;
}

.checkout-payment-method .radio input {
margin-right: 0.5rem;
margin-bottom: 3px;
}

.checkout-payment-method .radio .cards > div.visa {
background: url(images/visa.svg);
}

.checkout-payment-method .radio .cards > div.master {
background: url(images/master.svg);
}

.checkout-payment-method .radio .cards > div.amex {
background: url(images/amex.svg);
}

.checkout-payment-method .radio .cards > div.discover {
background: url(images/discover.svg);
}

.checkout-payment-method .radio .cards > div:last-child {
margin-right: 8px;
}

.checkout-payment-method .radio .cards > div {
width: 38px;
height: 24px;
margin-right: 4px;
}

.checkout-payment-method .radio .cards {
margin-left: auto;
display: flex;
font-size: 12px;
color: #737373;
align-items: center;
}

@media (max-width: 767.98px) {
.crypto-chooser .tokens > div:not(:last-child) {
margin-bottom: 1rem;
}
.checkout-payment-method .radio {
display: flex;
align-items: baseline;
}

.crypto-chooser .tokens {
-ms-flex-direction: column;
-moz-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
}
.beta-warning {
margin-top: 2rem;
font-size: 0.875rem;
}

.uphold-logout {
Expand Down Expand Up @@ -1936,9 +1967,51 @@
background-color: #ff2000;
}

.beta-warning {
margin-top: 2rem;
font-size: 0.875rem;
.pay-with-crypto .tokens > div:hover {
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
}

.pay-with-crypto .tokens > div.active {
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
filter: alpha(opacity=100);
border-color: #007bff;
}

.pay-with-crypto .tokens > div .sm {
font-size: 0.75rem;
margin-top: 0.25rem;
}

.pay-with-crypto .tokens > div {
border: 1px solid #eee;
padding: 1rem;
border-radius: 0.5rem;
margin-right: 1rem;
cursor: pointer;
text-align: center;
opacity: 0.75;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
filter: alpha(opacity=75);
}

.pay-with-crypto .tokens {
display: flex;
}

@media (max-width: 767.98px) {
.pay-with-crypto .tokens > div:not(:last-child) {
margin-bottom: 1rem;
}

.pay-with-crypto .tokens {
-ms-flex-direction: column;
-moz-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
}
}

.order-summary {
Expand Down
114 changes: 0 additions & 114 deletions backend/dist/dist/0.2d4d8a5f.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions backend/dist/dist/2.3092cfab.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion backend/dist/dist/3.2d4d8a5f.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions backend/dist/dist/3.3092cfab.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a8ce865

Please sign in to comment.