Browse Source

fix: nft tutorial navigation inconsistency

friedger-patch-7
Patrick Gray 3 years ago
parent
commit
3dc079c7be
  1. 5
      next.config.js
  2. 3
      src/common/navigation.yaml
  3. 2
      src/pages/index.md
  4. 0
      src/pages/write-smart-contracts/nft-tutorial.md

5
next.config.js

@ -8,6 +8,11 @@ const withFonts = require('next-fonts');
async function redirects() { async function redirects() {
return [ return [
{
source: '/write-smart-contracts/nft',
destination: '/write-smart-contracts/nft-tutorial',
permanent: true,
},
{ {
source: '/understand-stacks/integrate-stacking', source: '/understand-stacks/integrate-stacking',
destination: '/build-apps/guides/integrate-stacking', destination: '/build-apps/guides/integrate-stacking',

3
src/common/navigation.yaml

@ -49,7 +49,8 @@ sections:
pages: pages:
- path: /hello-world-tutorial - path: /hello-world-tutorial
- path: /counter-tutorial - path: /counter-tutorial
- path: /nft - path: /nft-tutorial
- path: /billboard-tutorial
- path: /testing-contracts - path: /testing-contracts
- path: /build-apps - path: /build-apps
pages: pages:

2
src/pages/index.md

@ -11,7 +11,7 @@ description: Write Clarity smart contracts, build apps, and starting mining with
## Write smart contracts ## Write smart contracts
[@page-reference | grid] [@page-reference | grid]
| /write-smart-contracts/overview, /write-smart-contracts/hello-world-tutorial, /write-smart-contracts/tokens, /write-smart-contracts/nft | /write-smart-contracts/overview, /write-smart-contracts/hello-world-tutorial, /write-smart-contracts/tokens, /write-smart-contracts/nft-tutorial
## Build apps ## Build apps

0
src/pages/write-smart-contracts/nft.md → src/pages/write-smart-contracts/nft-tutorial.md

Loading…
Cancel
Save