Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gno.land): add playground section, add GopherconUS to events page #1741

Merged
merged 4 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading