Skip to content

Commit

Permalink
chore(gno.land): add playground section, add GopherconUS to events pa…
Browse files Browse the repository at this point in the history
…ge (#1741)

## Description

As the title says, on request by @ilgooz & marketing. Shadows
#1641.

<details><summary>Contributors' checklist...</summary>

- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
  • Loading branch information
leohhhn authored Mar 6, 2024
1 parent 6c27754 commit 6a8850a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/gno.land/r/gnoland/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func Render(_ string) string {
lastContributions(4),
}},
)

dom.Body.Append(ui.HR{})
dom.Body.Append(playgroundSection()...)
dom.Body.Append(ui.HR{})
dom.Body.Append(packageStaffPicks()...)
dom.Body.Append(ui.HR{})
Expand Down Expand Up @@ -148,6 +151,16 @@ func socialLinks() ui.Element {
}
}

func playgroundSection() ui.Element {
return ui.Element{
ui.H3("[Gno Playground](https://play.gno.land)"),
ui.Paragraph(`Gno Playground is a web application designed for building, running, testing, and interacting
with your Gno code, enhancing your understanding of the Gno language. With Gno Playground, you can share your code,
execute tests, deploy your realms and packages to Gno.land, and explore a multitude of other features.`),
ui.Paragraph("Experience the convenience of code sharing and rapid experimentation with [Gno Playground](https://play.gno.land)."),
}
}

func packageStaffPicks() ui.Element {
// XXX: make it modifiable from a DAO
return ui.Element{
Expand Down
13 changes: 13 additions & 0 deletions examples/gno.land/r/gnoland/home/home_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ func main() {
//
//---
//
//### [Gno Playground](https://play.gno.land)
//
//
//Gno Playground is a web application designed for building, running, testing, and interacting
//with your Gno code, enhancing your understanding of the Gno language. With Gno Playground, you can share your code,
//execute tests, deploy your realms and packages to Gno.land, and explore a multitude of other features.
//
//
//Experience the convenience of code sharing and rapid experimentation with [Gno Playground](https://play.gno.land).
//
//
//---
//
//### Explore New Packages and Realms
//
//<div class="columns-3">
Expand Down
10 changes: 10 additions & 0 deletions examples/gno.land/r/gnoland/pages/page_events.gno
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ We’re looking to connect with developers and like-minded thinkers who can cont
<div class="column">
### GopherCon US
- Come Meet Us at our Booth
- Chicago, July 7 - 10, 2024
[Learn More](https://www.gophercon.com/)
</div><!-- end column-->
<div class="column">
### Nebular Summit
- Come see our talk
- Brussels, July 12 - 13, 2024
Expand Down

0 comments on commit 6a8850a

Please sign in to comment.