ill finish the translation setup in the morning - im tired

This commit is contained in:
Sean Yesmunt 2021-03-29 00:09:13 -04:00
parent cd79eaf6a4
commit 12f9088208
3 changed files with 22 additions and 15 deletions

View file

@ -25,7 +25,7 @@ export function Header(props) {
/> />
<meta <meta
property="og:description" property="og:description"
content="The SEC doesnt understand blockchain. The claims made in SEC vs. LBRY, Inc. would destroy the United States cryptocurrency industry." content={m.og_description}
key="description" key="description"
/> />
</Head> </Head>
@ -41,7 +41,7 @@ export function Header(props) {
</Link> </Link>
) : ( ) : (
<Link href="/"> <Link href="/">
<span className="link">Go Home</span> <span className="link">{__(m.go_home)}</span>
</Link> </Link>
)} )}
</div> </div>

15
i18n.js
View file

@ -3,6 +3,12 @@ export const m = {
faq: 'faq', faq: 'faq',
help_lbry: 'help_lbry', help_lbry: 'help_lbry',
save_crypto: 'save_crypto', save_crypto: 'save_crypto',
go_home: 'go_home',
og_description: 'og_description',
landing_subtitle: 'landing_subtitle',
landing_action: 'landing_action',
summary_title: 'summary_title',
summary_subtitle: 'summary_subtitle',
}; };
const en = { const en = {
@ -10,6 +16,15 @@ const en = {
faq: 'VIEW FAQ', faq: 'VIEW FAQ',
help_lbry: 'HELP LBRY', help_lbry: 'HELP LBRY',
save_crypto: 'SAVE CRYPTO', save_crypto: 'SAVE CRYPTO',
go_home: 'Go Home',
og_description:
'The SEC doesnt understand blockchain. The claims made in SEC vs. LBRY, Inc. would destroy the United States cryptocurrency industry.',
landing_subtitle:
'The SEC doesnt understand blockchain. The claims made in SEC vs. LBRY would destroy the United States cryptocurrency industry.',
landing_action: 'Help us educate the SEC',
summary_title: 'Whats the big deal?',
summary_subtitle:
'The entire blockchain industry is at risk in the United States. Big tech and Wall St. would have more power and many people could lose their jobs!',
}; };
const es = {}; const es = {};

View file

@ -30,27 +30,19 @@ export default function Home() {
<h1 className="landing__title"> <h1 className="landing__title">
{__(m.help_lbry)} {__(m.help_lbry)}
<br /> <br />
SAVE CRYPTO {__(m.save_crypto)}
</h1> </h1>
<div className="landing__subtitle"> <div className="landing__subtitle">
<div> <div>{__(m.landing_subtitle)}</div>
The SEC doesnt understand blockchain. The claims made in SEC vs.
LBRY would destroy the United States cryptocurrency
industry.
</div>
<div className="landing__standout"> <div className="landing__standout">
<span>Help us educate the SEC</span> <span>{__(m.landing_action)}</span>
</div> </div>
</div> </div>
</div> </div>
<div className="content"> <div className="content">
<h2 className="content__section-title">Whats the big deal?</h2> <h2 className="content__section-title">{__(m.summary_title)}</h2>
<div className="content__subtitle"> <div className="content__subtitle">{__(m.summary_subtitle)}</div>
The entire blockchain industry is at risk in the United States. Big
tech and Wall St. would have more power and many people could lose
their jobs!
</div>
{/* <div> {/* <div>
<small> <small>