This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/website/src/pages/index.js

170 lines
6.4 KiB
JavaScript
Raw Normal View History

2021-03-23 12:07:19 +00:00
import * as React from "react";
2021-04-01 12:46:00 +00:00
import { Section, SectionTitle, CardWithDescription, CardWithTitle } from "../components/Layout";
2021-03-31 16:12:18 +00:00
import { Carousel } from "../components/Carousel/Carousel";
2021-04-07 13:18:40 +00:00
import Seo from "../components/seo";
2021-03-23 12:07:19 +00:00
import CommunitySection from "../components/CommunitySection";
2021-03-25 21:44:24 +00:00
import Uploader from "../components/Uploader";
import { ArrowRight } from "../components/Icons";
import SkynetToolBig from "../components/Icons/SkynetToolBig.svg";
import SkynetUserBig from "../components/Icons/SkynetUserBig.svg";
import SkynetPowerBig from "../components/Icons/SkynetPowerBig.svg";
import SkynetMonetizationSmall from "../components/Icons/SkynetMonetizationSmall.svg";
import SkynetPersistenceSmall from "../components/Icons/SkynetPersistenceSmall.svg";
import SkynetSpeedSmall from "../components/Icons/SkynetSpeedSmall.svg";
import SkynetUsageSmall from "../components/Icons/SkynetUsageSmall.svg";
import SkynetSiaSmall from "../components/Icons/SkynetSiaSmall.svg";
2021-03-29 21:32:17 +00:00
import Link from "../components/Link";
2021-03-23 12:07:19 +00:00
2021-03-26 16:23:42 +00:00
const etosCards = [
{
src: SkynetToolBig,
2021-04-01 16:05:47 +00:00
title: "Build a better web",
alt: "The top of a wrench and a cube representing a new kind of Internet",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetUserBig,
2021-04-01 16:05:47 +00:00
title: "Fight corporate control<br />of user data",
alt: "Symbol of a strong person stretching arms out of screen",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetPowerBig,
2021-03-26 16:23:42 +00:00
title: "Empower global citizens",
alt: "Symbol of a fist in the air",
2021-03-26 16:23:42 +00:00
},
];
const ecosystemCards = [
{
src: SkynetUsageSmall,
2021-03-26 16:23:42 +00:00
title: "Easy to use",
2021-05-11 16:15:35 +00:00
text: "Decentralized storage without needing to run a node or wallet. Skynet also includes SDKs for popular programming languages and APIs that integrate seamlessly with your existing apps.",
alt: "Image of a finger pushing a button",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetSpeedSmall,
2021-03-26 16:23:42 +00:00
title: "Fast",
2021-05-11 16:15:35 +00:00
text: "Skynet's speeds rival centralized providers and surpass all decentralized offerings. A typical Skynet download starts in under 500 ms and can stream at rates as high as 1 Gbps!",
alt: "Image of a speedometer",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetSiaSmall,
2021-03-26 16:23:42 +00:00
title: "Free to use",
2021-05-11 16:15:35 +00:00
text: "Focus on building, not overhead server costs. When users own their data, developers aren't asked to pay for it.",
alt: "Image of a server database and a shield",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetMonetizationSmall,
2021-03-26 16:23:42 +00:00
title: "Monetization",
2021-05-11 16:15:35 +00:00
text: "Profit directly from the success of your skapp. Now you can truly prioritize your users, instead of advertisers.",
alt: "Image of a coin symbol",
2021-03-26 16:23:42 +00:00
},
{
src: SkynetPersistenceSmall,
2021-03-26 16:23:42 +00:00
title: "Persistence",
2021-05-11 16:15:35 +00:00
text: "Your skapp and data stay live, even if corporations pull your access to their resources. You can also use Skynet as a failover site for when centralized providers go down.",
alt: "Abstract image of a shield and a graph line",
2021-03-26 16:23:42 +00:00
},
];
const IndexPage = () => {
return (
2021-04-01 12:46:00 +00:00
<>
2021-04-07 13:18:40 +00:00
<Seo title="Decentralized Internet for a Free Future" />
2021-03-26 16:23:42 +00:00
2021-03-31 11:31:44 +00:00
<Section first={true}>
2021-03-29 21:32:17 +00:00
<div className="text-center">
<h1 className="text-4xl desktop:text-6xl text-white">
2021-04-01 16:05:47 +00:00
Decentralized Internet
<br />
for a <span className="text-primary underline-white">Free Future</span>
2021-03-29 21:32:17 +00:00
</h1>
2021-03-30 11:51:17 +00:00
<p className="mt-5 font-light text-lg leading-7 text-palette-300">
<span className="hidden desktop:block">
Skynet is a hosting platform that makes it easy to join the decentralized
</span>
<span className="hidden desktop:block">internet movement. Start your free account today.</span>
2021-03-29 21:32:17 +00:00
<span className="desktop:hidden text-justify text-sm">
Skynet is a hosting platform that makes it easy to join the decentralized internet movement. Start your
free account today.
2021-03-29 21:32:17 +00:00
</span>
</p>
</div>
2021-03-26 16:23:42 +00:00
</Section>
2021-03-30 11:51:17 +00:00
<Section marginTop={false} marginBottom={false} className="relative">
<div className="absolute inset-x-0 bg-white bottom-0" style={{ top: "176px" }}></div>
<Uploader />
</Section>
2021-03-26 16:23:42 +00:00
2021-03-28 16:34:52 +00:00
<Section className="bg-white">
2021-03-26 16:23:42 +00:00
<SectionTitle className="text-center mb-11">The new decentralized internet is here</SectionTitle>
2021-03-31 11:24:05 +00:00
<div className="hidden desktop:grid gap-8 grid-cols-3">
2021-03-26 16:23:42 +00:00
{etosCards.map((card, index) => (
2021-03-28 16:34:52 +00:00
<CardWithTitle key={index} {...card} />
2021-03-26 16:23:42 +00:00
))}
</div>
2021-03-25 21:44:24 +00:00
2021-03-31 11:24:05 +00:00
<div className="desktop:hidden">
2021-03-31 16:12:18 +00:00
<Carousel Component={CardWithTitle} items={etosCards} />
2021-03-31 11:24:05 +00:00
</div>
2021-03-26 16:23:42 +00:00
<div className="flex flex-col items-center mt-16">
<p className="max-w-screen-md text-center text-base font-content text-palette-400">
2021-04-22 10:41:01 +00:00
Skynet apps pave the way for a new web that prioritizes the privacy, security, and experience of users. Join
our decentralized internet ecosystem and revolution.
2021-03-26 16:23:42 +00:00
</p>
2021-03-23 12:07:19 +00:00
<Link
href="https://skapp.hns.siasky.net/"
className="mt-6 uppercase flex items-center text-xs text-palette-600 hover:text-primary transition-colors duration-200"
>
Try Skynet Apps <ArrowRight className="fill-current" />
</Link>
2021-03-26 16:23:42 +00:00
</div>
</Section>
2021-03-23 12:07:19 +00:00
2021-03-28 16:34:52 +00:00
<Section className="bg-palette-100">
2021-03-26 16:23:42 +00:00
<SectionTitle className="mb-7 desktop:hidden">Ready to build your application?</SectionTitle>
2021-03-23 12:07:19 +00:00
2021-03-31 11:24:05 +00:00
<div className="hidden desktop:grid gap-x-8 gap-y-16 grid-cols-3">
2021-03-26 16:23:42 +00:00
<div className="hidden desktop:inline-block">
<SectionTitle>Ready to build your application?</SectionTitle>
2021-03-23 12:07:19 +00:00
2021-03-31 12:47:35 +00:00
<Link
href="https://support.siasky.net/the-technology/developing-on-skynet"
className="button-secondary-dark inline-block px-10 mt-7"
>
2021-03-31 11:24:05 +00:00
Learn more
</Link>
2021-03-26 16:23:42 +00:00
</div>
2021-03-25 01:27:53 +00:00
2021-03-26 16:23:42 +00:00
{ecosystemCards.map((card, index) => (
2021-03-28 16:34:52 +00:00
<CardWithDescription key={index} {...card} />
2021-03-26 16:23:42 +00:00
))}
</div>
2021-03-25 01:27:53 +00:00
2021-03-31 11:24:05 +00:00
<div className="desktop:hidden">
2021-03-31 16:12:18 +00:00
<Carousel Component={CardWithDescription} items={ecosystemCards} />
2021-03-31 11:24:05 +00:00
</div>
2021-03-26 16:23:42 +00:00
<div className="desktop:hidden mt-12 text-center">
2021-03-31 12:47:35 +00:00
<Link
href="https://support.siasky.net/the-technology/developing-on-skynet"
className="button-secondary-dark inline-block px-10 mt-7"
>
2021-03-31 11:24:05 +00:00
Learn more
</Link>
2021-03-23 12:07:19 +00:00
</div>
2021-03-26 16:23:42 +00:00
</Section>
2021-03-23 12:07:19 +00:00
2021-03-28 16:34:52 +00:00
<Section className="bg-primary">
2021-03-26 16:23:42 +00:00
<CommunitySection />
</Section>
2021-04-01 12:46:00 +00:00
</>
2021-03-26 16:23:42 +00:00
);
};
2021-03-23 12:07:19 +00:00
export default IndexPage;