Skip to content

Commit

Permalink
Merge pull request #54 from onflow/jribbink/fix-links
Browse files Browse the repository at this point in the history
Updated links to new docs site
  • Loading branch information
bthaile authored May 25, 2023
2 parents 34a7954 + b31c3e8 commit 045ad28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Deployed at: https://testnet-faucet.onflow.org/

### Create a new account

Use the [Flow CLI](https://docs.onflow.org/flow-cli) to generate a new key pair:
Use the [Flow CLI](https://developers.flow.com/tooling/flow-cli) to generate a new key pair:

```sh
# This command uses ECDSA_P256 and SHA3_256 by default
Expand Down
7 changes: 2 additions & 5 deletions components/CreateAccountFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Button from "components/Button"
import Captcha from "components/Captcha"
import FormErrors from "components/FormErrors"
import {Field, useFormikContext} from "formik"
import {paths} from "lib/constants"
import {GENERATE_KEYS_DOCS_URL, paths} from "lib/constants"
import {HashAlgos, SigAlgos} from "lib/crypto"
import {Box, Grid, Link, Text, Themed} from "theme-ui"
import {CustomSelectComponent, CustomTextareaComponent} from "./inputs"
Expand Down Expand Up @@ -38,10 +38,7 @@ export default function CreateAccountFields({
<Themed.p sx={{pr: 3}}>
Your public key must be a 128 character hexadecimal string. You can
generate your public/private key pairs using the{" "}
<Link
href="https://docs.onflow.org/flow-cli/generate-keys/"
target="_blank"
>
<Link href={GENERATE_KEYS_DOCS_URL} target="_blank">
Flow CLI
</Link>
.
Expand Down
6 changes: 3 additions & 3 deletions lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ export const TEST_NET = "testnet"
export const SANDBOX_NET = "sandboxnet"
export const FLOW_TYPE = "FLOW"
export const FUSD_TYPE = "FUSD"
export const NETWORK_STATUS_URL = "https://docs.onflow.org/status/"
export const NETWORK_STATUS_URL = "https://status.onflow.org/"
export const GENERATE_KEYS_DOCS_URL =
"https://docs.onflow.org/flow-cli/generate-keys/"
"https://developers.flow.com/tooling/flow-cli/generate-keys"
export const ACCOUNTS_KEYS_DOCS_URL =
"https://docs.onflow.org/concepts/accounts-and-keys/"
"https://developers.flow.com/concepts/start-here/accounts-and-keys"
export const H_CAPTCHA_URL = "https://www.hcaptcha.com/"
export const FAUCET_GITHUB_URL = "https://www.github.com/onflow/faucet/issues"
export const TANOOKI_LABS_URL = "https://tanookilabs.com/"
Expand Down

2 comments on commit 045ad28

@vercel
Copy link

@vercel vercel bot commented on 045ad28 May 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 045ad28 May 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.