Skip to content

Commit

Permalink
chore(gnoweb/docs): better website connectivity (#1763)
Browse files Browse the repository at this point in the history
## Description

This PR replaces the "Start" button with the "Docs" button on the
gno.land home page navbar, and adds a "Home" button to the docs navbar
to interlink the websites in a nice manner. It also fixes a small typo
in the GoR page.

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

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] 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 13, 2024
1 parent bc77c2b commit 82a36f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/gno.land/r/gnoland/pages/page_gor.gno
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package gnopages

func init() {
path := "gor"
title := "Game of Realms - Content For The Best Contributors"
title := "Game of Realms - A Contest For The Best Contributors"
// XXX: description := "Game of Realms is the first high-stakes competition held in two phases to find the best contributors to the Gno.land platform with a 133,700 ATOM prize pool."
body := `
Expand Down
4 changes: 2 additions & 2 deletions gno.land/pkg/gnoweb/views/funcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<ul>
<li><a href="/about">About</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="https://docs.gno.land/getting-started/local-setup">Start</a></li>
<li><a href="/testnets">Testnets</a></li>
<li><a href="https://docs.gno.land/">Docs</a></li>
<li><a href="https://play.gno.land/">Playground</a></li>
<li><a href="/gor">Game of Realms</a></li>
</ul>

Expand Down
5 changes: 2 additions & 3 deletions misc/docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ const config = {
},
items: [
{
position: "right",
label: "Back to Gno.Land",
position: "left",
label: "Home",
to: "https://gno.land",
className: "gno-header__copy",
},
{
type: "docSidebar",
Expand Down

0 comments on commit 82a36f9

Please sign in to comment.