Skip to content

Commit

Permalink
Merge pull request #450 from trilitech/fix-links
Browse files Browse the repository at this point in the history
Fix links
  • Loading branch information
timothymcmackin authored Sep 20, 2024
2 parents 178dd33 + 65c28ea commit 25c9796
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These tutorials are intended for developers who are starting work with Tezos:
<TutorialCard
title="Create a minimum dApp"
emoji="🏆"
href="./tutorials/dapp"
href="/tutorials/dapp"
description="Create your minimum dApp from the smart contract to the frontend, using Typescript React and Typescript-like JsLIGO language"
link="Start tutorial"
/>
Expand Down Expand Up @@ -48,7 +48,7 @@ These tutorials contain multiple parts and are intended for developers with some
<TutorialCard
title="Learn about tickets"
emoji="🎫"
href="./tutorials/dapp/part-3"
href="/tutorials/dapp/part-3"
description="Learn about a Tezos unique feature named Tickets, using Typescript React and Typescript-like JsLIGO language"
link="Start tutorial"
/>
Expand Down Expand Up @@ -88,7 +88,7 @@ These tutorials are intended for developers who are familiar with Tezos and want
<TutorialCard
title="Upgrade your smart contract"
emoji="⬆️"
href="./tutorials/dapp/part-4"
href="/tutorials/dapp/part-4"
description="Learn the different ways of upgrading your smart contract, using Typescript React and Typescript-like JsLIGO language"
link="Start tutorial"
/>
Expand Down
8 changes: 4 additions & 4 deletions docs/tutorials/dapp/part-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ taq create contract pokeGame.jsligo
- The LIGO Set library has a function **add** to add one element to the Set of items. There is no concept of Class in LIGO, you use a library to apply functions on objects.
- A list of operations is required to return. An empty list is returned here as there is no other contract to call.

[Have a look at the Set library documentation](https://ligolang.org/docs/language-basics/sets-lists-tuples#sets)
[Have a look at the Set library documentation](https://ligolang.org/docs/data-types/sets)

[Have a look at the List library documentation](https://ligolang.org/docs/language-basics/sets-lists-tuples/?lang=jsligo#lists)
[Have a look at the List library documentation](https://ligolang.org/docs/data-types/lists)

Here, get the caller address using `Tezos.get_source()`. Tezos library provides useful functions for manipulating blockchain objects.

[Have a look at the Tezos library documentation](https://ligolang.org/docs/reference/current-reference)
[Have a look at the Tezos library documentation](https://ligolang.org/docs/reference/tezos-reference?lang=jsligo)

## Simulate a call on your smart contract

The LIGO command-line provides sub-commands to test your LIGO code.

[Have a look at the Testing Framework documentation](https://ligolang.org/docs/advanced/testing)
[Have a look at the Testing Framework documentation](https://ligolang.org/docs/testing)

1. Compile the contract with Taqueria (Force to use a specific LIGO version with `TAQ_LIGO_IMAGE` Taqueria environment variable).

Expand Down
1 change: 0 additions & 1 deletion src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const navLinks2 = [

const additionalLinks = [
{ label: 'Tezos.com', to: 'https://tezos.com/' },
{ label: 'Terms of Use', to: '/terms-of-use' },
{ label: 'Privacy Policy', to: 'https://tezos.com/privacy-notice/' },
];

Expand Down

0 comments on commit 25c9796

Please sign in to comment.