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/about.js

315 lines
12 KiB
JavaScript
Raw Normal View History

2021-03-23 12:07:19 +00:00
import * as React from "react";
2021-03-31 11:24:05 +00:00
import { GatsbyImage, getImage } from "gatsby-plugin-image";
2021-04-01 12:46:00 +00:00
import { Section, SectionTitle, SectionTitleCaption, CardWithDescription } 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-28 14:46:32 +00:00
import {
ArrowRight,
Join,
UserAtom,
Shield,
Fingerprint,
UserArrows,
ComputerScreen,
Cogs,
TwitterSmall,
GithubSmall,
GitlabSmall,
LinkedinSmall,
} from "../components/Icons";
2021-03-29 21:32:17 +00:00
import Link from "../components/Link";
2021-03-31 11:24:05 +00:00
import { graphql } from "gatsby";
2021-03-28 14:46:32 +00:00
const aboutCards = [
{
Icon: UserAtom,
title: "Own your data",
2021-05-11 16:15:35 +00:00
text: "No one owns or controls your account data except for you. Ownership extends to original blogs, music, and videos too. This is all possible through decentralized apps built on decentralized storage.",
2021-03-28 14:46:32 +00:00
},
{
Icon: Shield,
title: "Censorship-resistant content",
2021-05-11 16:15:35 +00:00
text: "Today, censorship can come arbitrarily, top-down, and as a tool to silence expression. Post and share content on Skynet, or use Skynet as a fail-over for your website if a service provider goes down.",
2021-03-28 14:46:32 +00:00
},
{
Icon: Fingerprint,
title: "One universal digital identity",
2021-05-11 16:15:35 +00:00
text: "Log into any Skynet app with just one ID. Once logged in, your storage and data can follow you across the ecosystem. Access your friend lists, followers, and content from any Skynet app.",
2021-03-28 14:46:32 +00:00
},
{
Icon: UserArrows,
title: "Innovation built for users",
2021-05-11 16:15:35 +00:00
text: "All Skynet apps are open-source. If you dislike an apps feature or want to make your own improvements, youre welcome to do so. (We of course encourage collaboration and hope you chat with the developer first!) Existing users can then consent to the migration of all their account data to the latest version. ",
2021-03-28 14:46:32 +00:00
},
{
Icon: ComputerScreen,
label: "Coming soon",
title: "Control your content feed",
2021-05-11 16:15:35 +00:00
text: "We believe that users, not tech platforms should fully control how content is moderated. A decentralized internet is not an information free-for-all. It means that the individual holds the power to personalize their online experiences. For example, users will decide what content appears in their social media feeds, not a corporate algorithm.",
2021-03-28 14:46:32 +00:00
},
{
Icon: Cogs,
label: "Coming soon",
title: "Developer and Creator-centric monetization",
2021-05-11 16:15:35 +00:00
text: "As a content creator, set your own terms and price for your art. You and your collaborators can get paid directly, fairly, and automatically in crypto without relying on advertising as a sole source of income.",
2021-03-28 14:46:32 +00:00
},
];
2021-04-22 17:47:54 +00:00
const showCareersCTA = true; // switch to hide or display the careers CTA section
const careers = { href: "https://jobs.lever.co/SkynetLabs", target: "_blank", rel: "noopener noreferrer" };
2021-03-31 11:24:05 +00:00
const paginate = (array, size) =>
array.reduce((acc, item, index) => {
const chunkIndex = Math.floor(index / size);
if (!acc[chunkIndex]) acc[chunkIndex] = { cards: [] }; // start a new chunk
acc[chunkIndex].cards.push(item);
return acc;
}, []);
2021-03-28 14:46:32 +00:00
const SocialIcon = ({ name }) => {
switch (name) {
case "twitter":
return <TwitterSmall />;
case "linkedin":
return <LinkedinSmall />;
case "github":
return <GithubSmall />;
case "gitlab":
return <GitlabSmall />;
default:
throw new Error(`Cannot find an icon for "${name}"`);
}
};
2021-03-31 11:24:05 +00:00
const TeamCard = ({ image, name, position, social }) => (
2021-03-28 14:46:32 +00:00
<div className="flex">
2021-03-31 11:24:05 +00:00
<GatsbyImage image={getImage(image)} alt={name} />
2021-03-28 14:46:32 +00:00
<div className="flex flex-col justify-between ml-3">
<div className="flex flex-col">
<span className="font-light text-lg">{name}</span>
<span className="text-palette-400 text-xs">{position}</span>
</div>
{social && (
<div className="flex flex-row">
2021-03-31 15:02:31 +00:00
{Object.entries(social)
.filter(([platform, href]) => href)
.map(([platform, href]) => (
<Link key={platform} href={href} title={platform}>
<SocialIcon name={platform} />
</Link>
))}
2021-03-28 14:46:32 +00:00
</div>
)}
</div>
</div>
);
2021-03-31 11:24:05 +00:00
const TeamCardPage = ({ cards }) => (
<div className="flex flex-col space-y-16">
{cards.map((card, index) => (
<TeamCard key={index} {...card} />
))}
</div>
);
2021-03-30 11:51:17 +00:00
2021-03-31 11:24:05 +00:00
const AboutPage = ({ ...props }) => {
const investors = props.data.allInvestorsYaml.nodes;
const teamCards = props.data.allTeamYaml.nodes;
const teamCardsPaginated = paginate(teamCards, 3);
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
return (
2021-04-01 12:46:00 +00:00
<>
2021-04-07 13:18:40 +00:00
<Seo title="About" />
2021-03-28 14:46:32 +00:00
2021-04-08 14:02:01 +00:00
<Section className="bg-palette-100 desktop:bg-white desktop:bg-column" marginBottom={false} first={true}>
2021-03-31 11:24:05 +00:00
<div className="grid grid-cols-1 gap-x-16 gap-y-16 desktop:grid-cols-3">
<div className="col-span-3">
<h1>
Skynet is the foundation for a new,{" "}
<span className="text-primary underline-dark">decentralized internet</span>
</h1>
</div>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<div className="col-span-3 desktop:col-start-2 desktop:col-span-2 space-y-12">
<p className="text-palette-600 font-light text-lg">
2021-04-01 16:05:47 +00:00
Skynet is an open protocol and toolkit for creating a better web one built on decentralized storage and
2021-03-31 11:24:05 +00:00
applications.
</p>
<p className="font-content text-palette-400">
Skynet apps transform whats possible on the web. Beyond protecting privacy, decentralization enables
application, integration, and innovation that simply cannot be replicated by the centralized world. Now,
we can break free of the walled gardens and data silos that have constricted invention and
interoperability. Key features of decentralization such as user-owned personal data, persistent identity
across apps, and censorship-resistance will be the new standards of the digital world.
</p>
<Link
2021-04-01 16:05:47 +00:00
href="https://support.siasky.net"
2021-03-31 11:24:05 +00:00
className="hidden sm:inline-flex items-center text-xs text-palette-600 uppercase hover:text-primary transition-colors duration-200"
>
Learn more about how our technology works <ArrowRight className="fill-current" />
</Link>
2021-04-01 16:05:47 +00:00
<Link
href="https://support.siasky.net"
className="inline-flex sm:hidden flex-col text-xs text-palette-600 uppercase"
>
2021-03-31 11:24:05 +00:00
Learn more about how our{" "}
<span className="inline-flex items-center">
technology works <ArrowRight />
</span>
</Link>
</div>
2021-03-28 14:46:32 +00:00
</div>
2021-03-31 11:24:05 +00:00
</Section>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<Section className="bg-palette-100 desktop:bg-white">
<div className="space-y-8">
2021-03-28 14:46:32 +00:00
<SectionTitle>What does the decentralized future look like?</SectionTitle>
2021-03-31 11:24:05 +00:00
<div>
<div className="hidden desktop:grid gap-x-16 gap-y-16 grid-cols-2">
{aboutCards.map((card, index) => (
<CardWithDescription key={index} {...card} />
))}
</div>
<div className="desktop:hidden">
2021-03-31 16:12:18 +00:00
<Carousel Component={CardWithDescription} items={aboutCards} />
2021-03-31 11:24:05 +00:00
</div>
<div className="mt-14 text-center space-y-6">
<p className="font-light text-lg text-palette-600">Want to build apps with these features?</p>
2021-04-01 16:05:47 +00:00
<Link to="/developers" className="button-secondary-dark inline-block px-10">
2021-03-31 11:24:05 +00:00
Get started here
</Link>
</div>
</div>
2021-03-28 14:46:32 +00:00
</div>
2021-03-31 11:24:05 +00:00
</Section>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<Section className="background bg-top bg-cover">
<SectionTitle className="text-white">
Skynet Labs builds uncompromising software infrastructure for the{" "}
<span className="text-primary underline-white">decentralized internet</span>
</SectionTitle>
2021-03-28 14:46:32 +00:00
2021-03-31 17:08:38 +00:00
<div className="grid grid-cols-1 gap-x-16 gap-y-16 desktop:grid-cols-3 mt-10">
<div
className="hidden desktop:block"
style={{ background: "url(/logo-symbol.svg) no-repeat left center / contain" }}
></div>
2021-03-31 11:24:05 +00:00
<div className="col-span-3 desktop:col-start-2 desktop:col-span-2 space-y-12">
<p className="text-white font-light text-lg">
2021-04-02 06:32:54 +00:00
Skynet Labs is the core contributor to Skynet, an application development and hosting platform built on
Sia, the leading decentralized cloud storage network.
2021-03-31 11:24:05 +00:00
</p>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<p className="font-content text-palette-300">
2021-04-02 06:32:54 +00:00
Skynet is more than the members of the Skynet Labs team. We are a community and movement of global
citizens who believe in the positive power of decentralized technology for humanity. No one person or
organization should censor or deny access to data not miners, not developers, nor any government.
Through our technology, we seek to build a better and more equitable internet ecosystem. Users,
developers, and content creators deserve to be in full control of their data, not monopolistic
corporations.
2021-03-31 11:24:05 +00:00
</p>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<h3 className="text-lg desktop:text-3xl font-semibold text-white">
2021-04-01 16:05:47 +00:00
Decentralization isnt just what we do,
<br />
<span className="text-primary">its how we do it</span>
2021-03-31 11:24:05 +00:00
</h3>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<p className="font-content text-palette-300">
Our commitment to decentralization is at our core. With this ethos in mind, we believe in empowering local
leaders to decide what is best for their communities in adoption of this technology. Individuals and
communities deserve self-determination.
</p>
</div>
</div>
</Section>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<Section className="bg-white">
<div className="space-y-10 desktop:space-y-20 flex flex-col">
<div>
<SectionTitleCaption>Team</SectionTitleCaption>
2021-04-01 18:19:37 +00:00
<SectionTitle>Skynet stands with you in the fight for a free future</SectionTitle>
2021-03-31 11:24:05 +00:00
</div>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<div className="hidden desktop:grid gap-y-8 gap-16 grid-cols-3">
{teamCards.map((card, index) => (
<TeamCard key={index} {...card} />
))}
</div>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<div className="desktop:hidden">
2021-03-31 16:12:18 +00:00
<Carousel Component={TeamCardPage} items={teamCardsPaginated} fullWidth={true} />
2021-03-31 11:24:05 +00:00
</div>
2021-04-08 15:13:15 +00:00
{showCareersCTA && (
<div className="desktop:col-span-2 flex flex-col desktop:flex-row items-center desktop:space-x-8 space-y-8 desktop:space-y-0">
<Link className="flex-shrink-0 hidden desktop:inline-block" {...careers}>
<Join />
</Link>
<p className="font-light text-lg text-center desktop:text-left">
Join us! We're looking for talented &amp; passionate individuals to join our team. Check out our job
postings today.
</p>
<Link className="flex-shrink-0 desktop:hidden" {...careers}>
<Join />
</Link>
</div>
)}
2021-03-28 14:46:32 +00:00
</div>
2021-03-31 11:24:05 +00:00
</Section>
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
<Section className="bg-palette-100">
<SectionTitleCaption>Investors</SectionTitleCaption>
<SectionTitle>Support for the Skynet Vision</SectionTitle>
2021-03-28 14:46:32 +00:00
2021-04-01 15:48:23 +00:00
<div className="grid grid-cols-2 gap-4 desktop:grid-cols-4 mt-20">
2021-03-31 11:24:05 +00:00
{investors.map(({ name, image }) => (
<GatsbyImage key={name} image={getImage(image)} alt={name} />
))}
2021-03-28 14:46:32 +00:00
</div>
2021-03-31 11:24:05 +00:00
</Section>
2021-04-01 12:46:00 +00:00
</>
2021-03-31 11:24:05 +00:00
);
};
2021-03-28 14:46:32 +00:00
2021-03-31 11:24:05 +00:00
export const query = graphql`
query MyQuery {
allTeamYaml {
nodes {
name
position
social {
github
gitlab
linkedin
twitter
}
image {
childImageSharp {
gatsbyImageData(width: 80, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF])
}
}
}
}
allInvestorsYaml {
nodes {
name
image {
childImageSharp {
gatsbyImageData(width: 320, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF])
}
}
}
}
}
`;
2021-03-23 12:07:19 +00:00
2021-03-28 14:46:32 +00:00
export default AboutPage;