Skip to content

Commit 53ae944

Browse files
Kevin KroneKevin Krone
Kevin Krone
authored and
Kevin Krone
committed
Added index page, desktop menu icons
1 parent 2aab50e commit 53ae944

14 files changed

+116
-55
lines changed

config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ enableGitInfo = true
1111
endLevel = 3
1212
startLevel = 1
1313
[markup.goldmark.renderer]
14-
unsafe= true
14+
unsafe= true

content/.DS_Store

0 Bytes
Binary file not shown.

content/docs/_index.md

+6-44
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Index"
3-
weight: 1
3+
weight: 0
44
# bookFlatSection: false
55
bookToc: false
66
# bookHidden: false
@@ -9,49 +9,11 @@ bookToc: false
99
# bookSearchExclude: false
1010
math: true
1111
---
12-
# Parity Technologies
13-
{{< tabs "Products" >}}
14-
{{< tab "Polkadot" >}}
15-
{{< insert-desc "polkadot-logo-pixelated.png" "Polkadot is a layer-0 protocol and multichain network laying the foundation for the future of Web3. Substrate is the primary blockchain SDK used by developers to create the parachains that make up the Polkadot network." >}}
1612

17-
{{< git-repo-info-text "polkadot" >}}
13+
<!-- ![logo](parity-logo-square-w.png) -->
1814

19-
## Contributors
20-
{{< git-collaborators "polkadot" >}}
21-
{{< /tab >}}
22-
{{< tab "Substrate" >}}
23-
{{< insert-desc "substrate-logo-pixelated.png" "Substrate allows you to create specialized blockchains for any use case, and was used by Parity Technologies to create Polkadot itself, which attests to its high level of performance, flexibility, and robustness." >}}
24-
{{< git-repo-info "substrate" >}}
25-
## Contributors
26-
{{< git-collaborators "substrate">}}
27-
{{< /tab >}}
28-
{{< tab "Cumulus" >}}
29-
{{< insert-desc "substrate-logo-pixelated.png" "Cumulus is a set of tools for writing Substrate-based Polkadot parachains. It's easy to write blockchains using Substrate, and the overhead of writing parachains' distribution, p2p, database, and synchronization layers should be just as low. This project aims to make it easy to write parachains for Polkadot by leveraging the power of Substrate." >}}
30-
{{< git-repo-info "cumulus" >}}
31-
## Contributors
32-
{{< git-collaborators "cumulus" >}}
33-
{{< /tab >}}
34-
{{< tab "ink!" >}}
35-
{{< insert-desc "ink-logo-pixelated.png" "ink! is an Embedded Domain Specific Language (EDSL) that you can use to write WebAssembly based smart contracts in the Rust programming language." >}}
36-
{{< git-repo-info "ink" >}}
37-
## Contributors
38-
{{< git-collaborators "ink">}}
39-
{{< /tab >}}
40-
{{< tab "wasmi" >}}
41-
{{< insert-desc "substrate-logo-pixelated.png" "wasmi is an efficient WebAssembly interpreter with low-overhead and support for embedded environment such as WebAssembly itself. At Parity we are using wasmi in Substrate as the execution engine for our WebAssembly based smart contracts." >}}
42-
{{< git-repo-info "wasmi" >}}
43-
## Contributors
44-
{{< git-collaborators "wasmi">}}
45-
{{< /tab >}}
46-
{{< /tabs >}}
15+
<img src="parity-logo-square-w.png" style="display: block;margin-left: auto;margin-right: auto;width: 50%;"></img>
4716

48-
# {{< insert-icon "" "heart" >}} Join in!
49-
The following list consists of open issues from our projects, for which mentoring support is provided. It's an ideal starting point for new contributors. Prior to contributing, please ensure you have read Substrate's [ contribution](https://github.com/paritytech/substrate/blob/master/docs/CONTRIBUTING.adoc) and [documentation](https://github.com/paritytech/substrate/blob/master/docs/DOCUMENTATION_GUIDELINES.md) guidelines.
50-
51-
{{< git-issues-new >}}
52-
53-
# {{< insert-icon "" "trophy" >}} Trophy section
54-
This section highlights recently resolved mentored issues. Congratulations on your achievements!
55-
56-
<!-- {{< git-trophies-list >}} -->
57-
{{< git-trophies-list-vanilla >}}
17+
## Open-Source Software for Building the Decentralised Web
18+
<p style='text-align: justify;'>
19+
Welcome to your gateway to Parity Technologies' blockchain projects including Polkadot, Substrate, Cumulus, and ink! This platform features succinct project descriptions, extensive links for deeper understanding, and readily accessible GitHub issues to kickstart your open-source contributions. Step into the future of the decentralized web with us.</p>

content/docs/docs.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "📓Docs"
3+
weight: 5
4+
# bookFlatSection: false
5+
bookToc: false
6+
# bookHidden: false
7+
# bookCollapseSection: false
8+
# bookComments: false
9+
# bookSearchExclude: false
10+
math: true
11+
---
12+
# Docs Collection
13+
14+
{{< show-links "polkadot" >}}
15+
{{< show-links "substrate" >}}
16+
{{< show-links "cumulus" >}}
17+
{{< show-links "ink" >}}
18+
{{< show-links "wasmi" >}}
19+
{{< show-links "substrate-playground" >}}
20+
{{< show-links "frontier" >}}
21+
{{< show-links "contracts-ui" >}}
22+
{{< show-links "banana-split" >}}
23+
{{< show-links "parity-signer" >}}
24+
{{< show-links "xcm-docs" >}}
25+
{{< show-links "scale-codec" >}}

content/docs/parity-logo-square-w.png

77.4 KB
Loading

content/docs/substrate/.DS_Store

6 KB
Binary file not shown.

resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.content

+1-1
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Target":"book.min.438991ad69ff102f3199f3edaa0d857f13652b6bfa2d566e049d490b3591aaaf.css","MediaType":"text/css","Data":{"Integrity":"sha256-Q4mRrWn/EC8xmfPtqg2FfxNlK2v6LVZuBJ1JCzWRqq8="}}
1+
{"Target":"book.min.70b352c5ba639669e1721c977c1d47b58e6a9faf4cb57158ec4fab2fa01f2c15.css","MediaType":"text/css","Data":{"Integrity":"sha256-cLNSxbpjlmnhchyXfB1HtY5qn69MtXFY7E+rL6AfLBU="}}

static/parity-logo-square-w.png

77.4 KB
Loading

themes/hugo-book-master/assets/_main.scss

+18
Original file line numberDiff line numberDiff line change
@@ -393,3 +393,21 @@ body[dir="rtl"] .book-menu {
393393
padding: $padding-16 * 2 $padding-16;
394394
}
395395
}
396+
// Added
397+
.nav-container{
398+
margin-top: 50px;
399+
}
400+
.discord-icon {
401+
height: 1.3em;
402+
// width: 1.5em;
403+
}
404+
.element-icon {
405+
height: 1.3em;
406+
// width: 1.5em;
407+
}
408+
.stackex-icon {
409+
height: 1.3em;
410+
position: relative;
411+
top: 2px;
412+
// width: 1.5em;
413+
}

themes/hugo-book-master/layouts/partials/docs/brand.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h2 class="book-brand">
2-
<a class="flex align-center" href="{{ cond (not .Site.Home.File) .Sites.First.Home.RelPermalink .Site.Home.RelPermalink }}">
2+
<a class="flex align-center" href="{{ cond (not .Site.Home.File) (print .Sites.First.Home.RelPermalink "docs/") (print .Site.Home.RelPermalink "docs/") }}">
33
{{- with .Site.Params.BookLogo -}}
44
<img src="{{ . | relURL }}" alt="Logo" />
55
{{- end -}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="nav-container">
2+
<img src="{{ "png/discord.png" | relURL }}" class="social-icon discord-icon" alt="Discord" />
3+
<img src="{{ "png/element.png" | relURL }}" class="social-icon element-icon" alt="Element" />
4+
<img src="{{ "png/stackex.png" | relURL }}" class="social-icon stackex-icon" alt="Stack Exchange" />
5+
</div>
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,79 @@
11
{{ $repo := .Get 0 }}
22
{{ if eq $repo "polkadot" }}
33
<div class="nes-container with-title is-dark">
4-
<p class="title">Links</p>
4+
<p class="title">{{$repo}}</p>
55
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/polkadot">Github</a></p>
6+
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/polkadot/book/">Parachain Implementers' Guide</a></p>
67
</div>
78
{{ else if eq $repo "substrate" }}
89
<div class="nes-container with-title is-dark">
9-
<p class="title">Links</p>
10+
<p class="title">{{$repo}}</p>
1011
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/substrate">Github</a></p>
1112
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/substrate/master/sc_service/index.html">Rust docs</a></p>
1213
</div>
1314
{{ else if eq $repo "ink" }}
1415
<div class="nes-container with-title is-dark">
15-
<p class="title">Links</p>
16+
<p class="title">{{$repo}}</p>
1617
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/ink">Github</a></p>
1718
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/ink-docs">Github Docs</a></p>
1819
<p><i class="nes-icon close"></i><a href="https://use.ink/">Docs</a></p>
1920
</div>
2021
{{ else if eq $repo "cumulus" }}
2122
<div class="nes-container with-title is-dark">
22-
<p class="title">Links</p>
23+
<p class="title">{{$repo}}</p>
2324
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/cumulus">Github</a></p>
2425
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/cumulus/">Rust Docs</a></p>
2526
</div>
26-
{{end}}
27-
28-
27+
{{ else if eq $repo "wasmi" }}
28+
<div class="nes-container with-title is-dark">
29+
<p class="title">{{$repo}}</p>
30+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/wasmi">Github</a></p>
31+
<p><i class="nes-icon close"></i><a href="https://docs.rs/wasmi/latest/wasmi/">Rust Docs</a></p>
32+
</div>
33+
{{ else if eq $repo "substrate-playground" }}
34+
<div class="nes-container with-title is-dark">
35+
<p class="title">{{$repo}}</p>
36+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/substrate-playground">Github</a></p>
37+
</div>
38+
{{ else if eq $repo "substrate-connect" }}
39+
<div class="nes-container with-title is-dark">
40+
<p class="title">{{$repo}}</p>
41+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/substrate-connect">Github</a></p>
42+
</div>
43+
{{ else if eq $repo "frontier" }}
44+
<div class="nes-container with-title is-dark">
45+
<p class="title">{{$repo}}</p>
46+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/frontier">Github</a></p>
47+
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/frontier/">Docs</a></p>
48+
</div>
49+
{{ else if eq $repo "contracts-ui" }}
50+
<div class="nes-container with-title is-dark">
51+
<p class="title">{{$repo}}</p>
52+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/contracts-ui">Github</a></p>
53+
</div>
54+
{{ else if eq $repo "banana-split" }}
55+
<div class="nes-container with-title is-dark">
56+
<p class="title">{{$repo}}</p>
57+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/banana_split">Github</a></p>
58+
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/banana_split">Website</a></p>
59+
</div>
60+
{{ else if eq $repo "parity-signer" }}
61+
<div class="nes-container with-title is-dark">
62+
<p class="title">{{$repo}}</p>
63+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/parity-signer">Github</a></p>
64+
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/parity-signer">Docs</a></p>
65+
</div>
66+
{{ else if eq $repo "xcm-docs" }}
67+
<div class="nes-container with-title is-dark">
68+
<p class="title">{{$repo}}</p>
69+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/xcm-docs">Github</a></p>
70+
<p><i class="nes-icon close"></i><a href="https://paritytech.github.io/xcm-docs">Docs</a></p>
71+
</div>
72+
{{ else if eq $repo "scale-codec" }}
73+
<div class="nes-container with-title is-dark">
74+
<p class="title">{{$repo}}</p>
75+
<p><i class="nes-icon github"></i><a href="https://github.com/paritytech/parity-scale-codec">Github</a></p>
76+
<p><i class="nes-icon close"></i><a href="https://docs.rs/parity-scale-codec/latest/parity_scale_codec/">Rust Docs</a></p>
77+
<p><i class="nes-icon close"></i><a href="https://wentelteefje.github.io/parity-scale-codec-page/docs/intro/">Docs</a></p>
78+
</div>
79+
{{end}}
Loading

0 commit comments

Comments
 (0)