From 075862bf23684ab042d0dc27063eefcee4a5830c Mon Sep 17 00:00:00 2001 From: GeopJr Date: Mon, 17 Aug 2020 02:41:33 +0300 Subject: [PATCH] fix: docusaurus links (#811) --- site/components/Footer.js | 6 +++--- site/docusaurus.config.js | 1 + site/src/pages/index.js | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/site/components/Footer.js b/site/components/Footer.js index 7b2e045..d2d58b1 100644 --- a/site/components/Footer.js +++ b/site/components/Footer.js @@ -1,19 +1,19 @@ import React from 'react'; function Footer({ siteConfig }) { - const { customFields, organizationName, projectName } = siteConfig; + const { customFields, organizationName } = siteConfig; return (

This site is built with ❤️ using Pure v{customFields.pureVersion}
- All code on this site is licensed under the Yahoo BSD License unless otherwise stated. + All code on this site is licensed under the Yahoo BSD License unless otherwise stated.

diff --git a/site/docusaurus.config.js b/site/docusaurus.config.js index 59d6f2f..d958e65 100644 --- a/site/docusaurus.config.js +++ b/site/docusaurus.config.js @@ -23,5 +23,6 @@ module.exports = { PURE_DOWNLOAD_SNIPPET, moduleSizes: moduleSizes(), pureVersion: version, + repoName: 'pure', }, }; diff --git a/site/src/pages/index.js b/site/src/pages/index.js index 5880f5a..26d91a5 100644 --- a/site/src/pages/index.js +++ b/site/src/pages/index.js @@ -28,9 +28,9 @@ function Home() { customFields: { moduleSizes, PURE_DOWNLOAD_SNIPPET, + repoName, }, organizationName, - projectName, } = siteConfig; const renderSize = renderModuleSize(moduleSizes); return ( @@ -47,7 +47,7 @@ function Home() {

Get Started - View on GitHub + View on GitHub