Browse Source

fix: redirects, sidebar bug

fix/enable-imgix
Thomas Osmonson 4 years ago
committed by Thomas Osmonson
parent
commit
79476c0c89
  1. 12
      next.config.js
  2. 2
      src/components/side-nav.tsx
  3. 4
      src/pages/ecosystem/stacks-token-holders.md

12
next.config.js

@ -103,7 +103,7 @@ async function redirects() {
},
{
source: '/core/smart/testnet-node.html',
destination: '/smart-contracts/running-a-testnet-node',
destination: '/stacks-blockchain/testnet-node',
permanent: true,
},
{
@ -146,6 +146,11 @@ async function redirects() {
destination: '/references/faqs',
permanent: true,
},
{
source: '/faqs/allfaqs',
destination: '/references/faqs',
permanent: true,
},
{
source: '/core/naming/pickname.html',
destination: '/naming-services/choose-name',
@ -263,6 +268,11 @@ async function redirects() {
permanent: true,
},
{ source: '/core/cmdLineRef.html', destination: '/references/blockstack-cli', permanent: true },
{
source: '/core/smart/clarityref',
destination: '/references/clarity-language',
permanent: true,
},
{
source: '/core/smart/clarityRef.html',
destination: '/references/clarity-language',

2
src/components/side-nav.tsx

@ -235,7 +235,7 @@ const Navigation = () => {
});
}
if (currentSection.items && selected.items !== currentSection.items) {
if (currentSection?.items && selected.items !== currentSection.items) {
setSelected(currentSection);
}
}, [router.pathname]);

4
src/pages/ecosystem/stacks-token-holders.md

@ -1,6 +1,6 @@
---
title: Stacks token holders
description: 'Blockstack token holder documentation'
description: Blockstack token holder documentation
---
## Introduction
@ -43,4 +43,4 @@ registered and when they will unlock.
## Have more questions?
For a list of frequent questions and answers about STX tokens, [see the Stacks token FAQs](https://docs.blockstack.org/faqs/allfaqs#stacks-token-questions).
For a list of frequent questions and answers about STX tokens, [see the Stacks token FAQs](/references/faqs/stacks-token).

Loading…
Cancel
Save