This commit is contained in:
Sean Yesmunt 2021-03-28 10:38:52 -04:00
parent 7f44172a97
commit 011d41e518
5 changed files with 140 additions and 14 deletions

3
component/stripe.jsx Normal file
View file

@ -0,0 +1,3 @@
export function Stripe() {
return <>insert stripe</>;
}

27
i18n.js Normal file
View file

@ -0,0 +1,27 @@
export const m = { title: 'title' };
const en = {
title: 'LBRY, THE SEC, & THE FUTURE OF CRYPTO',
};
const es = {
title: 'Hola amigo',
};
const languages = {
es,
};
export function t(string, lang) {
let val;
if (languages[lang]) {
val = languages[lang][string];
}
if (val) {
return val;
} else {
return en[string];
}
}

View file

@ -11,6 +11,7 @@
"next": "10.0.9",
"react": "17.0.2",
"react-dom": "17.0.2",
"stripe": "^8.140.0",
"twitter": "^1.7.1"
},
"devDependencies": {

View file

@ -1,12 +1,19 @@
import React from 'react';
import Head from 'next/head';
import { Twitter } from '../component/twitter';
import { Stripe } from '../component/stripe';
import { t, m } from '../i18n';
export default function Home() {
const [email, setEmail] = React.useState('');
const [emailLoading, setEmailLoading] = React.useState(false);
const [emailError, setEmailError] = React.useState();
const [emailSuccess, setEmailSuccess] = React.useState();
const lang = 'es'; // req.query.lang || 'en'
function __(message) {
return t(message, lang);
}
function handleEmailSubmit(e) {
e.preventDefault();
@ -42,7 +49,7 @@ export default function Home() {
return (
<div>
<Head>
<title>LBRY, THE SEC, & THE FUTURE OF CRYPTO</title>
<title>{__(m.title)}</title>
<link rel="icon" href="/favicon.ico" />
<meta
@ -53,7 +60,7 @@ export default function Home() {
</Head>
<header>
<span className="title">LBRY, THE SEC, & THE FUTURE OF CRYPTO</span>
<span className="title">{__(m.title)}</span>
<div className="header__links">
<a
@ -88,23 +95,30 @@ export default function Home() {
</div>
<div className="content">
<h2>What is happening?</h2>
<h2>Whats the big deal?</h2>
<div className="content__subtitle">
The SEC is bringing a case against LBRY, Inc, which could harm the
entire cryptocurrency space.
The entire blockchain industry is at risk in the US and many hard
working people could lose their jobs & livelihood!
</div>
<p>
The Securities and Exchange Commission has filed a case against
LBRY, Inc. alleging that all distributions of LBRY Credits by LBRY,
Inc. are unregistered securities offerings.
The SEC is claiming the LBRY token does not have utility and is not
purchased for reasons of usage, therefore they believe it should be
registered as a security. If LBC were to be classed as a security,
this would create a major bureaucratic nightmare for all blockchain
companies and people with crypto. it is also likely that many
blockchain companies will fold due to being unable to bear the new
costs of being in business. This would in turn eliminate the jobs
and income of many millions of people and effectively kill the
advancement of a critical new technology and industry in the US.
</p>
<p>
The SEC is claiming the LBRY token does not have utility and is not
purchased for reasons of usage, which fortunately for everyone
involved in cryptocurrency, makes this an extremely winnable case.
Should LBRY, Inc. lose this case, it is likely that most other
blockchain companies, as well as most individuals working on
blockchain, would also be culpable.
Essentially it would effectively make it very difficult for
ourselves and other blockchain companies to distribute rewards to
you and for you to exchange them. it is also likely that many
blockchain companies will fold due to being unable to bear the new
costs of being in business. This would in turn eliminate the jobs
and income of many millions of people and effectively kill the
advancement of a critical new technology and industry in the US
</p>
<div className="video">
@ -149,6 +163,18 @@ export default function Home() {
</div>
<h2>What are people saying?</h2>
<div className="content__subtitle">
Tweet with the hashtag{' '}
<a
href="https://twitter.com/intent/tweet?text=Down%20with%20the%20SEC!%20%23BattleForCrypto"
className="petition__link"
rel="noreferrer noopener"
target="_blannk"
>
#BattleForCrypto
</a>{' '}
to let the SEC know how you feel.
</div>
</div>
<Twitter />
@ -161,6 +187,7 @@ export default function Home() {
<h2>Donate</h2>
<div className="content__subtitle">Money please</div>
<Stripe />
</div>
</main>
</div>

View file

@ -103,6 +103,11 @@
resolved "https://registry.yarnpkg.com/@opentelemetry/context-base/-/context-base-0.14.0.tgz#c67fc20a4d891447ca1a855d7d70fa79a3533001"
integrity sha512-sDOAZcYwynHFTbLo6n8kIbLiVF3a3BLkrmehJUyEbT9F+Smbi47kLGS2gG2g0fjBLR/Lr1InPD7kXL7FaTqEkw==
"@types/node@>=8.1.0":
version "14.14.37"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e"
integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==
ajv@^6.12.3:
version "6.12.6"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
@ -348,6 +353,14 @@ bytes@3.1.0:
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==
call-bind@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==
dependencies:
function-bind "^1.1.1"
get-intrinsic "^1.0.2"
caniuse-lite@^1.0.30001173, caniuse-lite@^1.0.30001179:
version "1.0.30001204"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz#256c85709a348ec4d175e847a3b515c66e79f2aa"
@ -723,6 +736,20 @@ fsevents@~2.3.1:
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
get-intrinsic@^1.0.2:
version "1.1.1"
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==
dependencies:
function-bind "^1.1.1"
has "^1.0.3"
has-symbols "^1.0.1"
get-orientation@1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/get-orientation/-/get-orientation-1.1.2.tgz#20507928951814f8a91ded0a0e67b29dfab98947"
@ -777,6 +804,18 @@ has-flag@^4.0.0:
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
has-symbols@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423"
integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==
has@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
dependencies:
function-bind "^1.1.1"
hash-base@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33"
@ -1174,6 +1213,11 @@ object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
object-inspect@^1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a"
integrity sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==
os-browserify@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27"
@ -1346,6 +1390,13 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
qs@^6.6.0:
version "6.10.1"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a"
integrity sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==
dependencies:
side-channel "^1.0.4"
qs@~6.5.2:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
@ -1544,6 +1595,15 @@ shell-quote@1.7.2:
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
side-channel@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==
dependencies:
call-bind "^1.0.0"
get-intrinsic "^1.0.2"
object-inspect "^1.9.0"
source-map@0.7.3:
version "0.7.3"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
@ -1648,6 +1708,14 @@ strip-ansi@6.0.0:
dependencies:
ansi-regex "^5.0.0"
stripe@^8.140.0:
version "8.140.0"
resolved "https://registry.yarnpkg.com/stripe/-/stripe-8.140.0.tgz#58ceffdac7bd0ba0abc8f5670f8f79cba0d8d7fc"
integrity sha512-p2Ak/ZSQiStR93MmW3VUESP07ZOAtvZxSA34YglKeRyokaj7/ruRzeVxmoD0Yr6Eh2w2uZWp42ps7ZoYxWskPg==
dependencies:
"@types/node" ">=8.1.0"
qs "^6.6.0"
styled-jsx@3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.3.2.tgz#2474601a26670a6049fb4d3f94bd91695b3ce018"