Skip to content

Commit

Permalink
Merge pull request #84 from richardcrng/new-sandbox
Browse files Browse the repository at this point in the history
New sandbox
  • Loading branch information
richardcrng committed May 23, 2019
2 parents 5a7f7f9 + b402dc6 commit f92b0ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class HomeSplash extends React.Component {
<ProjectTitle siteConfig={siteConfig} />
<PromoSection>
<Button href={docUrl('intro/overview')}>Overview</Button>
<Button href="https://codesandbox.io/s/reduxleaves-iwc4f">Sandbox</Button>
<Button href={siteConfig.sandboxUrl}>Sandbox</Button>
<Button href={docUrl('redux-leaves')}>Core API</Button>
</PromoSection>
</div>
Expand Down
5 changes: 4 additions & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const users = [
},
];

const sandboxUrl = 'https://codesandbox.io/s/github/richardcrng/redux-leaves-demo'

const siteConfig = {
title: 'Redux-Leaves', // Title for your website.
tagline: 'Write one. Reduce anywhere.',
Expand All @@ -39,7 +41,7 @@ const siteConfig = {
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
{ doc: 'intro/overview', label: 'Overview' },
{ href: 'https://codesandbox.io/s/reduxleaves-iwc4f', label: 'Sandbox', external: true },
{ href: sandboxUrl, label: 'Sandbox', external: true },
{ doc: 'redux-leaves', label: 'Docs' },
{ href: "https://github.com/richardcrng/redux-leaves", label: 'GitHub', external: true }
],
Expand Down Expand Up @@ -105,6 +107,7 @@ const siteConfig = {
// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
repoUrl: 'https://github.com/richardcrng/redux-leaves',
sandboxUrl
};

module.exports = siteConfig;

0 comments on commit f92b0ed

Please sign in to comment.