2020-02-12 22:13:34 +00:00
|
|
|
import React from "react";
|
|
|
|
import Fade from "react-reveal/Fade";
|
|
|
|
import Reveal from "react-reveal/Reveal";
|
2020-02-12 17:23:10 +00:00
|
|
|
|
2020-02-12 22:13:34 +00:00
|
|
|
import "./HomeSamples.scss";
|
|
|
|
import { Sample } from "../";
|
2020-02-12 17:23:10 +00:00
|
|
|
|
|
|
|
const samples = [
|
2020-02-13 21:11:07 +00:00
|
|
|
{ type: "HTML", url: "/PAJF7fi2dK0CpcrhcXXReyufMO2s8k25sWL_XQjBW5a0mA" },
|
|
|
|
{ type: "PDF", url: "/XABvi7JtJbQSMAcDwnUnmp2FKDPjg8_tTTFP4BwMSxVdEg" },
|
|
|
|
{ type: "Image", url: "/IADUs8d9CQjUO34LmdaaNPK_STuZo24rpKVfYW3wPPM2uQ" },
|
|
|
|
{ type: "Audio", url: "/_A2zt5SKoqwnnZU4cBF8uBycSKULXMyeg1c5ZISBr2Q3dA" },
|
|
|
|
{ type: "Video", url: "/CABtmZJhzqf2unWUxKndMtpRri8IyqS_QV5Xg4PIQhBgtQ" },
|
|
|
|
{ type: "JSON", url: "/AAC0uO43g64ULpyrW0zO3bjEknSFbAhm8c-RFP21EQlmSQ" },
|
2020-02-13 21:05:21 +00:00
|
|
|
// { type: "Dapps", url: "#" }
|
2020-02-12 22:13:34 +00:00
|
|
|
];
|
2020-02-12 17:23:10 +00:00
|
|
|
|
|
|
|
export default function HomeSamples() {
|
|
|
|
return (
|
|
|
|
<div className="home-samples">
|
2020-02-12 22:13:34 +00:00
|
|
|
<Fade duration={700} distance="40px" bottom>
|
2020-02-12 17:23:10 +00:00
|
|
|
<p>
|
2020-02-12 22:13:34 +00:00
|
|
|
Skynet has SDKs for popular programming languages which integrate
|
|
|
|
seamlessly with existing applications. Above are a few code snippets
|
|
|
|
for uploading and downloading data from Skynet.
|
2020-02-12 17:23:10 +00:00
|
|
|
</p>
|
|
|
|
</Fade>
|
|
|
|
|
|
|
|
<Reveal effect="active">
|
|
|
|
<div className="home-samples-samples">
|
|
|
|
{samples.map((sample, i) => (
|
2020-02-12 22:13:34 +00:00
|
|
|
<Sample
|
|
|
|
className={`fadeInUp delay${i + 1}`}
|
|
|
|
key={`${i}-${sample.url}`}
|
|
|
|
{...sample}
|
|
|
|
/>
|
2020-02-12 17:23:10 +00:00
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</Reveal>
|
|
|
|
</div>
|
2020-02-12 22:13:34 +00:00
|
|
|
);
|
2020-02-12 17:23:10 +00:00
|
|
|
}
|