import * as React from "react"; import * as Constants from "~/common/constants"; import * as Actions from "~/common/actions"; import * as System from "~/components/system"; import { motion, useViewportScroll, useTransform } from "framer-motion"; import { css, keyframes } from "@emotion/react"; 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 { Fade } from "react-slideshow-image"; const STYLES_HERO_SECTION = css` text-align: center; width: 100vw; height: 100vh; padding-top: 30vh; background-image: url(""); background-size: cover; background-position: center; background-repeat: no-repeat; transition: width 2s, height 4s; `; const STYLES_HERO_TEXT = css` text-align: center; color: ${Constants.system.black}; width: 80vw; margin: auto; `; const STYLES_ROOT = css` display: flex; flex-direction: column; justify-content: space-between; h1{ font-size: 4.768rem; padding: 0px 0px 32px 0px; width: 100%; } h2{ font-size: 1.953rem; width: 48%; } p{ font-size: 1rem; color: ${Constants.system.black}; } @media (max-width: ${Constants.sizes.mobile}px) { h1{ font-size: 2.441rem; } h2{ font-size: 1.25rem; } p{ font-size: 0.78rem; } } `; const STYLES_FOREGROUND_H1 = css` font-size: 4.768rem; color: ${Constants.system.foreground}; padding: 0px 0px 32px 0px; width: 64%; `; const STYLES_FOREGROUND_H2 = css` font-size: 1.953rem; color: ${Constants.system.foreground}; width: 48%; `; const STYLES_HERO = css` padding: 88px 24px; width: 100vw; height: 100vh; background: ${Constants.system.foreground}; `; const STYLES_SECTION_WHITE = css` padding: 88px 24px; width: 100vw; height: 100vh; background: ${Constants.system.white}; `; const STYLES_SECTION_GRAY = css` padding: 88px 24px; width: 100vw; height: 100vh; background: ${Constants.system.gray}; `; const STYLES_SECTION_FOREGROUND = css` padding: 88px 24px; width: 100vw; height: 100vh; background: ${Constants.system.foreground}; position: relative; `; const STYLES_SECTION_FRONT = css` padding: 88px 24px 24px 24px; margin: 0px; position: relative; z-index : 2; } `; const STYLES_VIEWS_TEXT = css` display: inline-flex; align-items: center; font-size: 1.953rem; color: ${Constants.system.black}; text-decoration: none; margin: 30vh 0px; } `; const STYLES_VIEWS_IMAGES = css` display: inline-flex; position: absolute; img{ max-width: 500px; height: auto; } } `; const STYLES_SECTION_BACK = css` margin: 0px 0px 0px 0px; width: 100vw; height: 100vh; padding: 0px; position: absolute; background-size: cover; background-position: center; background-repeat: no-repeat; `; const STYLES_SECTION_MEDIA = css` width: 100%; height: 100vh; padding: 0px; margin: 0px; `; const STYLES_MEDIA = css` max-width: 100%; max-height: 100vh; background-size: cover; background-position: center; background-repeat: no-repeat; `; const STYLES_SIMPLE_FLOW_CONTAINER = css ` display: flex; flex-direction: row; width: 100vw; justify-content: space-around; padding-top: 20vh; align-items: center; `; const STYLES_ARROW_CONTAINER = css ` width: 200px; `; const STYLES_SECTION_TEXT = css` display: block; max-width: 980px; `; const STYLES_SECTION_SVG_CONTAINER = css` display: flex; justify-content: center; `; const STYLES_STROKE_KF = keyframes` from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0;} `; const STYLES_SVG_AN = css` animation: ${STYLES_STROKE_KF} 5s ease-in-out infinite alternate; `; const STYLES_CONTR_CONTAINER = css ` display: flex; `; const STYLES_CONTR_LIST = css ` display: flex; justify-content: space-around; width: 100vw; list-style: none; `; const STYLES_CONTR_LI0 = css ` font-size: 1.953rem; color: ${Constants.system.black}; text-decoration: none; padding-bottom: 1.5rem; `; const STYLES_CONTR_LI1 = css ` font-size: 1.953rem; color: ${Constants.system.black}; text-decoration: none; opacity: .76; padding-bottom: 1.5rem; `; const STYLES_CONTR_LI2 = css ` font-size: 1.953rem; color: ${Constants.system.black}; text-decoration: none; opacity: .56; padding-bottom: 1.5rem; `; const STYLES_CONTR_LI3 = css ` font-size: 1.953rem; color: ${Constants.system.black}; text-decoration: none; opacity: .26; padding-bottom: 1.5rem; `; const STYLES_MEDIA_LEFT = css` position: absolute; right: 16%; bottom: 24px `; const fadeImages = [ "/static/media/image.jpg", "/static/media/sound.jpg", "/static/media/code.jpg", "/static/media/text.jpg", "/static/media/url.jpg", ]; const viewsImages = [ "/static/media/slate-views-moodboard.png", "/static/media/slate-views-canvas.png", "/static/media/slate-views-presentation.png", "/static/media/slate-views-blog.png", ]; export const getServerSideProps = async (context) => { return { props: { ...context.query }, }; }; export const MyComponent = () => ( ) export const MyMotion = () => { const { scrollYProgress } = useViewportScroll() return } export default class IndexPage extends React.Component { async componentDidMount() { const response = await Actions.health(); console.log("HEALTH_CHECK", response); } render() { const title = `Slate`; const description = "The place for all of your assets. Powered by Textile and Filecoin."; const url = "https://slate.host"; return (
Slate is the gateway to Filecoin.
By creating a safe, open, and moddable storage system that is easy to use, we create paths to a new network of designed around trust.

Simple, intuitive

Break way from abstract visualizations of your files.
Securely organize your data in a relatable way

{/*Upload File Figure out hoiw to pull in correctly*/}

Slate securely stores your file

Share!

Private & Secure

All your files are encryped. Only accessible by you and the people you choose to share.

Easily store any{" "} image sound code text URL

Slate is the first decentralized storage system made for everyone. You can store any form of information on Slate.

Making a Slate

Slates give you rich previews and different layouts to view your files.

Create moodboards Organize research Share presentations Create a Blog URL

Share with

Words about things

Open Source

"Collaboration makes better software".

Pair that with Filecoin's transparent marketplace as Slates's foundation. And you got yourself real nice power couple right there.

  • Jimmylee
    github.com/jimmylee
  • Martinalong
    github.com/martinalong
  • William Felker
    github.com/gndclouds
  • Uonai
    github.com/uonai
); } }