diff --git a/examples/gno.land/p/moul/web25/web25.gno b/examples/gno.land/p/moul/web25/web25.gno index 46d564b70ad..80addd46d2a 100644 --- a/examples/gno.land/p/moul/web25/web25.gno +++ b/examples/gno.land/p/moul/web25/web25.gno @@ -1,4 +1,4 @@ -// Pacakge web25 provides an opinionated way to register an external web2 +// Package web25 provides an opinionated way to register an external web2 // frontend to provide a "better" web2.5 experience. package web25 @@ -34,9 +34,9 @@ func (c Config) GetLink() string { const DefaultText = "Click [here]({link}) to visit the full rendering experience.\n" // Render displays a frontend link at the top of your realm's Render function in -// a concistent way to help gno visitors to have a consistent experience. +// a consistent way to help gno visitors to have a consistent experience. // -// if query is not nil, then it will check if it's not disable by ?no-web25, so +// if query is not nil, then it will check if it's not disabled by ?no-web25, so // that you can call the render function from an external point of view. func (c Config) Render(path string) string { if realmpath.Parse(path).Query.Get("no-web25") == "1" { diff --git a/examples/gno.land/r/gnoland/home/home.gno b/examples/gno.land/r/gnoland/home/home.gno index 1e6e56a14cc..fc22b8b7efa 100644 --- a/examples/gno.land/r/gnoland/home/home.gno +++ b/examples/gno.land/r/gnoland/home/home.gno @@ -1,16 +1,27 @@ package home -func Render(_ string) string { +import "github.com/gnolang/gno/examples/gno.land/p/moul/md" + +var sections []string +func Render(_ string) string { // what is gnoland & gno // Latest in gno.land: // registered users, blogs, hof items, new pkgs (maybe registry pattern) + // learn about gno:pages, github + // // User? view r/ // Dev? View r/docs // view: examples (p/ & r/), // footer: // looking at X chain's home realm render // links, other stats - // +} + +func intro() string { + out := md.H1("Welcome to gno.land") + out += md.H2("We're building gno.land, xyz") + out += md.Paragraph(`gno.land is a blockchain platform that allows users +to have full transparency over the applications they are using`) }