Skip to content

Commit

Permalink
chore(website): set correct docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Jan 12, 2024
1 parent 0181e9b commit eb3d731
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/website/src/app/learn/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function Learn() {
description:
"Given to all Semaphore group members, it is comprised of three parts - identity commitment, trapdoor, and nullifier.",
linkText: "Create Semaphore identities",
linkUrl: "https://semaphore.pse.dev/docs/guides/identities",
linkUrl: "https://docs.semaphore.pse.dev/guides/identities",
codeText: `import { Identity } from "@semaphore-protocol/identity"
const identity = new Identity()
Expand Down Expand Up @@ -114,7 +114,7 @@ const commitment = identity.generateCommitment()`,
description:
"Semaphore groups are binary incremental Merkle trees that store the public identity commitment of each member.",
linkText: "Create Semaphore groups",
linkUrl: "https://semaphore.pse.dev/docs/guides/groups",
linkUrl: "https://docs.semaphore.pse.dev/guides/groups",
codeText: `import { Group } from "@semaphore-protocol/group"
const group = new Group(1)
Expand Down Expand Up @@ -143,7 +143,7 @@ group.addMember(commitment)`,
description:
"Semaphore group members can anonymously prove that they are part of a group and that they are generating their own proofs and signals.",
linkText: "Generate Semaphore proofs",
linkUrl: "https://semaphore.pse.dev/docs/guides/proofs",
linkUrl: "https://docs.semaphore.pse.dev/guides/proofs",
codeText: `import { generateProof, verifyProof } from "@semaphore-protocol/proof"
const externalNullifier = BigInt(1)
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Home() {
</VStack>

<Stack direction={{ base: "column", sm: "row" }} spacing="6" align="center">
<Link href="https://semaphore.pse.dev/docs/quick-setup" isExternal>
<Link href="https://docs.semaphore.pse.dev/quick-setup" isExternal>
<Button size={{ base: "md", md: "lg" }}>Get Started</Button>
</Link>
<Link href="https://demo.semaphore.pse.dev" isExternal>
Expand Down

0 comments on commit eb3d731

Please sign in to comment.