2020-09-13 08:21:52 +03:00
|
|
|
|
import * as React from "react";
|
2020-09-05 15:02:27 +03:00
|
|
|
|
import * as Constants from "~/common/constants";
|
|
|
|
|
import * as System from "~/components/system";
|
|
|
|
|
|
|
|
|
|
import WebsitePrototypeWrapper from "~/components/core/WebsitePrototypeWrapper";
|
|
|
|
|
import WebsitePrototypeHeader from "~/components/core/NewWebsitePrototypeHeader";
|
|
|
|
|
import WebsitePrototypeFooter from "~/components/core/NewWebsitePrototypeFooter";
|
2020-09-13 07:22:04 +03:00
|
|
|
|
import IssuesList from "~/components/core/marketing/IssuesList";
|
|
|
|
|
import CodeTerminal from "~/components/core/marketing/CodeTerminal";
|
2020-09-05 15:02:27 +03:00
|
|
|
|
|
2020-09-10 13:59:43 +03:00
|
|
|
|
import { css, keyframes } from "@emotion/react";
|
2020-09-10 06:19:10 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
const STYLES_ROOT = css`
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
justify-content: space-between;
|
|
|
|
|
max-width: 1440px;
|
2020-09-09 02:57:11 +03:00
|
|
|
|
margin: -88px 0 88px 0;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
background-color: ${Constants.system.foreground};
|
2020-09-05 15:02:27 +03:00
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_H1 = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font: ${Constants.font.semiBold};
|
|
|
|
|
font-size: ${Constants.typescale.lvl7};
|
2020-09-05 15:02:27 +03:00
|
|
|
|
line-height: 1.25;
|
|
|
|
|
width: 100%;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
color: ${Constants.system.slate};
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl6};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 0px 0px 16px 0px;
|
|
|
|
|
}
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl5};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 0px 0px 8px 0px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_H2 = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl5};
|
2020-09-05 15:02:27 +03:00
|
|
|
|
line-height: 1.25;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 16px 0px 0 0px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
width: 100%;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
color: ${Constants.system.black};
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl4};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 8px 0px 0px 0px;
|
|
|
|
|
}
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl3};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 8px 0px 0 0px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_H3 = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl3};
|
2020-09-05 15:02:27 +03:00
|
|
|
|
line-height: 1.5;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 16px 0px 0px 0px;
|
|
|
|
|
color: ${Constants.system.slate};
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl2};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 8px 0px 0px 0px;
|
|
|
|
|
}
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl1};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 8px 0px 0px 0px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
const STYLES_SECTION_HERO = css`
|
|
|
|
|
width: 100vw;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
padding: 8vh 88px 24px 88px;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:37:11 +03:00
|
|
|
|
padding: 16vh 24px 48px 24px;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
display: block;
|
2020-09-07 11:42:42 +03:00
|
|
|
|
}
|
2020-09-08 16:47:01 +03:00
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_TEXT_BLOCK = css`
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
justify-content: center;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
width: 56vw;
|
|
|
|
|
align-self: center;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-07 11:42:42 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
width: 88vw;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
right: 24px;
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_HEROIMG = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
width: 24vw;
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
margin-right: auto;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-09 02:37:11 +03:00
|
|
|
|
width: 32vw;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_IMG = css`
|
2020-09-08 16:47:01 +03:00
|
|
|
|
width: 100%;
|
2020-09-05 18:49:52 +03:00
|
|
|
|
border-radius: 4px;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
display: block;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_BUTTON_PRIMARY = css`
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
outline: 0;
|
|
|
|
|
border: 0;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
min-height: 48px;
|
|
|
|
|
padding: 0px 24px 0px 24px;
|
2020-09-10 06:19:10 +03:00
|
|
|
|
margin: 20px 0px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font-size: 16px;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
letter-spacing: 0.2px;
|
|
|
|
|
font-family: ${Constants.font.semiBold};
|
|
|
|
|
transition: 200ms ease all;
|
|
|
|
|
user-select: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background-color: ${Constants.system.wall};
|
|
|
|
|
color: ${Constants.system.slate};
|
|
|
|
|
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
|
2020-09-09 02:37:11 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
:hover {
|
|
|
|
|
background-color: ${Constants.system.pitchBlack};
|
|
|
|
|
box-shadow: 0px 10px 90px 20px rgba(207, 206, 211, 0.3);
|
|
|
|
|
color: ${Constants.system.wall};
|
|
|
|
|
}
|
2020-09-09 02:37:11 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
:focus {
|
|
|
|
|
box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
background-color: ${Constants.system.pitchBlack};
|
|
|
|
|
color: ${Constants.system.wall};
|
|
|
|
|
outline: 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_SECTION_WRAPPER = css`
|
|
|
|
|
display: flex;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding: 88px;
|
|
|
|
|
width: 100vw;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-09 02:57:11 +03:00
|
|
|
|
padding: 88px 24px;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
display: block;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
2020-09-05 18:49:52 +03:00
|
|
|
|
const STYLES_SECTION_CHILD_FULL = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
margin: 80px 0 0 0;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
display: flex;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
justify-content: space-between;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-05 18:49:52 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
2020-09-08 16:47:01 +03:00
|
|
|
|
flex-direction: column;
|
2020-09-05 18:49:52 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
const STYLES_SECTION_CHILD_SPLIT = css`
|
2020-09-09 02:57:11 +03:00
|
|
|
|
width: 64%;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
height: 40vh;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-09 02:57:11 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
|
|
|
|
height: 24vh;
|
|
|
|
|
width: 100%;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
flex-direction: column;
|
2020-09-06 17:55:40 +03:00
|
|
|
|
}
|
2020-09-07 02:24:36 +03:00
|
|
|
|
`;
|
2020-09-06 20:08:58 +03:00
|
|
|
|
|
2020-09-08 16:47:01 +03:00
|
|
|
|
const STYLES_CARD_GROUP = css`
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-top: 48px;
|
2020-09-10 13:59:43 +03:00
|
|
|
|
flex-flow: row wrap;
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-09 02:57:11 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-10 13:59:43 +03:00
|
|
|
|
align-items: left;
|
|
|
|
|
4margin-top: 16px;
|
2020-09-09 02:57:11 +03:00
|
|
|
|
}
|
2020-09-08 16:47:01 +03:00
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
const STYLES_CARD_NAME = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl1};
|
|
|
|
|
text-align: left;
|
2020-09-07 11:42:42 +03:00
|
|
|
|
`;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
|
2020-09-06 17:55:40 +03:00
|
|
|
|
const STYLES_CARD_GITHUB = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
font-size: ${Constants.typescale.lvl0};
|
|
|
|
|
text-align: left;
|
2020-09-06 17:55:40 +03:00
|
|
|
|
`;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
|
2020-09-06 17:55:40 +03:00
|
|
|
|
const STYLES_CARD_TEXT = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
padding: 8px 4px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2020-09-06 17:55:40 +03:00
|
|
|
|
`;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
|
2020-09-05 18:49:52 +03:00
|
|
|
|
const STYLES_CARD_WRAPPER = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
width: calc(100% / 10 px);
|
2020-09-05 18:49:52 +03:00
|
|
|
|
transition: 200ms ease box-shadow;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
padding: 16px 16px 0 0;
|
2020-09-10 06:19:10 +03:00
|
|
|
|
|
2020-09-06 17:55:40 +03:00
|
|
|
|
@media (max-width: ${Constants.sizes.tablet}px) {
|
2020-09-07 11:42:42 +03:00
|
|
|
|
}
|
2020-09-08 16:47:01 +03:00
|
|
|
|
`;
|
|
|
|
|
const STYLES_SLATE_CARD_EFFECTS = css`
|
2020-09-09 02:37:11 +03:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
border-radius: 4px;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
padding: 8px;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
height: 100%;
|
|
|
|
|
cursor: default;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
border: 1px solid ${Constants.system.gray};
|
|
|
|
|
color: ${Constants.system.slate};
|
|
|
|
|
background-color: ${Constants.system.foreground};
|
2020-09-08 16:47:01 +03:00
|
|
|
|
background-position: center;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
:hover {
|
|
|
|
|
background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/13471/sparkles.gif");
|
|
|
|
|
background-position: center;
|
2020-09-09 02:37:11 +03:00
|
|
|
|
background-size: 100%;
|
|
|
|
|
mix-blend-mode: luminosity;
|
|
|
|
|
color: ${Constants.system.foreground};
|
|
|
|
|
transition: background-image 2s ease-in-out 2s;
|
2020-09-08 16:47:01 +03:00
|
|
|
|
opacity: 1;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
:after {
|
2020-09-05 15:02:27 +03:00
|
|
|
|
}
|
|
|
|
|
`;
|
2020-09-12 20:17:23 +03:00
|
|
|
|
const SLATE_CORE_TEAM = [
|
|
|
|
|
{
|
|
|
|
|
id: 1,
|
|
|
|
|
name: "Jason Leyser",
|
|
|
|
|
url: "https://github.com/jasonleyser",
|
|
|
|
|
username: "jasonleyser",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreidw22xqcr6fo6m7k25qe3yemby6w4dlawbsu6yxs7qjnpu5gyoiwm"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
|
|
|
|
name: "Cake",
|
2020-09-13 07:22:04 +03:00
|
|
|
|
url: "https://github.com/STYLES_CARD_GROUPmylee",
|
2020-09-12 20:17:23 +03:00
|
|
|
|
username: "jimmylee",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreigxoyf43vw3p2hbc4ycsyh2og36cgy3s47xkb2n4w3i7auv2a6cei"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
|
|
|
|
name: "Martina Long",
|
|
|
|
|
url: "https://github.com/martinalong",
|
|
|
|
|
username: "martinalong",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreiasfgunf66fxncazlfzff3vp2btfe4j55jxgb2epcthrnvwkthwrq"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 4,
|
|
|
|
|
name: "Haris Butt",
|
|
|
|
|
url: "https://github.com/harisbutt",
|
|
|
|
|
username: "harisbutt",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreih3tbsh6f4m3m2yv3uyc7cupriovl4b354rsyyxuh6l5sv7ftdgzq"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 5,
|
|
|
|
|
name: "Tara Lin",
|
|
|
|
|
url: "https://github.com/tarafanlin",
|
|
|
|
|
username: "tarafanlin",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreieuxq4itewoes3wnpfxw2dfat6oi6rsy2snix7tvtgv7d7bgre64q"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 6,
|
|
|
|
|
name: "William Felker",
|
|
|
|
|
url: "https://slate.host/gndclouds/urban-gardens",
|
|
|
|
|
username: "gndclouds",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://bafkreih2b33oaftlflmsg6njtu7i54f2nwws5gfhhf5w4qaezcejs6gjte.ipfs.slate.textile.io/"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
const SLATE_CONTRIBUTOR_TEAM = [
|
|
|
|
|
{
|
|
|
|
|
id: 1,
|
|
|
|
|
name: "Pooja Shah",
|
|
|
|
|
url: "https://github.com/pooja",
|
|
|
|
|
username: "pooja",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreier4xffhrpconlprzxvzslqsovykqet7xj6zhhptxgu4nm2qw5i3u"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
|
|
|
|
name: "Why",
|
|
|
|
|
url: "https://github.com/whyrusleeping",
|
|
|
|
|
username: "whyrusleeping",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreigvs53l22cuswtc4dtgndmc3aqns2unpc5xndnzx5gjdbw4yv6qhm"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 4,
|
|
|
|
|
name: "Aaron Stula",
|
|
|
|
|
url: "https://github.com/asutula",
|
|
|
|
|
username: "asutula",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreig3vnxyqqsxnrs24zpbbuc6jh5wvdsa7w6fx5gvi4j3t7rhoelhlm"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
|
|
|
|
name: "Ignacio Hagopian",
|
|
|
|
|
url: "https://github.com/jsign",
|
|
|
|
|
username: "jsign",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreicktewpelagb3uvgd6psacr4kra66ii7254ghqflklek7taahni2m"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 5,
|
|
|
|
|
name: "Sander Pick",
|
|
|
|
|
url: "https://github.com/sanderpick",
|
|
|
|
|
username: "sanderpick",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreihptnrkusu7qnsm4qure7noknmsrhftyrx7zy6aaj4e2cxmtcey6q"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 6,
|
|
|
|
|
name: "Andrew Hill",
|
|
|
|
|
url: "https://github.com/andrewxhill",
|
|
|
|
|
username: "andrewxhill",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreicfbr2qpmineh2ezi2kjfbshbpizkikectbdurfskczwatjkdfcoa"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 7,
|
|
|
|
|
name: "Akuoko Daniel Jnr",
|
|
|
|
|
url: "https://github.com/akuokojnr",
|
|
|
|
|
username: "akuokojnr",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreiblpimmchcbvsv3xh5aimjzrjw6bmiz6yg2dtifssf2oencg5z54q"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 8,
|
|
|
|
|
name: "Narative",
|
|
|
|
|
url: "https://github.com/narative",
|
|
|
|
|
username: "Narative",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreihdkapriwuzfh42zkhs3kwj5qki43dvyu6mq5j3rug3uf6i7egs6y"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 9,
|
|
|
|
|
name: "Colin S. McCaleb",
|
|
|
|
|
url: "https://github.com/uonai",
|
|
|
|
|
username: "uonai",
|
|
|
|
|
imageUrl:
|
2020-09-13 07:22:04 +03:00
|
|
|
|
"https://slate.textile.io/ipfs/bafkreigbjyxbmc2cirha3g4y2rmlrntau2l2gjy4ft3y6ii3kyh4ifw5li"
|
2020-09-12 20:17:23 +03:00
|
|
|
|
}
|
|
|
|
|
];
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-10 06:19:10 +03:00
|
|
|
|
export const getServerSideProps = async context => {
|
2020-09-05 15:02:27 +03:00
|
|
|
|
return {
|
2020-09-10 06:19:10 +03:00
|
|
|
|
props: { ...context.query }
|
2020-09-05 15:02:27 +03:00
|
|
|
|
};
|
|
|
|
|
};
|
2020-09-13 08:21:52 +03:00
|
|
|
|
|
2020-09-12 20:17:23 +03:00
|
|
|
|
const SlateTeamCards = props => {
|
|
|
|
|
return (
|
|
|
|
|
<div key={props.id} css={STYLES_CARD_WRAPPER}>
|
|
|
|
|
<a href={props.url}>
|
|
|
|
|
<System.HoverTile height={250} width={200} style={{ borderRadius: 4 }}>
|
|
|
|
|
<div css={STYLES_SLATE_CARD_EFFECTS}>
|
|
|
|
|
<img
|
|
|
|
|
css={STYLES_IMG}
|
|
|
|
|
alt={`Github Profile Photo for ${props.handle}`}
|
|
|
|
|
src={props.preview}
|
|
|
|
|
/>
|
|
|
|
|
<div css={STYLES_CARD_TEXT}>
|
|
|
|
|
<p css={STYLES_CARD_NAME}>{props.name}</p>
|
|
|
|
|
<p css={STYLES_CARD_GITHUB}>{`@${props.handle}`}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</System.HoverTile>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
2020-09-05 15:02:27 +03:00
|
|
|
|
|
2020-09-06 17:55:40 +03:00
|
|
|
|
export default class CommunityPage extends React.Component {
|
2020-09-10 17:55:40 +03:00
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
|
|
|
|
|
|
|
|
|
this.state = {
|
|
|
|
|
issues: []
|
|
|
|
|
};
|
|
|
|
|
}
|
2020-09-10 06:19:10 +03:00
|
|
|
|
|
2020-09-12 20:17:23 +03:00
|
|
|
|
async componentDidMount() {
|
|
|
|
|
try {
|
|
|
|
|
const response = await fetch(
|
|
|
|
|
`https://api.github.com/repos/filecoin-project/slate/issues?labels=For+the+public`
|
2020-09-10 06:19:10 +03:00
|
|
|
|
);
|
2020-09-12 20:17:23 +03:00
|
|
|
|
const issues = await response.json();
|
|
|
|
|
this.setState({
|
|
|
|
|
issues
|
|
|
|
|
});
|
|
|
|
|
} catch (e) {}
|
|
|
|
|
}
|
2020-09-10 06:19:10 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
render() {
|
|
|
|
|
const title = `Slate`;
|
|
|
|
|
const description =
|
2020-09-08 16:47:01 +03:00
|
|
|
|
"Slate is designed and built by a growing community of hackers, artists, and creatives on the web.";
|
2020-09-05 15:02:27 +03:00
|
|
|
|
const url = "https://slate.host/community";
|
2020-09-10 13:59:43 +03:00
|
|
|
|
const words = "npm install --save slate-react-system";
|
|
|
|
|
const letters = words.split("");
|
|
|
|
|
let count = 0;
|
2020-09-05 15:02:27 +03:00
|
|
|
|
|
|
|
|
|
return (
|
2020-09-10 06:19:10 +03:00
|
|
|
|
<WebsitePrototypeWrapper
|
|
|
|
|
title={title}
|
|
|
|
|
description={description}
|
|
|
|
|
url={url}
|
|
|
|
|
>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<WebsitePrototypeHeader />
|
2020-09-05 15:02:27 +03:00
|
|
|
|
<div css={STYLES_ROOT}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<div css={STYLES_SECTION_HERO}>
|
|
|
|
|
<div css={STYLES_TEXT_BLOCK}>
|
2020-09-05 15:02:27 +03:00
|
|
|
|
<img
|
2020-09-08 16:47:01 +03:00
|
|
|
|
css={STYLES_HEROIMG}
|
2020-09-12 06:43:28 +03:00
|
|
|
|
src="https://slate.textile.io/ipfs/bafybeigtl3tjyozxxkabdvfdhopkep62ux4grgritlslwusgww6gdmm5da"
|
2020-09-09 02:37:11 +03:00
|
|
|
|
alt="blocks evolving into different structures"
|
2020-09-05 15:02:27 +03:00
|
|
|
|
/>
|
2020-09-09 02:37:11 +03:00
|
|
|
|
<h1 css={STYLES_H1}>Community</h1>
|
|
|
|
|
<h3 css={STYLES_H3} style={{ opacity: 0.7 }}>
|
2020-09-10 06:19:10 +03:00
|
|
|
|
Slate is designed and built by a growing community of hackers,
|
|
|
|
|
artists, and creatives on the web.
|
2020-09-09 02:37:11 +03:00
|
|
|
|
</h3>
|
|
|
|
|
<br />
|
2020-09-10 06:19:10 +03:00
|
|
|
|
<br />
|
2020-09-09 02:37:11 +03:00
|
|
|
|
<div>
|
2020-09-10 06:19:10 +03:00
|
|
|
|
<button
|
|
|
|
|
css={STYLES_BUTTON_PRIMARY}
|
|
|
|
|
onClick={() => window.open("https://filecoin.io/slack")}
|
|
|
|
|
>
|
2020-09-09 02:57:11 +03:00
|
|
|
|
Join our community
|
2020-09-09 02:37:11 +03:00
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2020-09-05 15:02:27 +03:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-09-06 17:55:40 +03:00
|
|
|
|
|
2020-09-05 15:02:27 +03:00
|
|
|
|
<div css={STYLES_SECTION_WRAPPER}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<div css={STYLES_TEXT_BLOCK}>
|
|
|
|
|
<h2 css={STYLES_H2}>Core Team</h2>
|
|
|
|
|
</div>
|
2020-09-12 20:17:23 +03:00
|
|
|
|
<div css={STYLES_CARD_GROUP}>
|
|
|
|
|
{SLATE_CORE_TEAM.map(each => (
|
|
|
|
|
<SlateTeamCards
|
|
|
|
|
key={each.name}
|
|
|
|
|
preview={each.imageUrl}
|
|
|
|
|
url={each.url}
|
|
|
|
|
name={each.name}
|
|
|
|
|
username={each.username}
|
|
|
|
|
/>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
2020-09-05 18:49:52 +03:00
|
|
|
|
</div>
|
2020-09-10 06:19:10 +03:00
|
|
|
|
|
2020-09-05 18:49:52 +03:00
|
|
|
|
<div css={STYLES_SECTION_WRAPPER}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<div css={STYLES_TEXT_BLOCK}>
|
|
|
|
|
<h2 css={STYLES_H2}>Contributors</h2>
|
|
|
|
|
</div>
|
2020-09-12 20:17:23 +03:00
|
|
|
|
<div css={STYLES_CARD_GROUP}>
|
|
|
|
|
{SLATE_CONTRIBUTOR_TEAM.map(each => (
|
|
|
|
|
<SlateTeamCards
|
|
|
|
|
key={each.name}
|
|
|
|
|
preview={each.imageUrl}
|
|
|
|
|
url={each.imageUrl}
|
|
|
|
|
name={each.name}
|
|
|
|
|
username={each.username}
|
|
|
|
|
/>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
2020-09-05 18:49:52 +03:00
|
|
|
|
</div>
|
|
|
|
|
<div css={STYLES_SECTION_WRAPPER}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<div css={STYLES_TEXT_BLOCK}>
|
2020-09-05 18:49:52 +03:00
|
|
|
|
<h1 css={STYLES_H1}>Get involved</h1>
|
2020-09-09 02:37:11 +03:00
|
|
|
|
<h3 css={STYLES_H3} style={{ opacity: 0.7 }}>
|
2020-09-10 06:19:10 +03:00
|
|
|
|
The Slate Project is the byproduct of a growing community of
|
|
|
|
|
contributors from around the world. We’d love for you to join
|
|
|
|
|
us, get involved in the project and contribute.
|
2020-09-08 16:47:01 +03:00
|
|
|
|
</h3>
|
2020-09-10 17:55:40 +03:00
|
|
|
|
<div css={STYLES_SECTION_CHILD_SPLIT}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<h3 css={STYLES_H3}>Contribute</h3>
|
2020-09-10 17:55:40 +03:00
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
<h3 css={STYLES_H3} style={{ opacity: 0.7 }}>
|
|
|
|
|
Find something you want to work on and file an issue. If you
|
|
|
|
|
see something you want to fix or change, submit a pull
|
|
|
|
|
request.
|
|
|
|
|
</h3>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
2020-09-11 06:25:22 +03:00
|
|
|
|
|
2020-09-10 17:55:40 +03:00
|
|
|
|
<button
|
|
|
|
|
css={STYLES_BUTTON_PRIMARY}
|
|
|
|
|
onClick={() =>
|
|
|
|
|
window.open("https://github.com/filecoin-project/slate")
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
Github
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2020-09-12 20:17:23 +03:00
|
|
|
|
|
|
|
|
|
<IssuesList issues={this.state.issues} />
|
|
|
|
|
|
2020-09-09 02:37:11 +03:00
|
|
|
|
<div css={STYLES_SECTION_CHILD_FULL}>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
<h3 css={STYLES_H3}>Design System</h3>
|
2020-09-09 02:37:11 +03:00
|
|
|
|
<div css={STYLES_SECTION_CHILD_SPLIT}>
|
|
|
|
|
<h3 css={STYLES_H3} style={{ opacity: 0.7 }}>
|
|
|
|
|
Check out our open source design system for your projects.
|
|
|
|
|
</h3>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
2020-09-11 06:25:22 +03:00
|
|
|
|
|
2020-09-10 13:59:43 +03:00
|
|
|
|
<CodeTerminal />
|
2020-09-09 02:57:11 +03:00
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<button
|
|
|
|
|
css={STYLES_BUTTON_PRIMARY}
|
|
|
|
|
style={{ marginRight: 24 }}
|
2020-09-10 06:19:10 +03:00
|
|
|
|
onClick={() =>
|
|
|
|
|
window.open("http://localhost:1337/_/system")
|
|
|
|
|
}
|
2020-09-09 02:57:11 +03:00
|
|
|
|
>
|
|
|
|
|
Design system
|
|
|
|
|
</button>
|
2020-09-09 02:37:11 +03:00
|
|
|
|
</div>
|
2020-09-08 16:47:01 +03:00
|
|
|
|
</div>
|
2020-09-05 15:02:27 +03:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<WebsitePrototypeFooter />
|
|
|
|
|
</WebsitePrototypeWrapper>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|