mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 06:45:59 +03:00
93 lines
3.3 KiB
JavaScript
93 lines
3.3 KiB
JavaScript
import * as React from "react";
|
||
import * as Strings from "~/common/strings";
|
||
import * as Constants from "~/common/constants";
|
||
import * as System from "~/components/system";
|
||
import * as Validations from "~/common/validations";
|
||
import * as Actions from "~/common/actions";
|
||
import * as Events from "~/common/custom-events";
|
||
|
||
import { css } from "@emotion/react";
|
||
|
||
const STYLES_HEADER = css`
|
||
font-family: ${Constants.font.semiBold};
|
||
margin-bottom: 8px;
|
||
`;
|
||
|
||
const STYLES_GROUPING = css`
|
||
width: 100%;
|
||
border: 1px solid rgba(196, 196, 196, 0.5);
|
||
background-color: ${Constants.system.white};
|
||
border-radius: 6px;
|
||
padding: 16px;
|
||
margin-bottom: 24px;
|
||
`;
|
||
|
||
const STYLES_TEXT = css`
|
||
line-height: 1.5;
|
||
color: ${Constants.semantic.textGray};
|
||
font-size: ${Constants.typescale.lvl0};
|
||
`;
|
||
|
||
export default class SidebarFAQ extends React.Component {
|
||
render() {
|
||
return (
|
||
<div style={{ marginBottom: 64 }}>
|
||
<System.P1
|
||
style={{
|
||
fontFamily: Constants.font.semiBold,
|
||
fontSize: Constants.typescale.lvl3,
|
||
marginBottom: 36,
|
||
}}
|
||
>
|
||
FAQ
|
||
</System.P1>
|
||
|
||
<div css={STYLES_GROUPING}>
|
||
<System.P1 css={STYLES_HEADER}>What is Slate?</System.P1>
|
||
<System.P1 css={STYLES_TEXT}>
|
||
Slate is the first public file storage network designed for research and collaboration.
|
||
It is an open source alternative to services like Dropbox and Google Drive, and is built
|
||
on IPFS and Textile’s Powergate.
|
||
</System.P1>
|
||
</div>
|
||
<div css={STYLES_GROUPING}>
|
||
<System.P1 css={STYLES_HEADER}>What can I use it for?</System.P1>
|
||
<System.P1 css={STYLES_TEXT}>
|
||
Slate is a modern solution for storing and sharing files on the web. It provides you
|
||
with a suite of tools that allow you to easily create moodboards, organize research, and
|
||
create archives with your files all in one space. Slate supports most file types for
|
||
images, videos, audio, and documents.
|
||
</System.P1>
|
||
</div>
|
||
<div css={STYLES_GROUPING}>
|
||
<System.P1 css={STYLES_HEADER}>What makes Slate different?</System.P1>
|
||
<System.P1 css={STYLES_TEXT}>
|
||
Besides being built with technologies designed around trust and transparency, Slate is
|
||
the first storage application that also works as a social file sharing network. This
|
||
makes it so that you can seamlessly search and access files that are shared publicly on
|
||
the network by other people.
|
||
</System.P1>
|
||
</div>
|
||
|
||
<div css={STYLES_GROUPING}>
|
||
<System.P1 css={STYLES_HEADER}>Can I get involved?</System.P1>
|
||
<System.P1 css={STYLES_TEXT}>
|
||
Yes! All of Slate is built out in the open by a community of contributors around the
|
||
world. Join our Slack or head over to our GitHub to get in on the action.
|
||
</System.P1>
|
||
</div>
|
||
|
||
{/* <div css={STYLES_GROUPING}>
|
||
<System.P1
|
||
css={STYLES_TEXT}
|
||
style={{ color: Constants.system.blue, cursor: "pointer" }}
|
||
onClick={() => this.props.onAction({ type: "SIDEBAR", value: "SIDEBAR_HELP" })}
|
||
>
|
||
Still have questions? Send us a message!
|
||
</System.P1>
|
||
</div> */}
|
||
</div>
|
||
);
|
||
}
|
||
}
|