diff --git a/packages/website/data/footer.yaml b/packages/website/data/footer.yaml index f647ce9a..32ca866a 100644 --- a/packages/website/data/footer.yaml +++ b/packages/website/data/footer.yaml @@ -40,7 +40,7 @@ href: https://skyapps.hns.siasky.net/ - header: Skynet Webportals links: - - title: Skydrain - href: https://skydrain.net - title: SkyPortal href: https://skyportal.xyz + - title: Skydrain + href: https://skydrain.net diff --git a/packages/website/src/components/NewsHeader/NewsHeader.js b/packages/website/src/components/NewsHeader/NewsHeader.js index 25c5b929..cab80754 100644 --- a/packages/website/src/components/NewsHeader/NewsHeader.js +++ b/packages/website/src/components/NewsHeader/NewsHeader.js @@ -26,16 +26,22 @@ const NewsHeader = () => { if (!latestNews) return null; // no news + // hardcoded news for now + const CURRENT_NEWS_URL = "https://blog.sia.tech/built-to-explore-the-skynet-spring-2021-hackathon-a0cff382bb0c"; + const CURRENT_NEWS_TXT = "Built to Explore: The Skynet Spring 2021 Hackathon"; + return (
- {latestNews.node.frontmatter.title} + {/* {latestNews.node.frontmatter.title} */} + {CURRENT_NEWS_TXT}
diff --git a/packages/website/src/components/Uploader/Uploader.js b/packages/website/src/components/Uploader/Uploader.js index fe49cb8d..7b1fa20b 100644 --- a/packages/website/src/components/Uploader/Uploader.js +++ b/packages/website/src/components/Uploader/Uploader.js @@ -249,7 +249,7 @@ const Uploader = () => { )} onClick={() => setMode("directory")} > - Do you want to upload an entire directory? + Do you want to upload a web app or directory? Upload directory
@@ -270,7 +270,8 @@ const Uploader = () => { > {files.length === 0 && }

- Add or drop your files here to pin to Skynet + {mode === "file" && Add or drop your files here to pin to Skynet} + {mode === "directory" && Drop any folder with an index.html file to deploy to Skynet}

@@ -308,7 +309,7 @@ const Uploader = () => {

- for free and unlock all features + for free and unlock features

)} diff --git a/packages/website/src/components/seo.js b/packages/website/src/components/seo.js index 8920fb24..50e48239 100644 --- a/packages/website/src/components/seo.js +++ b/packages/website/src/components/seo.js @@ -26,8 +26,8 @@ function SEO({ description, lang, meta, title }) { ` ); - const metaDescription = description || site.siteMetadata.description; - const defaultTitle = site.siteMetadata?.title; + const { title: siteTitle, description: siteDescription } = site.siteMetadata; + const pageDescription = description || siteDescription; return ( diff --git a/packages/website/src/pages/about.js b/packages/website/src/pages/about.js index 97d8c23d..19ca27e4 100644 --- a/packages/website/src/pages/about.js +++ b/packages/website/src/pages/about.js @@ -126,7 +126,7 @@ const AboutPage = ({ ...props }) => { <> -
+

diff --git a/packages/website/src/pages/index.js b/packages/website/src/pages/index.js index c6de3934..7a13e651 100644 --- a/packages/website/src/pages/index.js +++ b/packages/website/src/pages/index.js @@ -68,7 +68,7 @@ const ecosystemCards = [ const IndexPage = () => { return ( <> - +