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): update content on pages #1735

Merged
merged 28 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
10bd074
update intro section
leohhhn Mar 5, 2024
2e3bd5b
update about page
leohhhn Mar 5, 2024
e182e76
update events page
leohhhn Mar 5, 2024
0b8a3eb
update ecosystem page
leohhhn Mar 5, 2024
4237c53
add gnoscan link to home
leohhhn Mar 5, 2024
9add846
update grants page
leohhhn Mar 5, 2024
2ba226f
update build with gno column
leohhhn Mar 5, 2024
f2b2789
remove empty links for now, remove broken test3 faucet link
leohhhn Mar 5, 2024
df20ec5
reorg Learn about gno column
leohhhn Mar 5, 2024
f969f5d
update latest contributions link
leohhhn Mar 5, 2024
a805a6b
update section ordering on home
leohhhn Mar 5, 2024
724bb3d
add links to example packages
leohhhn Mar 5, 2024
2bbbfd3
update ordering on discover section, add deprecation notes to test2,t…
leohhhn Mar 5, 2024
82aaec4
add portal loop reference, reorg content inside columns
leohhhn Mar 5, 2024
b1cdf2a
update about gno page
leohhhn Mar 5, 2024
67fdc2b
fix gor title
leohhhn Mar 5, 2024
b585f61
revert to open pulls link
leohhhn Mar 5, 2024
d9f7d2d
Merge branch 'master' into chore/update-home
leohhhn Mar 5, 2024
ebebae8
change wording to archive instead of deprecated
leohhhn Mar 5, 2024
9eec1a7
update testnets page
leohhhn Mar 5, 2024
79d9996
add gophercon US to upcoming events
leohhhn Mar 6, 2024
b328962
remove gophercon us- not fully confirmed yet
leohhhn Mar 6, 2024
6791170
Update examples/gno.land/r/gnoland/pages/page_about.gno
leohhhn Mar 6, 2024
06a8bc8
Update examples/gno.land/r/gnoland/pages/page_gnolang.gno
leohhhn Mar 6, 2024
75164cd
add jumbotron to discover, move worx down
leohhhn Mar 6, 2024
ebf65c0
fix home filetest
leohhhn Mar 6, 2024
8f87744
fix pages test
leohhhn Mar 6, 2024
8fa6213
fix pages test, again
leohhhn Mar 6, 2024
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
65 changes: 33 additions & 32 deletions examples/gno.land/r/gnoland/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ func Render(_ string) string {

// body
dom.Body.Append(introSection()...)
dom.Body.Append(ui.Jumbotron(worxDAO()))
dom.Body.Append(packageStaffPicks()...)
dom.Body.Append(ui.HR{})

dom.Body.Append(ui.Jumbotron(discoverLinks()))

dom.Body.Append(
ui.Columns{3, []ui.Element{
lastBlogposts(4),
upcomingEvents(4),
lastContributions(4),
}},
)
dom.Body.Append(ui.Jumbotron(discoverLinks()))

dom.Body.Append(ui.HR{})
dom.Body.Append(packageStaffPicks()...)
dom.Body.Append(ui.HR{})
dom.Body.Append(worxDAO()...)
dom.Body.Append(ui.HR{})
// footer
dom.Footer.Append(
ui.Columns{2, []ui.Element{
Expand Down Expand Up @@ -59,25 +62,24 @@ func lastBlogposts(limit int) ui.Element {
func lastContributions(limit int) ui.Element {
return ui.Element{
ui.H3("Latest Contributions"),
// TODO: import r/gh
// ui.Link{Text: "#1134", URL: "https://github.com/gnolang/gno/pull/1134"},
ui.Text("coming soon"),
// TODO: import r/gh to
ui.Link{Text: "View latest contributions", URL: "https://github.com/gnolang/gno/pulls"},
}
}

func upcomingEvents(limit int) ui.Element {
return ui.Element{
ui.H3("Upcoming Events"),
// TODO: import r/gnoland/events
ui.Text("coming soon"),
// TODO: replace with r/gnoland/events
ui.Text("[View upcoming events](/events)"),
}
}

func introSection() ui.Element {
return ui.Element{
ui.H3("An interpretation of the Go (Golang) programming language for advanced developers and intrepid pioneers to build succinct, composable smart contracts for social coordination."),
ui.Paragraph("If you’re concerned about information censorship and want to contribute to the #GnoWorldOrder, follow our socials to find out how."),
ui.Paragraph("Gno.land is in building mode. If you want to help lay the foundations of a fairer and freer world through innovative ideas and exceptional code, join us today."),
ui.H3("We’re building Gno.land, the first open-source smart contract system, using Gno, an interpreted and fully deterministic variation of the Go programming language for succinct and composable smart contracts."),
ui.Paragraph("With transparent and timeless code, Gno.land is the next generation of smart contract platforms, serving as the “GitHub” of the ecosystem, with realms built using fully transparent, auditable code that anyone can inspect and reuse."),
ui.Paragraph("Intuitive and easy to use, Gno.land lowers the barrier to web3 and makes censorship-resistant platforms accessible to everyone. If you want to help lay the foundations of a fairer and freer world, join us today."),
}
}

Expand Down Expand Up @@ -127,7 +129,7 @@ func quoteOfTheBlock() ui.Element {
qotb := quotes[idx]

return ui.Element{
ui.H3(ufmt.Sprintf("Quote of the ~Day~Block#%d", height)),
ui.H3(ufmt.Sprintf("Quote of the ~Day~ Block#%d", height)),
ui.Quote(qotb),
}
}
Expand All @@ -154,22 +156,22 @@ func packageStaffPicks() ui.Element {
3,
[]ui.Element{
{
ui.H4("r/gnoland"),
ui.H4("[r/gnoland](https://github.com/gnolang/gno/tree/master/examples/gno.land/r/gnoland)"),
ui.BulletList{
ui.Link{URL: "r/gnoland/blog"},
ui.Link{URL: "r/gnoland/dao"},
ui.Link{URL: "r/gnoland/faucet"},
ui.Link{URL: "r/gnoland/home"},
ui.Link{URL: "r/gnoland/pages"},
},
ui.H4("r/system"),
ui.H4("[r/system](https://github.com/gnolang/gno/tree/master/examples/gno.land/r/system)"),
ui.BulletList{
ui.Link{URL: "r/system/names"},
ui.Link{URL: "r/system/rewards"},
ui.Link{URL: "r/system/validators"},
},
}, {
ui.H4("r/demo"),
ui.H4("[r/demo](https://github.com/gnolang/gno/tree/master/examples/gno.land/r/demo)"),
ui.BulletList{
ui.Link{URL: "r/demo/boards"},
ui.Link{URL: "r/demo/users"},
Expand All @@ -184,7 +186,7 @@ func packageStaffPicks() ui.Element {
ui.Text("..."),
},
}, {
ui.H4("p/demo"),
ui.H4("[p/demo](https://github.com/gnolang/gno/tree/master/examples/gno.land/p/demo)"),
ui.BulletList{
ui.Link{URL: "p/demo/avl"},
ui.Link{URL: "p/demo/blog"},
Expand Down Expand Up @@ -213,37 +215,36 @@ func discoverLinks() ui.Element {

- [About](/about)
- [GitHub](https://github.com/gnolang)
- [Subscribe](#subscribe)
- [Tokenomics (soon)](#)
- [Blog](/blog)
- [Events](/events)
- Tokenomics (soon)
- [Partners, Fund, Grants](/partners)
- [Explore the Ecosystem](/ecosystem)

</div><!-- end column-->

<div class="column">

### Build with Gno

- [Gno dev with CLI (soon)](#)
- [Explore the Universe](/ecosystem)
- [Test in the browser (soon)](#)
- [About the Gno Language](/gnolang)
- [Docs/ Tutorials](https://github.com/gnolang)
- [Gno by example](https://gno-by-example.com/)
- [Getting started video (soon)](#)
- [Write Gno in the browser](https://play.gno.land)
- [Read about the Gno Language](/gnolang)
- [Visit the official documentation](https://docs.gno.land)
- [Gno by Example](https://gno-by-example.com/)
- [Efficient local development for Gno](https://docs.gno.land/gno-tooling/cli/gno-tooling-gnodev)

</div><!-- end column-->
<div class="column">

### Explore the universe

- [Discover demo packages](https://github.com/gnolang/gno/tree/master/examples)
- [Install Gno Key instructions](/r/demo/boards:testboard/5)
- [Testnets 3](https://test3.gno.land/)
- [Testnets 2](https://test2.gno.land/)
- [Explorer links(soon)](#)
- [Testnet Tokens (faucet)](https://test3.gno.land/faucet)
- [Gnoscan](https://gnoscan.io)
- [Portal Loop](https://docs.gno.land/concepts/portal-loop)
- Testnet 4 (upcoming)
- [Testnet 3](https://test3.gno.land/) (archive)
- [Testnet 2](https://test2.gno.land/) (archive)
- Testnet Faucet Hub (soon)

</div><!-- end column-->
</div><!-- end columns-3-->`),
Expand Down
Loading
Loading