Browse Source

fix: authentication/connect was removed

fix/gh-action
Friedger Müffke 4 years ago
committed by Alexander Graebe
parent
commit
4196aff682
  1. 5
      next.config.js
  2. 3
      src/pages/authentication/building-todo-app.md
  3. 7
      src/pages/build-an-app.md
  4. 2
      src/pages/smart-contracts/signing-transactions.md

5
next.config.js

@ -33,6 +33,11 @@ async function redirects() {
destination: '/authentication/connect',
permanent: true,
},
{
source: '/authentication/connect',
destination: 'https://blockstack.github.io/stacks.js',
permanent: true,
},
{ source: '/develop/profiles.html', destination: '/authentication/profiles', permanent: true },
{ source: '/storage/overview.html', destination: '/data-storage/overview', permanent: true },
{ source: '/develop/storage.html', destination: '/data-storage/overview', permanent: true },

3
src/pages/authentication/building-todo-app.md

@ -297,6 +297,5 @@ You'll now see your todos as an authenticated user for the username you've chose
## Learn more
Read [the Stacks Connect guide](/authentication/connect) and
[the stacks.js reference](https://blockstack.github.io/stacks.js/) to learn more about the
Read [the stacks.js reference](https://blockstack.github.io/stacks.js/) to learn more about the
libraries used in this tutorial.

7
src/pages/build-an-app.md

@ -83,10 +83,7 @@ on the Stacks blockchain are written in the [Clarity language](https://clarity-l
[@page-reference | inline]
| /smart-contracts/public-registry-tutorial
### Connect
### Stacks.js
Connect is a JavaScript library developed by Blockstack PBC that makes it easy to integrate authentication, data storage
[Stacks.js](https://blockstack.github.io/stacks.js/) is a collection of JavaScript library developed by Blockstack PBC that makes it easy to integrate authentication, data storage
and smart contracts functionality in a user-friendly way.
[@page-reference | inline]
| /authentication/connect

2
src/pages/smart-contracts/signing-transactions.md

@ -214,7 +214,7 @@ interface ContractDeployOptions {
## Usage in React Apps
Make sure you follow the [setup instructions](/authentication/connect#in-react-apps) first. When you're using
Make sure you follow the [setup instructions](/authentication/building-todo-app#onboard-into-your-first-stacks-app) first. When you're using
`useConnect`, you don't have to specify `appDetails` - we'll pick that up from your existing configuration.
Each transaction signing method is exposed through the `useConnect` hook, but they're prefixed with `do` instead of

Loading…
Cancel
Save