Skip to content

Commit c9d6ed3

Browse files
committed
homepage: improve and clarify the playground/tour explanation and links
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 2141a6d commit c9d6ed3

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

assets/scss/_styles_project.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ code {
3838
box-shadow: var(--bs-box-shadow-inset), 0 0 0 0.25rem rgba(4, 110, 143, 0.25);
3939
border-color: #82b7c7;
4040
}
41+
42+
#playground {
43+
scroll-margin-top: 4rem;
44+
}

content/_index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ title: "TinyGo Home"
1010
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/getting-started" >}}">
1111
Get Started <i class="fas fa-arrow-alt-circle-right ml-2"></i>
1212
</a>
13+
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "#playground" >}}">
14+
Try TinyGo <i class="fas fa-arrow-alt-circle-down ml-2"></i>
15+
</a>
1316
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/tinygo-org/tinygo">
1417
See the code <i class="fab fa-github ml-2 "></i>
1518
</a>
@@ -36,6 +39,7 @@ Ready to get started? [Click here](getting-started).
3639
<div class="col">
3740
<div class="container" id="playground">
3841
<h1 class="text-center">Try TinyGo</h1>
42+
<p class="text-center">Want to learn more? See the <a href="/tour/">Tour of TinyGo</a>. Just want free play with simulated devices? Explore the full <a href="/play/">TinyGo Playground</a>.</p>
3943
<div class="row px-0">
4044
<div class="col col-auto">
4145
<div class="input-group mb-3">
@@ -50,7 +54,6 @@ Ready to get started? [Click here](getting-started).
5054
</div>
5155
<div class="col col-auto">
5256
<button class="btn btn-secondary playground-btn-flash mb-3" disabled>Download binary</button>
53-
<a href="/tour/" class="btn btn-link mb-3">Tour of TinyGo</a>
5457
</div>
5558
</div>
5659
<div class="playground-editor mb-3" tabindex="-1"></div>

0 commit comments

Comments
 (0)