Merge branch 'feature/launch-tutorial-and-blog-post' into 'dev'

Feature/launch tutorial and blog post

See merge request ligolang/ligo!38
This commit is contained in:
Matej Šima 2019-06-13 10:34:48 +00:00
commit f7d013bbab
3 changed files with 14 additions and 14 deletions

View File

@ -18,7 +18,7 @@ To help Pedro open his dream taco shop, we'll implement a smart-contract, that w
## Pricing ## Pricing
Pedro's tacos are a rare delicatese, so their **price goes up**, as the **stock for the day begins to deplete**. Pedro's tacos are a rare delicacy, so their **price goes up**, as the **stock for the day begins to deplete**.
Each taco kind, has it's own `max_price` that it sells for, and a finite supply for the current sales lifecycle. Each taco kind, has it's own `max_price` that it sells for, and a finite supply for the current sales lifecycle.
@ -74,7 +74,7 @@ function main (const parameter : int; const contractStorage : int) : (list(oper
block {skip} with ((nil : list(operation)), contractStorage + parameter) block {skip} with ((nil : list(operation)), contractStorage + parameter)
``` ```
Let's brake down the contract above to make sure we understand each bit of the LIGO syntax: Let's break down the contract above to make sure we understand each bit of the LIGO syntax:
- **`function main`** - definition of a function that serves as an entry point - **`function main`** - definition of a function that serves as an entry point
- **`(const parameter : int; const contractStorage : int)`** - parameters passed to the function - **`(const parameter : int; const contractStorage : int)`** - parameters passed to the function

View File

@ -57,17 +57,17 @@ let main (p : action) (s : int) : (operation list * int) =
### Short-Term ### Short-Term
#### June 2019 #### June 2019
✓ First public release (hi) <span style="display:block">✓ First public release (hi)</span>
✓ PascaLIGO and CameLIGO <span style="display:block">✓ PascaLIGO and CameLIGO</span>
✓ Docs <span style="display:block">✓ Docs</span>
✓ Tutorials <span style="display:block">✓ Tutorials</span>
\- Integration testing in JS/Reason with [Granary](https://stove-labs.github.io/granary/) <span style="display:block">\- Integration testing in JS/Reason with [Granary](https://stove-labs.github.io/granary/)</span>
#### July 2019 #### July 2019
\- Try ligo online <span style="display:block">\- Try ligo online</span>
\- Unit testing in LIGO <span style="display:block">\- Unit testing in LIGO</span>
\- ReasonLIGO (ReasonML syntax) <span style="display:block">\- ReasonLIGO (ReasonML syntax)</span>
\- Design Pattern repository <span style="display:block">\- Design Pattern repository</span>
### Mid-Term ### Mid-Term
We are currently planning 3 big projects on the core language (excluding tooling). We are currently planning 3 big projects on the core language (excluding tooling).

View File

@ -32,7 +32,7 @@ class HomeSplash extends React.Component {
data-tab="tab-group-3-content-4">PascaLIGO</div> data-tab="tab-group-3-content-4">PascaLIGO</div>
<div className="nav-link" data-group="group_3" <div className="nav-link" data-group="group_3"
data-tab="tab-group-3-content-5">CameLIGO</div> data-tab="tab-group-3-content-5">CameLIGO</div>
<div className="nav-link">Reasonligo (coming soon) </div> <div className="nav-link">ReasonLIGO (coming soon) </div>
{/* <div id="tab-group-3-tab-5" className="nav-link" data-group="group_3" {/* <div id="tab-group-3-tab-5" className="nav-link" data-group="group_3"
data-tab="tab-group-3-content-5">Camligo</div> */} data-tab="tab-group-3-content-5">Camligo</div> */}
</div> </div>
@ -95,8 +95,8 @@ class HomeSplash extends React.Component {
<div className="inner"> <div className="inner">
<ProjectTitle siteConfig={siteConfig} /> <ProjectTitle siteConfig={siteConfig} />
<PromoSection> <PromoSection>
<Button href={docUrl('setup-installation.html')}>Get Started</Button> <Button href={docUrl('setup/installation.html')}>Get Started</Button>
<Button href={docUrl('tutorials/first-smart-contract.html')}>Tutorials</Button> <Button href={docUrl('tutorials/get-started/tezos-taco-shop-smart-contract.html')}>Tutorials</Button>
<Button href={docUrl('contributors/origin.html')}>Contribute</Button> <Button href={docUrl('contributors/origin.html')}>Contribute</Button>
</PromoSection> </PromoSection>
</div> </div>