diff --git a/src/expression/components/BitwiseResultViewModel.ts b/src/expression/components/BitwiseResultViewModel.ts index 76e55ff..db5c99e 100644 --- a/src/expression/components/BitwiseResultViewModel.ts +++ b/src/expression/components/BitwiseResultViewModel.ts @@ -157,8 +157,6 @@ export default class BitwiseResultViewModel { static createModel(expr : Expression, emphasizeBytes: boolean) : BitwiseResultViewModel { - console.log(expr); - if(expr instanceof ListOfNumbers) { return BitwiseResultViewModel.buildListOfNumbers(expr, { emphasizeBytes: emphasizeBytes, diff --git a/src/index.css b/src/index.css index 42963f6..c977216 100644 --- a/src/index.css +++ b/src/index.css @@ -18,6 +18,16 @@ code { font-size: 1.2em; font-weight: bold; } .mono { font-family: monospace; font-size: 1.3em } +.button-large { + padding: 10px; + border: solid 1px white; + border-radius: 5px; + text-decoration: none; + display: inline-block; +} + +.button-large:hover { background: rgba(255, 255, 255, 0.2);} + .expressionInput { padding: 3px; outline: none; @@ -104,6 +114,8 @@ button { border: none; text-decoration: underline;} .light button.btn:disabled { color: #888; background-color: inherit; } .light .accent1 { color:rgb(56, 161, 103)} .light .expressionInput { border-bottom: solid 1px rgba(0, 0, 0, 0.5);} +.light .button-large { border: solid 1px gray; } +.light .button-large:hover { background: rgba(0, 0, 0, 0.2);} /* Dark */ .dark { background: #121212; color: white;} diff --git a/src/shell/components/DisplayResultView.tsx b/src/shell/components/DisplayResultView.tsx index 0111ae9..ecdac18 100644 --- a/src/shell/components/DisplayResultView.tsx +++ b/src/shell/components/DisplayResultView.tsx @@ -38,7 +38,7 @@ const DisplayResultView: React.FunctionComponent = (props) =
> {props.input} - {return await copyLink(e)}} href={link}> + {return await copyLink(e)}} href={link}> {copiedText} diff --git a/src/shell/components/DonateResultView.css b/src/shell/components/DonateResultView.css index bb1ed39..f66519b 100644 --- a/src/shell/components/DonateResultView.css +++ b/src/shell/components/DonateResultView.css @@ -1,3 +1,12 @@ .donate-result-view .copy-button { cursor: pointer; padding: 5px} .donate-result-view .copy-button svg { margin-right: 5px;} -.donate-result-view .qrcode-container { background: white; display: inline-block; padding: 10px} \ No newline at end of file +.donate-result-view .qrcode-container { background: white; display: inline-block; padding: 10px} +.donate-result-view .section { + margin-top: 20px; +} + +.light .donate-result-view .paypal-button { border: solid 1px gray; } + +.donate-result-view .paypal-button svg { + margin: 0 5px; +} \ No newline at end of file diff --git a/src/shell/components/DonateResultView.tsx b/src/shell/components/DonateResultView.tsx index c6dd720..95eca97 100644 --- a/src/shell/components/DonateResultView.tsx +++ b/src/shell/components/DonateResultView.tsx @@ -3,6 +3,7 @@ import React, { useState} from 'react'; import { faClipboard} from "@fortawesome/free-solid-svg-icons"; import "./DonateResultView.css"; import { sendAnalyticsEvent } from '../analytics'; +import { faPaypal } from '@fortawesome/free-brands-svg-icons'; function DonateResultView() { @@ -10,19 +11,25 @@ function DonateResultView() { const [state, setState] = useState('default'); const copiedCss = state == "copied" ? "" : "hidden"; - const addr = "1HR3PCeBsv5BFijqqfCh4AY9UturmjfmQA"; + const addr = "bc1qyv08z29776uwdwy2m0c77gpgpupzr78jpcnraq"; return
-

Thank you for your interest in donation. At this point BitwiseCmd can only accept Bitcoin donations.

-

+

Thank you for your interest in donation. At this point BitwiseCmd can accept donations in Bitcoin or via PayPayl.

+ +
+

PayPal

+

+ + + Donate via PayPal + +

+
+ +
+

BitCoin

BTC Address: {addr} copied -

-

- - - - -

+
function copy() { diff --git a/src/shell/components/TopLinks.css b/src/shell/components/TopLinks.css index 425a731..6667611 100644 --- a/src/shell/components/TopLinks.css +++ b/src/shell/components/TopLinks.css @@ -1,4 +1,4 @@ .top-links { position: absolute; right: 2em; top: 1em; list-style-type: none; margin: 0 } .top-links li { float: left; } -.top-links a { display: inline-block; padding: 5px 10px} \ No newline at end of file +.top-links a, .top-links button { display: inline-block; padding: 5px 10px} \ No newline at end of file diff --git a/src/shell/components/TopLinks.tsx b/src/shell/components/TopLinks.tsx index 3c2eed7..c7f0d35 100644 --- a/src/shell/components/TopLinks.tsx +++ b/src/shell/components/TopLinks.tsx @@ -9,9 +9,9 @@ function TopLinks() { return