wip md
This commit is contained in:
parent
4d2e8425b4
commit
a7f93a5c41
5 changed files with 77 additions and 35 deletions
48
component/header.jsx
Normal file
48
component/header.jsx
Normal file
|
@ -0,0 +1,48 @@
|
|||
import Head from 'next/head';
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
import { t, m } from '../i18n';
|
||||
|
||||
export function Header(props) {
|
||||
const { faqPage } = props;
|
||||
|
||||
const lang = 'en'; // req.query.lang || 'en'
|
||||
|
||||
function __(message) {
|
||||
return t(message, lang);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{__(m.title)}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://i.imgur.com/pnU7PJz.jpg"
|
||||
key="image"
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="The SEC doesn’t understand blockchain or crypto. They’re saying LBC is a security, it’s not!"
|
||||
key="description"
|
||||
/>
|
||||
</Head>
|
||||
|
||||
<header className={faqPage ? 'header header--faq' : 'header'}>
|
||||
<Link href="/">
|
||||
<span className="title">{__(m.title)}</span>
|
||||
</Link>
|
||||
|
||||
{!faqPage && (
|
||||
<div className="header__links">
|
||||
<Link className="link" href="/faq">
|
||||
{__(m.faq)}
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</header>
|
||||
</>
|
||||
);
|
||||
}
|
14
faq.md
14
faq.md
|
@ -1,5 +1,13 @@
|
|||
# MD file
|
||||
# LBRY SEC Case Guide and FAQ
|
||||
|
||||
- This is markdown
|
||||
[helplbrysavecrypto.com](https://helplbrysavecrypto.com)
|
||||
|
||||
## Yes it is
|
||||
## Summary
|
||||
|
||||
The Securities and Exchange Commission has filed a civil case against LBRY Inc. alleging that all distributions of LBRY Credits by LBRY Inc. are unregistered securities offerings. This claim is both devoid of fact and a tremendous threat to the entire cryptocurrency industry.
|
||||
|
||||
The LBRY network is decentralized and not at risk. For LBRY customers, your channels, content, and token holdings are not at risk. Even in an unlikely scenario in which LBRY Inc. loses, the LBRY protocol and work on it will continue.
|
||||
|
||||
LBRY Inc. has been preparing to fight this case for three full years, which is how long the SEC has been investigating this matter. We wanted to tell you sooner, but transparency in ongoing investigations is not welcomed by the SEC.
|
||||
|
||||
For more about this case, visit [helplbrysavecrypto.com](https://helplbrysavecrypto.com).
|
||||
|
|
10
pages/faq.js
10
pages/faq.js
|
@ -1,10 +1,14 @@
|
|||
import ReactMarkdown from 'react-markdown';
|
||||
import { Header } from '../component/header';
|
||||
import md from '../faq.md';
|
||||
|
||||
export default function Faq() {
|
||||
return (
|
||||
<div className="content">
|
||||
<ReactMarkdown>{md}</ReactMarkdown>
|
||||
</div>
|
||||
<>
|
||||
<Header faqPage />
|
||||
<div className="content">
|
||||
<ReactMarkdown>{md}</ReactMarkdown>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import React from 'react';
|
||||
import Head from 'next/head';
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
|
||||
import { Header } from '../component/header';
|
||||
import { Twitter } from '../component/twitter';
|
||||
import { Stripe } from '../component/stripe';
|
||||
import { t, m } from '../i18n';
|
||||
|
@ -57,31 +55,7 @@ export default function Home() {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<Head>
|
||||
<title>{__(m.title)}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://i.imgur.com/pnU7PJz.jpg"
|
||||
key="image"
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="The SEC doesn’t understand blockchain or crypto. They’re saying LBC is a security, it’s not!"
|
||||
key="description"
|
||||
/>
|
||||
</Head>
|
||||
|
||||
<header>
|
||||
<span className="title">{__(m.title)}</span>
|
||||
|
||||
<div className="header__links">
|
||||
<Link className="link" href="/faq">
|
||||
{__(m.faq)}
|
||||
</Link>
|
||||
</div>
|
||||
</header>
|
||||
<Header />
|
||||
|
||||
<main>
|
||||
<div className="landing__img-container">
|
||||
|
|
|
@ -44,9 +44,13 @@ button {
|
|||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
.header {
|
||||
height: 8vh;
|
||||
background-color: white;
|
||||
color: black;
|
||||
|
@ -64,6 +68,10 @@ header {
|
|||
}
|
||||
}
|
||||
|
||||
.header--faq {
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
|
||||
main {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue