diff --git a/packages/website/data/news/a-deep-dive-into-skynet/index.md b/packages/website/data/news/a-deep-dive-into-skynet/index.md new file mode 100644 index 00000000..2e81770a --- /dev/null +++ b/packages/website/data/news/a-deep-dive-into-skynet/index.md @@ -0,0 +1,10 @@ +--- +title: "A Deep Dive into Skynet" +date: "2021-02-09" +description: An introduction and a point of reference on all things Skynet. Intended for all audiences & each section has been written to be… +thumbnail: ./thumbnail.png +categories: ["medium"] +author: David Vorick +avatar: ../../team/david-vorick.png +external: https://blog.sia.tech/a-deep-dive-into-skynet-a0fa037feea +--- diff --git a/packages/website/data/news/a-deep-dive-into-skynet/thumbnail.png b/packages/website/data/news/a-deep-dive-into-skynet/thumbnail.png new file mode 100644 index 00000000..67b721ae Binary files /dev/null and b/packages/website/data/news/a-deep-dive-into-skynet/thumbnail.png differ diff --git a/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/index.md b/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/index.md new file mode 100644 index 00000000..a9f086a2 --- /dev/null +++ b/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/index.md @@ -0,0 +1,10 @@ +--- +title: "Announcing Skynet Premium Plans: Faster Speeds and Longer Pinning" +date: "2021-03-24" +description: Skynet Labs announces accounts with faster speeds and greater amounts of stored data, laying the foundation for future content… +thumbnail: ./thumbnail.png +categories: ["medium"] +author: David Vorick +avatar: ../../team/david-vorick.png +external: https://blog.sia.tech/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning-b5469814d2c3 +--- diff --git a/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/thumbnail.png b/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/thumbnail.png new file mode 100644 index 00000000..9fccf3ef Binary files /dev/null and b/packages/website/data/news/announcing-skynet-premium-plans-faster-speeds-and-longer-pinning/thumbnail.png differ diff --git a/packages/website/data/news/built-to-explore/index.md b/packages/website/data/news/built-to-explore/index.md new file mode 100644 index 00000000..d96f8db0 --- /dev/null +++ b/packages/website/data/news/built-to-explore/index.md @@ -0,0 +1,10 @@ +--- +title: "Built to Explore: The Skynet Spring 2021 Hackathon!" +date: "2021-04-01" +description: Put your DApp to the test with real end-users in this exciting 3 phase hackathon. $25,000+ in prizes and open to devs and nondevs alike! +thumbnail: ./thumbnail.png +categories: ["medium"] +author: David Vorick +avatar: ../../team/david-vorick.png +external: https://blog.sia.tech/built-to-explore-the-skynet-spring-2021-hackathon-a0cff382bb0c +--- diff --git a/packages/website/data/news/built-to-explore/thumbnail.png b/packages/website/data/news/built-to-explore/thumbnail.png new file mode 100644 index 00000000..60fd42bd Binary files /dev/null and b/packages/website/data/news/built-to-explore/thumbnail.png differ diff --git a/packages/website/data/news/introducing-skynet-labs/index.md b/packages/website/data/news/introducing-skynet-labs/index.md new file mode 100644 index 00000000..d9f6e4d7 --- /dev/null +++ b/packages/website/data/news/introducing-skynet-labs/index.md @@ -0,0 +1,10 @@ +--- +title: Introducing Skynet Labs +date: "2021-04-02" +description: Nebulous rebrands to Skynet Labs with decentralized internet as the cornerstone of our mission. +thumbnail: ./thumbnail.png +categories: ["medium"] +author: Manasi Vora +avatar: ../../team/manasi-vora.png +external: https://blog.sia.tech/introducing-skynet-labs-434c852cce07 +--- diff --git a/packages/website/data/news/introducing-skynet-labs/thumbnail.png b/packages/website/data/news/introducing-skynet-labs/thumbnail.png new file mode 100644 index 00000000..92b9b33c Binary files /dev/null and b/packages/website/data/news/introducing-skynet-labs/thumbnail.png differ diff --git a/packages/website/data/news/launching-the-sia-foundation/index.md b/packages/website/data/news/launching-the-sia-foundation/index.md new file mode 100644 index 00000000..644ff8de --- /dev/null +++ b/packages/website/data/news/launching-the-sia-foundation/index.md @@ -0,0 +1,10 @@ +--- +title: "Launching the Sia Foundation" +date: "2021-01-13" +description: Sia v1.5.4 release incorporates the Foundation Hardfork scheduled to activate around midnight, February 3rd, at block height 298,000 +thumbnail: ./thumbnail.png +categories: ["medium"] +author: Luke Champine +avatar: ../../team/luke-champine.png +external: https://blog.sia.tech/launching-the-sia-foundation-ee47dfab4d2c +--- diff --git a/packages/website/data/news/launching-the-sia-foundation/thumbnail.png b/packages/website/data/news/launching-the-sia-foundation/thumbnail.png new file mode 100644 index 00000000..e7ddd9d7 Binary files /dev/null and b/packages/website/data/news/launching-the-sia-foundation/thumbnail.png differ diff --git a/packages/website/data/news/skynet-community-update-march-2021/index.md b/packages/website/data/news/skynet-community-update-march-2021/index.md new file mode 100644 index 00000000..a4b6015c --- /dev/null +++ b/packages/website/data/news/skynet-community-update-march-2021/index.md @@ -0,0 +1,10 @@ +--- +title: "Skynet Community Update — March 2021" +date: "2021-03-10" +description: Get updated on the Skynet and Sia ecosystem for the past few months. +thumbnail: ./thumbnail.png +categories: ["medium"] +author: Sia Tech +avatar: ../../team/david-vorick.png +external: https://blog.sia.tech/skynet-community-update-march-2021-960426c9abce +--- diff --git a/packages/website/data/news/skynet-community-update-march-2021/thumbnail.png b/packages/website/data/news/skynet-community-update-march-2021/thumbnail.png new file mode 100644 index 00000000..c816f925 Binary files /dev/null and b/packages/website/data/news/skynet-community-update-march-2021/thumbnail.png differ diff --git a/packages/website/data/news/the-skynet-license/index.md b/packages/website/data/news/the-skynet-license/index.md new file mode 100644 index 00000000..ecb98cb2 --- /dev/null +++ b/packages/website/data/news/the-skynet-license/index.md @@ -0,0 +1,10 @@ +--- +title: "The Skynet License" +date: "2021-03-18" +description: New source code license by Skynet Labs that enables a sustainable business model while empowering freedom +thumbnail: ./thumbnail.png +categories: ["medium"] +author: David Vorick +avatar: ../../team/david-vorick.png +external: https://blog.sia.tech/the-skynet-license-cf62d5c358c5 +--- diff --git a/packages/website/data/news/the-skynet-license/thumbnail.png b/packages/website/data/news/the-skynet-license/thumbnail.png new file mode 100644 index 00000000..7c25d356 Binary files /dev/null and b/packages/website/data/news/the-skynet-license/thumbnail.png differ diff --git a/packages/website/data/pages/about/assets/own-your-data.svg b/packages/website/data/pages/about/assets/own-your-data.svg new file mode 100644 index 00000000..de850e06 --- /dev/null +++ b/packages/website/data/pages/about/assets/own-your-data.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/packages/website/data/pages/about/pages-about.yml b/packages/website/data/pages/about/pages-about.yml new file mode 100644 index 00000000..f243df3d --- /dev/null +++ b/packages/website/data/pages/about/pages-about.yml @@ -0,0 +1,6 @@ +- cards: + - title: Own your data + description: 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. + image: ./assets/own-your-data.svg + - title: Censorship-resistant content + description: 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. diff --git a/packages/website/data/team/luke-champine.png b/packages/website/data/team/luke-champine.png new file mode 100644 index 00000000..489b55ce Binary files /dev/null and b/packages/website/data/team/luke-champine.png differ diff --git a/packages/website/gatsby-node.js b/packages/website/gatsby-node.js index 3f2a45d1..b8eede6c 100644 --- a/packages/website/gatsby-node.js +++ b/packages/website/gatsby-node.js @@ -22,7 +22,10 @@ exports.createPages = async ({ graphql, actions, reporter }) => { const result = await graphql( ` { - allMarkdownRemark(sort: { fields: [frontmatter___date], order: ASC }, limit: 1000) { + allMarkdownRemark( + sort: { fields: [frontmatter___date], order: ASC } + filter: { frontmatter: { external: { eq: null } } } + ) { nodes { id fields { @@ -108,6 +111,7 @@ exports.createSchemaCustomization = ({ actions }) => { description: String date: Date @dateformat author: String + external: String hidden: Boolean categories: [String] } diff --git a/packages/website/package.json b/packages/website/package.json index b7db7489..7c27547f 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -11,11 +11,11 @@ "@tailwindcss/typography": "^0.4.0", "autoprefixer": "^10.2.5", "bytes": "^3.1.0", - "classnames": "^2.2.6", + "classnames": "^2.3.1", "copy-text-to-clipboard": "^3.0.1", "crypto-browserify": "^3.12.0", "framer-motion": "^4.0.3", - "gatsby": "^3.1.2", + "gatsby": "^3.2.1", "gatsby-background-image": "^1.5.0", "gatsby-image": "^3.2.0", "gatsby-plugin-image": "^1.1.2", @@ -56,20 +56,20 @@ "react-helmet": "^6.1.0", "react-share": "^4.4.0", "react-svg-loader": "^3.0.3", - "react-syntax-highlighter": "^13.5.3", - "react-use": "^17.2.1", + "react-syntax-highlighter": "^15.4.3", + "react-use": "^17.2.3", "skynet-js": "^3.0.2", - "stream-browserify": "^2.0.2", - "tailwindcss": "^2.0.3" + "stream-browserify": "^3.0.0", + "tailwindcss": "^2.1.1" }, "devDependencies": { "@babel/core": "^7.13.13", - "@storybook/addon-actions": "^6.2.0-rc.10", - "@storybook/addon-essentials": "^6.2.0-rc.10", - "@storybook/addon-links": "^6.2.0-rc.10", + "@storybook/addon-actions": "^6.2.4", + "@storybook/addon-essentials": "^6.2.4", + "@storybook/addon-links": "^6.2.4", "@storybook/addon-postcss": "^2.0.0", - "@storybook/addon-viewport": "^6.2.0-rc.10", - "@storybook/react": "^6.2.0-rc.10", + "@storybook/addon-viewport": "^6.2.4", + "@storybook/react": "^6.2.4", "babel-loader": "^8.2.2", "babel-plugin-inline-react-svg": "^2.0.1", "prettier": "2.2.1" diff --git a/packages/website/src/pages/404.js b/packages/website/src/pages/404.js index 73acbe0a..2908d47d 100644 --- a/packages/website/src/pages/404.js +++ b/packages/website/src/pages/404.js @@ -1,11 +1,11 @@ import * as React from "react"; import { Link } from "gatsby"; import { Section, SectionTitle } from "../components/Layout"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; const NotFoundPage = () => ( <> - +
diff --git a/packages/website/src/pages/about.js b/packages/website/src/pages/about.js index 52a0b0f0..bb7a853b 100644 --- a/packages/website/src/pages/about.js +++ b/packages/website/src/pages/about.js @@ -2,7 +2,7 @@ import * as React from "react"; import { GatsbyImage, getImage } from "gatsby-plugin-image"; import { Section, SectionTitle, SectionTitleCaption, CardWithDescription } from "../components/Layout"; import { Carousel } from "../components/Carousel/Carousel"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; import { ArrowRight, Join, @@ -124,7 +124,7 @@ const AboutPage = ({ ...props }) => { return ( <> - +
diff --git a/packages/website/src/pages/developers.js b/packages/website/src/pages/developers.js index 6c320489..93425d8c 100644 --- a/packages/website/src/pages/developers.js +++ b/packages/website/src/pages/developers.js @@ -3,7 +3,7 @@ import { Section, SectionTitle, CardWithDescription } from "../components/Layout import { Carousel } from "../components/Carousel/Carousel"; import { ExternalLink, DataSwap, Encryption, Layers, Mesh, Toolkit, DevBig } from "../components/Icons"; import CodeTerminal from "../components/CodeTerminal"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; import Link from "../components/Link"; const LearnMoreButton = () => ( @@ -88,7 +88,7 @@ const docs = [ const DevelopersPage = () => ( <> - +
diff --git a/packages/website/src/pages/index.js b/packages/website/src/pages/index.js index 3dac8237..ac802fd6 100644 --- a/packages/website/src/pages/index.js +++ b/packages/website/src/pages/index.js @@ -1,7 +1,7 @@ import * as React from "react"; import { Section, SectionTitle, CardWithDescription, CardWithTitle } from "../components/Layout"; import { Carousel } from "../components/Carousel/Carousel"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; import CommunitySection from "../components/CommunitySection"; import Uploader from "../components/Uploader"; import { @@ -68,7 +68,7 @@ const ecosystemCards = [ const IndexPage = () => { return ( <> - +
diff --git a/packages/website/src/pages/news.js b/packages/website/src/pages/news.js index 639b04c7..7690e962 100644 --- a/packages/website/src/pages/news.js +++ b/packages/website/src/pages/news.js @@ -4,12 +4,14 @@ import { GatsbyImage, getImage } from "gatsby-plugin-image"; import { Section, Label } from "../components/Layout"; import { NewsSummary } from "../components/News"; import Link from "../components/Link"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; const NewsCard = ({ ...props }) => { + const linkProps = { to: !props.frontmatter.external && props.fields.slug, href: props.frontmatter.external }; + return (
- + @@ -21,12 +23,12 @@ const NewsCard = ({ ...props }) => {
)} - + {props.frontmatter.title} {props.frontmatter.description && ( - + {props.frontmatter.description} )} @@ -45,7 +47,7 @@ const NewsCard = ({ ...props }) => { const NewsPage = ({ data }) => { return ( <> - +
@@ -73,6 +75,7 @@ export const query = graphql` description author categories + external thumbnail { childImageSharp { gatsbyImageData(width: 320, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF]) diff --git a/packages/website/src/templates/news-post.js b/packages/website/src/templates/news-post.js index 90d783f0..e51744fc 100644 --- a/packages/website/src/templates/news-post.js +++ b/packages/website/src/templates/news-post.js @@ -2,7 +2,7 @@ import * as React from "react"; import { graphql } from "gatsby"; import { Section, SectionTitle } from "../components/Layout"; import { NewsSummary } from "../components/News"; -import SEO from "../components/seo"; +import Seo from "../components/seo"; import { TwitterShareButton, LinkedinShareButton, FacebookShareButton } from "react-share"; import { TwitterSmall, LinkedinSmall, FacebookSmall } from "../components/Icons"; @@ -15,7 +15,7 @@ const BlogPostTemplate = ({ data, location }) => { return ( <> - +