commit
f55306516d
|
@ -13,10 +13,10 @@ export default function CodeExamples() {
|
||||||
<div className="code-examples">
|
<div className="code-examples">
|
||||||
<ul className="code-examples-tabs">
|
<ul className="code-examples-tabs">
|
||||||
<li onClick={() => setActive(1)} className={classNames({ active: active === 1 })}>
|
<li onClick={() => setActive(1)} className={classNames({ active: active === 1 })}>
|
||||||
Python
|
CURL
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => setActive(2)} className={classNames({ active: active === 2 })}>
|
<li onClick={() => setActive(2)} className={classNames({ active: active === 2 })}>
|
||||||
CURL
|
Python
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => setActive(3)} className={classNames({ active: active === 3 })}>
|
<li onClick={() => setActive(3)} className={classNames({ active: active === 3 })}>
|
||||||
Node.js
|
Node.js
|
||||||
|
@ -28,14 +28,14 @@ export default function CodeExamples() {
|
||||||
|
|
||||||
<div className="code-examples-body">
|
<div className="code-examples-body">
|
||||||
{active === 1 && (
|
{active === 1 && (
|
||||||
<SyntaxHighlighter wrapLines showLineNumbers={true} language="python" style={Colors}>
|
<SyntaxHighlighter wrapLines showLineNumbers={true} language="curl" style={Colors}>
|
||||||
{python}
|
{curl}
|
||||||
</SyntaxHighlighter>
|
</SyntaxHighlighter>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{active === 2 && (
|
{active === 2 && (
|
||||||
<SyntaxHighlighter wrapLines showLineNumbers={true} language="curl" style={Colors}>
|
<SyntaxHighlighter wrapLines showLineNumbers={true} language="python" style={Colors}>
|
||||||
{curl}
|
{python}
|
||||||
</SyntaxHighlighter>
|
</SyntaxHighlighter>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
@ -122,9 +122,7 @@ export default class HomeNetwork extends Component {
|
||||||
<Fade duration={700} distance="40px" bottom>
|
<Fade duration={700} distance="40px" bottom>
|
||||||
<FAQ title="What does pinning mean?">
|
<FAQ title="What does pinning mean?">
|
||||||
<p>
|
<p>
|
||||||
Lorem Ipsum has been the industry's standard dummy text ever
|
It means that you want the file to stay online and available. Anyone can re-pin a file on Skynet.
|
||||||
since the 1500s, when an unknown printer took a galley of type
|
|
||||||
and scrambled it to make.
|
|
||||||
</p>
|
</p>
|
||||||
</FAQ>
|
</FAQ>
|
||||||
</Fade>
|
</Fade>
|
||||||
|
@ -132,8 +130,7 @@ export default class HomeNetwork extends Component {
|
||||||
<Fade duration={700} distance="40px" bottom>
|
<Fade duration={700} distance="40px" bottom>
|
||||||
<FAQ title="Is my data secure?">
|
<FAQ title="Is my data secure?">
|
||||||
<p>
|
<p>
|
||||||
Cras justo odio, dapibus ac facilisis in, egestas eget quam.
|
Your data is incomparably secure on Skynet. Everything is split and (if you want) encrypted, which means files can’t be hacked, and data can’t be de-platformed.
|
||||||
Sed posuere consectetur est at lobortis.
|
|
||||||
</p>
|
</p>
|
||||||
</FAQ>
|
</FAQ>
|
||||||
</Fade>
|
</Fade>
|
||||||
|
@ -141,8 +138,7 @@ export default class HomeNetwork extends Component {
|
||||||
<Fade duration={700} distance="40px" bottom>
|
<Fade duration={700} distance="40px" bottom>
|
||||||
<FAQ title="How does Sia compare to other decentralized storage solutions?">
|
<FAQ title="How does Sia compare to other decentralized storage solutions?">
|
||||||
<p>
|
<p>
|
||||||
Cras justo odio, dapibus ac facilisis in, egestas eget quam.
|
Some other blockchain cloud storage platforms are decentralized in name only. Sia is the only network with no central point of failure, and has the track record to prove it.
|
||||||
Sed posuere consectetur est at lobortis.
|
|
||||||
</p>
|
</p>
|
||||||
</FAQ>
|
</FAQ>
|
||||||
</Fade>
|
</Fade>
|
||||||
|
@ -150,9 +146,7 @@ export default class HomeNetwork extends Component {
|
||||||
<Fade duration={700} distance="40px" bottom>
|
<Fade duration={700} distance="40px" bottom>
|
||||||
<FAQ title="How long will my files be available?">
|
<FAQ title="How long will my files be available?">
|
||||||
<p>
|
<p>
|
||||||
Lorem Ipsum has been the industry's standard dummy text ever
|
As long as a file is being paid for, it stays on the network. That means, with minimal input, you can have your files stored on the decentralized web for as long as you want.
|
||||||
since the 1500s, when an unknown printer took a galley of type
|
|
||||||
and scrambled it to make a type specimen book.
|
|
||||||
</p>
|
</p>
|
||||||
</FAQ>
|
</FAQ>
|
||||||
</Fade>
|
</Fade>
|
||||||
|
|
Reference in New Issue