Skip to content

Commit

Permalink
Wiki Links for Kusama Guide (#6257)
Browse files Browse the repository at this point in the history
* links to the wiki

* updated links
  • Loading branch information
filippoweb3 authored Sep 24, 2024
1 parent 99f0336 commit 51580ed
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
11 changes: 1 addition & 10 deletions .vscode/snippets.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,5 @@
// ],
// "description": "Log output to console"
// }
"Polkadot braces": {
"prefix": "pol",
"body": ["{{ polkadot: :polkadot }}"],
"description": "Polkadot wiki conditional rendering for Polkadot strings"
},
"Kusama braces": {
"prefix": "pol",
"body": ["{{ kusama: :kusama }}"],
"description": "Polkadot wiki conditional rendering for Kusama strings"
}

}
16 changes: 10 additions & 6 deletions kusama-guide/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,22 @@ module.exports = {
},
items: [
{
to: "docs/kusama-getting-started",
label: "Docs",
position: "right",
label: 'Docs',
href: 'https://wiki.polkadot.network/docs/kusama-getting-started',
target: '_blank',
rel: 'noopener noreferrer',
position: 'right',
},
{
type: "search",
position: "right",
},
{
to: "docs/contributing",
label: "Contribute",
position: "right",
label: 'Contribute',
href: 'https://wiki.polkadot.network/docs/contributing',
target: '_blank',
rel: 'noopener noreferrer',
position: 'right',
},
{
type: "localeDropdown",
Expand Down
14 changes: 7 additions & 7 deletions kusama-guide/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Index() {
nominators are rewarded from the block production rewards that
their nominatations are entitled to.
</p>
<a href={docUrl("maintain-guides-how-to-nominate-polkadot")}>
<a href="https://wiki.polkadot.network/docs/learn-nominator">
<button className="kusama-mainpage-build-btn homepage-font">
Read more on Nominating
</button>
Expand All @@ -79,14 +79,14 @@ export default function Index() {
much lower than it is expected for Polkadot. There are also
programs in place such as{" "}
<a
href="https://polkadot.network/join-kusamas-thousand-validators-programme/"
href="https://wiki.polkadot.network/docs/thousand-validators"
target="_blank"
>
Thousand Validators
</a>{" "}
to help community validators rise the ranks.
</p>
<a href={docUrl("maintain-guides-how-to-validate-kusama")}>
<a href="https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-kusama">
<br />
<button className="kusama-mainpage-build-btn homepage-font">
Read more on Validators
Expand All @@ -103,7 +103,7 @@ export default function Index() {
paving the way to Polkadot's parachains as the technology
becomes proven.
</p>
<a href={docUrl("learn-parachains")}>
<a href="https://wiki.polkadot.network/docs/learn-parachains-index">
<button className="kusama-mainpage-build-btn homepage-font">
Read more on Parachains
</button>
Expand All @@ -115,7 +115,7 @@ export default function Index() {
Learn about Kusama's on-chain governance. Campaign as a
councillor or vote for new runtime proposals using Democracy.
</p>
<a href={docUrl("learn-governance")}>
<a href="https://wiki.polkadot.network/docs/learn-polkadot-opengov">
<br />
<button className="kusama-mainpage-build-btn homepage-font">
Read more on Governance
Expand All @@ -135,7 +135,7 @@ export default function Index() {
will become a scalable, interoperable & secure network protocol
for web 3.0.
</p>
<a href={docUrl("getting-started")}>
<a href="https://wiki.polkadot.network/docs/kusama-getting-started">
<button className="kusama-mainpage-build-btn homepage-font">
Learn more on Polkadot
</button>
Expand All @@ -148,7 +148,7 @@ export default function Index() {
It is an open-source project and aims to be the most extensive
resource of knowledge on Kusama and the Kusama ecosystem.
</p>
<a href={docUrl("contributing")}>
<a href="https://wiki.polkadot.network/docs/contributing">
<br />
<button className="kusama-mainpage-build-btn homepage-font">
Learn more on Contributions
Expand Down

0 comments on commit 51580ed

Please sign in to comment.