slate/pages/index.js

896 lines
27 KiB
JavaScript
Raw Normal View History

2020-07-09 06:19:08 +03:00
import * as React from "react";
2020-07-16 08:48:51 +03:00
import * as Constants from "~/common/constants";
import * as Actions from "~/common/actions";
2020-07-09 06:19:08 +03:00
import WebsitePrototypeWrapper from "~/components/core/WebsitePrototypeWrapper";
import WebsitePrototypeHeader from "~/components/core/NewWebsitePrototypeHeader";
import WebsitePrototypeFooter from "~/components/core/NewWebsitePrototypeFooter";
import TextLoop from "react-text-loop";
import { css } from "@emotion/react";
import ReactDOM from "react-dom";
const STYLES_BODY = css`
height: 100vh;
position: fixed;
overflow-y: scroll;
overflow-x: hidden;
background-color: ${Constants.system.pitchBlack};
-ms-overflow-style: none;
scrollbar-width: none;
::-webkit-scrollbar {
display: none;
}
`;
2020-09-09 17:35:28 +03:00
2020-07-16 08:48:51 +03:00
const STYLES_ROOT = css`
display: flex;
flex-direction: column;
justify-content: space-between;
`;
const STYLES_LINK = css`
text-decoration: none;
color: ${Constants.system.white};
transition: 200ms ease all;
:hover {
color: ${Constants.system.blue};
}
`;
const STYLES_H1 = css`
font-size: ${Constants.typescale.lvl5};
line-height: 1.3;
padding: 0px 0px 24px 0px;
letter-spacing: -0.021rem;
width: 100%;
color: ${Constants.system.white};
@media (max-width: ${Constants.sizes.tablet}px) {
font-size: ${Constants.typescale.lvl5};
padding: 0px 0px 16px 0px;
}
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: ${Constants.typescale.lvl3};
2020-07-16 08:48:51 +03:00
}
`;
const STYLES_H2 = css`
font-size: ${Constants.typescale.lvl3};
line-height: 1.3;
letter-spacing: -0.019rem;
padding: 0 0 24px 0;
width: 100%;
color: ${Constants.system.darkGray};
@media (max-width: ${Constants.sizes.tablet}px) {
font-size: ${Constants.typescale.lvl3};
line-height: 1.5;
}
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: ${Constants.typescale.lvl2};
}
`;
const STYLES_H3 = css`
font-size: ${Constants.typescale.lvl2};
line-height: 1.5;
letter-spacing: -0.014rem;
padding: 0 0 8px 0;
color: ${Constants.system.darkGray};
@media (max-width: ${Constants.sizes.tablet}px) {
font-size: ${Constants.typescale.lvl2};
}
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: ${Constants.typescale.lvl1};
}
`;
const STYLES_HIGHLIGHT = css`
color: ${Constants.system.white};
`;
const STYLES_HIGHLIGHT_BLACK = css`
color: ${Constants.system.slate};
`;
const STYLES_SECTION_HERO = css`
width: 100vw;
padding: 30vh 88px 88px 88px;
display: flex;
flex-direction: column;
justify-content: center;
margin: -88px 0px 0px 0px;
background: ${Constants.system.pitchBlack};
@media (max-width: ${Constants.sizes.mobile}px) {
padding: 40vh 24px 48px 24px;
display: block;
}
`;
const STYLES_SECTION_SLATE_WALL = css`
display: flex;
flex-direction: column;
width: 100vw;
padding: 88px;
background: ${Constants.system.foreground};
@media (max-width: ${Constants.sizes.mobile}px) {
padding: 64px 24px;
display: block;
}
`;
const STYLES_SECTION_SLATE = css`
display: flex;
flex-direction: column;
padding: 88px;
width: 100vw;
background: ${Constants.system.pitchBlack};
@media (max-width: ${Constants.sizes.mobile}px) {
padding: 64px 24px;
display: block;
}
`;
const STYLES_FILETYPE = css`
display: flex;
flex-wrap: wrap;
width: 100%;
@media (max-width: ${Constants.sizes.mobile}px) {
display: block;
}
`;
const STYLES_FILETYPE_GRID_ITEM = css`
padding: 0 24px 24px 0;
width: 50%;
@media (max-width: ${Constants.sizes.mobile}px) {
width: 100%;
padding: 0 0 24px 0;
}
`;
const STYLES_VIDEO_BIG = css`
display: block;
2020-09-07 05:05:30 +03:00
background-color: ${Constants.system.moonstone};
2020-09-07 01:18:40 +03:00
padding: 0;
outline: 0;
margin: 40px auto 80px auto;
border-radius: 4px;
width: 100%;
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
@media (max-width: ${Constants.sizes.tablet}px) {
margin: 32px auto 64px auto;
}
@media (max-width: ${Constants.sizes.mobile}px) {
margin: 16px auto 48px auto;
}
`;
const STYLES_VIDEO_MEDIUM = css`
display: block;
background-color: ${Constants.system.moonstone};
padding: 0;
outline: 0;
margin: 24px auto 96px auto;
border-radius: 4px;
width: 100%;
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
@media (max-width: ${Constants.sizes.tablet}px) {
margin: 16px auto 64px auto;
}
@media (max-width: ${Constants.sizes.mobile}px) {
margin: 8px auto 48px auto;
}
`;
const STYLES_VIDEO_SMALL = css`
display: block;
2020-09-07 05:05:30 +03:00
background-color: ${Constants.system.moonstone};
2020-09-07 01:18:40 +03:00
padding: 0;
outline: 0;
border-radius: 4px;
width: 100%;
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
`;
const STYLES_MEDIA_LEFT = css`
margin: 64px 0 0 -240px;
width: 80vw;
border-radius: 4px;
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
@media (max-width: ${Constants.sizes.mobile}px) {
margin: 24px 0 0 -80px;
}
2020-07-16 08:48:51 +03:00
`;
const STYLES_MEDIA_RIGHT_OVERLAP = css`
float: right;
margin: -40px 240px 0 0;
width: 24vw;
@media (max-width: ${Constants.sizes.tablet}px) {
margin: 24px 0 0 80px;
width: 32vw;
}
@media (max-width: ${Constants.sizes.mobile}px) {
margin: 24px 0 0 80px;
width: 48vw;
}
`;
const STYLES_TEXT_BLOCK = css`
display: flex;
flex-direction: column;
justify-content: space-between;
max-width: 56vw;
width: 100%;
align-self: center;
@media (max-width: ${Constants.sizes.mobile}px) {
width: 88%;
right: 24px;
}
`;
const STYLES_ACTIONS_RIGHT = css`
@media (max-width: ${Constants.sizes.mobile}px) {
display: block;
padding: 16px 0 8px 0;
}
`;
const STYLES_BUTTON_PRIMARY = css`
box-sizing: border-box;
border-radius: 2px;
outline: 0;
border: 0;
2020-09-07 01:18:40 +03:00
min-height: 48px;
padding: 0px 24px 0px 24px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 16px;
letter-spacing: 0.2px;
font-family: ${Constants.font.semiBold};
transition: 200ms ease all;
user-select: none;
cursor: pointer;
background-color: ${Constants.system.slate};
color: ${Constants.system.white};
box-shadow: 0px 10px 50px 20px rgba(0, 0, 0, 0.1);
:hover {
background-color: ${Constants.system.white};
box-shadow: 0px 10px 90px 20px rgba(207, 206, 211, 0.3);
color: ${Constants.system.slate};
}
: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_LINK_WHITE = css`
color: ${Constants.system.darkGray};
text-decoration: none;
transition: 200ms ease color;
font-size: 1.25rem;
padding: 24px 0 0 0;
:visited {
color: ${Constants.system.white};
}
:hover {
color: ${Constants.system.brand};
}
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: 0.78rem;
}
2020-07-16 08:48:51 +03:00
`;
const STYLES_SLATE_CARD_GROUP = css`
display: flex;
flex-wrap: wrap;
width: 100%;
margin-bottom: -1px;
`;
const STYLES_SLATE_CARD = css`
width: 33.33%;
height: calc(100vh / 4);
margin: -1px 0 0 -1px;
transition: 200ms ease box-shadow;
border: 1px solid ${Constants.system.darkGray};
:hover {
transition: 200ms ease box-shadow;
box-shadow: 0px 10px 40px 20px rgba(0, 0, 0, 0.1);
}
a {
color: ${Constants.system.moonstone};
:hover {
color: ${Constants.system.pitchBlack};
font-color: ${Constants.system.pitchBlack};
background-color: transparent;
text-decoration: none;
}
:active {
color: ${Constants.system.pitchBlack};
background-color: transparent;
text-decoration: none;
}
2020-08-19 21:17:12 +03:00
}
`;
const STYLES_SLATE_CARD_CTA = css`
width: 100%;
height: calc(100vh / 2);
margin-left: -1px;
box-shadow: 0px 4px 80px 4px rgba(0, 0, 0, 0.1);
text-decoration: none;
transition: 200ms ease box-shadow;
a {
color: ${Constants.system.pitchBlack};
transition: 200ms ease all;
2020-08-19 21:17:12 +03:00
:hover,
:active {
color: ${Constants.system.pitchBlack};
background-color: transparent;
text-decoration: none;
}
}
`;
const STYLES_SLATE_CARD_TEXT = css`
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
align-items: left;
width: 100%;
height: 100%;
padding: 12px;
`;
const STYLES_SLATE_CARD_TITLE = css`
padding: 12px;
font-size: ${Constants.typescale.lvl1};
text-align: left;
width: 100%;
@media (max-width: ${Constants.sizes.mobile}px) {
padding: 0px;
font-size: 1rem;
}
`;
const STYLES_SLATE_CARD_CTA_TITLE = css`
font-size: ${Constants.typescale.lvl5};
text-align: left;
line-height: 1.25;
padding: 12px;
2020-09-07 00:41:07 +03:00
overflow-wrap: break-word;
width: 100%;
color: ${Constants.system.darkGray};
@media (max-width: ${Constants.sizes.tablet}px) {
font-size: ${Constants.typescale.lvl4};
}
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: ${Constants.typescale.lvl3};
padding: 0px 0px 8px 0px;
}
`;
const STYLES_SLATE_CARD_EXPLAINER = css`
display: flex;
justify-content: space-between;
width: 100%;
padding: 12px;
@media (max-width: ${Constants.sizes.mobile}px) {
padding: 0px;
}
`;
const STYLES_SLATE_CARD_PARAGRAPH = css`
font-size: ${Constants.typescale.lvl0};
text-align: left;
text-decoration: none;
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: 0.78rem;
}
`;
const STYLES_SLATE_CARD_CTA_PARAGRAPH = css`
font-size: ${Constants.typescale.lvl2};
text-align: left;
@media (max-width: ${Constants.sizes.mobile}px) {
font-size: 1rem;
}
`;
2020-09-09 23:08:12 +03:00
export const getServerSideProps = async (context) => {
return {
2020-09-09 23:08:12 +03:00
props: { ...context.query },
};
};
2020-02-19 09:30:47 +03:00
export default class IndexPage extends React.Component {
async componentDidMount() {
const response = await Actions.health();
console.log("HEALTH_CHECK", response);
this.addExampleSlates();
}
coolSlates = [
{
id: 1,
slateName: "Urban gardens",
slateUrl: "https://slate.host/gndclouds/urban-gardens",
slateUser: "gndclouds",
previewImageUrl: "https://bafybeiff7y4kz4e2z4nfso4nsgdbkfsyroa62jvvldoxafuaf34m7lticu.ipfs.slate.textile.io/",
},
{
id: 2,
slateName: "Shapes and Letters",
slateUrl: "https://slate.host/haris/shapes-and-letters",
slateUser: "haris",
previewImageUrl: "https://bafybeifgxtl7mq5djnorxedzi35hkizjmbjvdy3nnoitd3xvdnqpmruxbm.ipfs.slate.textile.io/",
},
{
id: 3,
slateName: "Mountains",
slateUrl: "https://slate.host/jason/mountains",
slateUser: "jason",
previewImageUrl: "https://bafkreies6uykgocrkunrsndxfubntyqvfqzo5wuwyos42vak6d4qnvtdn4.ipfs.slate.textile.io/",
},
{
id: 4,
slateName: "Loom",
slateUrl: "https://slate.host/tara/loom",
slateUser: "tara",
previewImageUrl: "https://bafybeifl5xzy4vjctrsr3jywdlv5ceq3hpaadhcii2ekjx2gljyagveqna.ipfs.slate.textile.io/",
},
{
id: 5,
slateName: "Brand",
slateUrl: "https://slate.host/slate/brand",
slateUser: "slate",
previewImageUrl: "https://bafybeiaerbu2nivrgncqtwgwom27caji25netswvjbo6tcmbka47ucmupa.ipfs.slate.textile.io/",
},
{
id: 6,
slateName: "Montreal underground",
slateUrl: "https://slate.host/tcosta/montreal-underground",
slateUser: "tcosta",
previewImageUrl: "https://bafybeieblkyt6d7wg4xmltshvxm6w7tz4c3zjpjuu4yfhiak36debqccda.ipfs.slate.textile.io/",
},
{
id: 7,
slateName: "Monet",
slateUrl: "https://slate.host/slate/monet",
slateUser: "slate",
previewImageUrl: "https://bafkreieb4yfiamtipapmhoihl547lxeod2vfku67dimrhmab5tcglr5bli.ipfs.slate.textile.io/",
},
{
id: 8,
2020-09-11 00:18:10 +03:00
slateName: "Books",
slateUrl: "https://slate.host/haris/books",
slateUser: "haris",
previewImageUrl: "https://bafkreihe7ismqfyytekj6yvbv6mpbc5de3gozk6n7a47smodbcsnrhbpri.ipfs.slate.textile.io/",
},
{
id: 9,
slateName: "Papers",
slateUrl: "https://slate.host/slate/papers",
2020-09-11 00:18:10 +03:00
slateUser: "slate",
previewImageUrl: "https://bafkreif7l2vxkvdyrydcjwjjrrmqq73id3tdrdkf3z54tp2fotc75wkdwm.ipfs.slate.textile.io/",
},
];
addExampleSlates = () => {
console.log("Function Running");
const allExampleSlates = [];
const slates = this.coolSlates;
for (let c of slates) {
allExampleSlates.push(
<div key={c.id} css={STYLES_SLATE_CARD}>
<div
css={css`
height: 100%;
:hover {
background: url(${c.previewImageUrl});
background-position: center;
background-repeat: no-repeat;
background-size: cover;
opacity: 1;
height: 100%;
}
`}
>
2020-09-11 00:18:10 +03:00
<a css={STYLES_SLATE_CARD_PARAGRAPH} href={c.slateUrl} target="_blank">
<div css={STYLES_SLATE_CARD_TEXT}>
<div css={STYLES_SLATE_CARD_TITLE}>{c.slateName}</div>
<div css={STYLES_SLATE_CARD_EXPLAINER}>
<div css={STYLES_SLATE_CARD_PARAGRAPH}>{`@${c.slateUser}`}</div>
<div css={STYLES_SLATE_CARD_PARAGRAPH}>-&gt;</div>
</div>
</div>
</a>
</div>
</div>
);
}
ReactDOM.render(allExampleSlates, document.getElementById("example-slates"));
};
2020-02-19 09:30:47 +03:00
render() {
2020-07-16 08:48:51 +03:00
const title = `Slate`;
const description = "Welcome to the future of file sharing. Powered by Textile, Filecoin, and IPFS.";
2020-07-16 08:48:51 +03:00
const url = "https://slate.host";
2020-02-19 09:30:47 +03:00
return (
<WebsitePrototypeWrapper title={title} description={description} url={url}>
<div css={STYLES_BODY}>
<WebsitePrototypeHeader />
<div css={STYLES_ROOT}>
<div css={STYLES_SECTION_HERO}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
A file storage network <br />
for you, your files, and your friends.
</h1>
<div css={STYLES_ACTIONS_RIGHT}>
<div css={STYLES_BUTTON_PRIMARY} onClick={() => window.open("/_")}>
Use Slate
</div>
</div>
</div>
<br />
<video
css={STYLES_VIDEO_BIG}
autoPlay
loop
muted
src="https://bafybeidfr2x5ftxzixjxtrgiqm6iuotzip25tlrpase226jog3tqenqd4a.ipfs.slate.textile.io/"
type="video/m4v"
playsInline
style={{
backgroundImage: `url('https://bafybeict43te7wcy7pdw3v45dwwedwxw7yjthbytdsja6dpsiqkgil7iey.ipfs.slate.textile.io/')`,
borderRadius: `4px`,
width: `100%`,
2020-09-09 23:08:12 +03:00
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
backgroundSize: `cover`,
}}
/>
<div css={STYLES_TEXT_BLOCK}>
<h2 css={STYLES_H2}>
Slate{" "}
<span css={STYLES_HIGHLIGHT}>
is a{" "}
<a css={STYLES_LINK} href={"https://github.com/filecoin-project/slate"} target="_blank">
fully open-source
</a>{" "}
file sharing network designed for research and collaboration.
</span>
<br />
<br />
<span css={STYLES_HIGHLIGHT}>Store</span> your data,
<br />
<span css={STYLES_HIGHLIGHT}>organize</span> it any way you like, <br />
<span css={STYLES_HIGHLIGHT}>and share</span> it with the world securely.
<br />
<br />
</h2>
<h3 css={STYLES_H3}>Powered by</h3>
<h2 css={STYLES_H2}>
<span css={STYLES_HIGHLIGHT}>
<a href="https://textile.io" css={STYLES_LINK} target="_blank">
Textile
</a>{" "}
<br />
<a href="https://filecoin.io" css={STYLES_LINK} target="_blank">
Filecoin
</a>
<br />
<a href="https://ipfs.io" css={STYLES_LINK} target="_blank">
IPFS
</a>
</span>
</h2>
</div>
</div>
<div css={STYLES_SECTION_SLATE}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
A new home{" "}
<span css={STYLES_HIGHLIGHT}>
for your{" "}
<TextLoop interval={1200}>
<span>images</span>
<span>videos</span>
<span>audios</span>
<span>ePUBs</span>
<span>PDFs</span>
</TextLoop>
</span>
</h1>
<h3 css={STYLES_H3} style={{ marginBottom: 48 }}>
<span css={STYLES_HIGHLIGHT}>Easily upload </span>any kind of media file to your storage system.
<br />
</h3>
<div css={STYLES_FILETYPE}>
<div css={STYLES_FILETYPE_GRID_ITEM}>
<video
autoPlay
loop
muted
css={STYLES_VIDEO_SMALL}
src="https://bafybeihez3rtyqqftx7mkyktwozyqjkwdtk2kglxqjc4zspah26bva3yk4.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafybeidnt2l3lslxi7ofkxs5ffncsh4fw5h2ohbukxumngrqj5pdrooaou.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
<div css={STYLES_FILETYPE_GRID_ITEM}>
<video
autoPlay
loop
muted
css={STYLES_VIDEO_SMALL}
src="https://bafybeiczug4d6uyr4pkejdwirkeffbzkkzrbaprxvreid6iitw3pmjzq3q.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafkreibb3onijljnmonrbs7qguimjf5qwbnkx3m33pouxbtar2yb7hupti.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
</div>
<div css={STYLES_FILETYPE}>
<div css={STYLES_FILETYPE_GRID_ITEM}>
<video
autoPlay
loop
muted
css={STYLES_VIDEO_SMALL}
src="https://bafkreid7wl4443p764ozdlqtodh7dmsej6ffayp4tc3lr3hil2qkclrohi.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafkreihu7k46n6eixx6sxjv7aolou5bgvksvb7ryju3gbwie22t6r2dhli.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
<div css={STYLES_FILETYPE_GRID_ITEM}>
<video
autoPlay
loop
muted
css={STYLES_VIDEO_SMALL}
src="https://bafybeicjovnsnhvt7xwjw3igdwwpb4ms2m23fayoydj3oevrwyi7dzjtga.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafkreiefuyyk6dcjhyk3hl2httqvdlnl3mo6wrfzgmponexrc75jop757y.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
</div>
</div>
</div>
<div css={STYLES_SECTION_SLATE}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
Upload from <span css={STYLES_HIGHLIGHT}>anywhere</span>
</h1>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>The Slate Chrome extension</span> lets you seamlessly upload files to
your slates from anywhere on the web.
</h3>
</div>
<div>
<img
css={STYLES_MEDIA_LEFT}
src="https://bafybeibwppu23j5wgshqvm5qyqv3c6pmhp3y5irdwn3ivvnnrpexiguzbi.ipfs.slate.textile.io/"
// src="https://bafybeig46uuyp3fkjpk2edeqlmt26r3rxdola52dy7kbgvjms6olyucjdu.ipfs.slate.textile.io/"
// alt="Slate Web Clipper being used in chrome dropdown menu"
/>
</div>
</div>
<div css={STYLES_SECTION_SLATE}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
<span css={STYLES_HIGHLIGHT}>Organize and publish</span>
</h1>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>A modular interface</span> for your files, giving you complete
flexibility.
</h3>
<br />
<br />
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>Create moodboards</span>
</h3>
<video
css={STYLES_VIDEO_MEDIUM}
autoPlay
loop
muted
src="https://bafybeib46kplzcylnzviaojgbogua52wyrzbvnj6uulvo4zwrxm4hnxeqe.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('bafybeicoaponp2nv3ikpsjgcgu7pio6aercflsvsiyxrpaonza7ncg73dq.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>Organize research</span>
</h3>
<video
css={STYLES_VIDEO_MEDIUM}
autoPlay
loop
muted
src="https://bafybeigstyjfpzazdlmgkfuhw4yxrneux3opvbls7nmv6gq7dbnhmy6xwy.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafybeie4p45yfvbjdzc2rgw67e7crcltpu7o544xtugs3wyv3qh3t3oegi.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>Share presentations</span>
</h3>
<video
css={STYLES_VIDEO_MEDIUM}
autoPlay
loop
muted
src="https://bafybeiampkmsxeihxnuz2hkgbhtzosgkwghslpwm7dsrxrzlqwa7tvzreq.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafkreiglefskwq7bpa3aazihegawd4qwxockl6shipnps7zlokrbnu4f7u.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
</div>
<div css={STYLES_SECTION_SLATE}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
<span css={STYLES_HIGHLIGHT}>Collaborate and connect</span>
</h1>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>A file sharing network</span> built on top of a storage system making it
possible to connect with other people on the Filecoin network.
</h3>
</div>
<div>
<video
css={STYLES_VIDEO_BIG}
autoPlay
loop
muted
src="https://bafybeih63zq5f7htbhkmrog447ybytyid2yi6fix4k6z3pbegxpcq2r2qa.ipfs.slate.textile.io/"
type="video/mp4"
playsInline
style={{
backgroundImage: `url('https://bafkreiagwjqvmisseb6voj7cwd3lhjudigkel63hqg6efpqjmhlfv5ucj4.ipfs.slate.textile.io/')`,
backgroundSize: `cover`,
borderRadius: `4px`,
boxShadow: `0px 10px 50px 20px rgba(0, 0, 0, 0.1)`,
}}
/>
</div>
</div>
<div css={STYLES_SECTION_SLATE}>
<div css={STYLES_TEXT_BLOCK}>
<h1 css={STYLES_H1}>
Built on <span css={STYLES_HIGHLIGHT}>trust, privacy, and security</span>
</h1>
<h3 css={STYLES_H3}>
<span css={STYLES_HIGHLIGHT}>Slate is built on Filecoin and IPFS</span> technologies built around
ownership and transparency for the future of the web.
</h3>
<a css={STYLES_LINK_WHITE} href="https://filecoin.io" target="_blank">
Learn more about Filecoin -&gt;
</a>
</div>
<div>
<img
css={STYLES_MEDIA_RIGHT_OVERLAP}
src="https://bafybeiaex6rorqtumulc4x3u4sbl5pdbn5sx45mvm6uvbebu4cxgk3okjy.ipfs.slate.textile.io/"
/>
</div>
</div>
<div css={STYLES_SECTION_SLATE_WALL}>
<div css={STYLES_SLATE_CARD_CTA}>
<a css={STYLES_SLATE_CARD_PARAGRAPH} href="https://slate.host/_" target="_blank">
<div css={STYLES_SLATE_CARD_TEXT}>
<h1 css={STYLES_SLATE_CARD_CTA_TITLE}>
Join us <br />
<span css={STYLES_HIGHLIGHT_BLACK}>in our open & secure network</span>
</h1>
<div css={STYLES_SLATE_CARD_EXPLAINER}>
<div css={STYLES_SLATE_CARD_CTA_PARAGRAPH}>Create your first slate</div>
<div css={STYLES_SLATE_CARD_CTA_PARAGRAPH}>-&gt;</div>
</div>
2020-08-19 21:17:12 +03:00
</div>
</a>
</div>
<br />
<br /> <div id="example-slates" css={STYLES_SLATE_CARD_GROUP}></div>
</div>
2020-09-09 17:35:28 +03:00
</div>
<WebsitePrototypeFooter />
2020-07-16 08:48:51 +03:00
</div>
</WebsitePrototypeWrapper>
2020-02-19 09:30:47 +03:00
);
}
}