Skip to content

Commit 32cd393

Browse files
Kevin KroneKevin Krone
Kevin Krone
authored and
Kevin Krone
committed
Fixed social icons
1 parent 53ae944 commit 32cd393

File tree

11 files changed

+47
-27
lines changed

11 files changed

+47
-27
lines changed

.DS_Store

0 Bytes
Binary file not shown.

data/issue_data.json

+1-1
Large diffs are not rendered by default.

data/repo_info.json

+1-1
Large diffs are not rendered by default.

data/trophy_data.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"project": "polkadot", "title": "PVF: Vote invalid on panics in execution thread", "url": "https://github.com/paritytech/polkadot/issues/7045", "days_ago": 43, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "ink", "title": "Add `default` attribute for constructors and messages", "url": "https://github.com/paritytech/ink/issues/1703", "days_ago": 62, "assignee": {"login": "kziemianek", "avatar_url": "https://avatars.githubusercontent.com/u/1838338?v=4", "html_url": "https://github.com/kziemianek"}}, {"project": "polkadot", "title": "Inaccessible data stored at session pallet", "url": "https://github.com/paritytech/polkadot/issues/4691", "days_ago": 63, "assignee": {"login": "gupnik", "avatar_url": "https://avatars.githubusercontent.com/u/17176722?v=4", "html_url": "https://github.com/gupnik"}}, {"project": "substrate", "title": "add _(force_origin) support to benchmarking v2", "url": "https://github.com/paritytech/substrate/issues/13721", "days_ago": 66, "assignee": {"login": "sam0x17", "avatar_url": "https://avatars.githubusercontent.com/u/1855021?v=4", "html_url": "https://github.com/sam0x17"}}, {"project": "polkadot", "title": "PVF: Don't dispute on missing artifact", "url": "https://github.com/paritytech/polkadot/issues/6959", "days_ago": 69, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "ink", "title": "Allow setting block time for off-chain testing", "url": "https://github.com/paritytech/ink/issues/1713", "days_ago": 93, "assignee": {"login": "CrommVardek", "avatar_url": "https://avatars.githubusercontent.com/u/14314577?v=4", "html_url": "https://github.com/CrommVardek"}}, {"project": "ink", "title": "Find out which chains supporting ink! deviate from `DefaultEnvironment`", "url": "https://github.com/paritytech/ink/issues/1614", "days_ago": 124, "assignee": {"login": "lean-apple", "avatar_url": "https://avatars.githubusercontent.com/u/78718413?v=4", "html_url": "https://github.com/lean-apple"}}, {"project": "ink", "title": "Improve `expect` messages for decoding failure", "url": "https://github.com/paritytech/ink/issues/840", "days_ago": 134, "assignee": {"login": "gangov", "avatar_url": "https://avatars.githubusercontent.com/u/6922910?v=4", "html_url": "https://github.com/gangov"}}, {"project": "ink", "title": "Double check usage of `Default` `AccountId`s", "url": "https://github.com/paritytech/ink/issues/1110", "days_ago": 147, "assignee": {"login": "HCastano", "avatar_url": "https://avatars.githubusercontent.com/u/12344623?v=4", "html_url": "https://github.com/HCastano"}}, {"project": "substrate", "title": "Revise staking origins", "url": "https://github.com/paritytech/substrate/issues/12930", "days_ago": 163, "assignee": {"login": "Ank4n", "avatar_url": "https://avatars.githubusercontent.com/u/10196091?v=4", "html_url": "https://github.com/Ank4n"}}, {"project": "substrate", "title": "store `min-active-bond` onchain", "url": "https://github.com/paritytech/substrate/issues/12746", "days_ago": 196, "assignee": {"login": "gpestana", "avatar_url": "https://avatars.githubusercontent.com/u/1398860?v=4", "html_url": "https://github.com/gpestana"}}, {"project": "substrate", "title": "WeightInfo for traits `MembershipChanged` and `MembershipChanged`", "url": "https://github.com/paritytech/substrate/issues/12120", "days_ago": 200, "assignee": {"login": "muharem", "avatar_url": "https://avatars.githubusercontent.com/u/6050188?v=4", "html_url": "https://github.com/muharem"}}, {"project": "substrate", "title": "Get rid of `parity-util-mem` dependency", "url": "https://github.com/paritytech/substrate/issues/12658", "days_ago": 204, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "substrate", "title": "impl StorageDecodeLength for BTreeSet", "url": "https://github.com/paritytech/substrate/issues/12443", "days_ago": 254, "assignee": {"login": "dharjeezy", "avatar_url": "https://avatars.githubusercontent.com/u/11888724?v=4", "html_url": "https://github.com/dharjeezy"}}, {"project": "ink", "title": "Create the mother of all contracts", "url": "https://github.com/paritytech/ink/issues/1181", "days_ago": 406, "assignee": {"login": "agryaznov", "avatar_url": "https://avatars.githubusercontent.com/u/3878903?v=4", "html_url": "https://github.com/agryaznov"}}, {"project": "ink", "title": "New off-chain engine: Implement utility methods", "url": "https://github.com/paritytech/ink/issues/787", "days_ago": 487, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Update `seal0` calls to `seal1`", "url": "https://github.com/paritytech/ink/issues/879", "days_ago": 580, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Create example contract that uses ext_terminate", "url": "https://github.com/paritytech/ink/issues/356", "days_ago": 938, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Create example contract that uses ext_transfer", "url": "https://github.com/paritytech/ink/issues/355", "days_ago": 971, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add storage2::Lazy::set method", "url": "https://github.com/paritytech/ink/issues/426", "days_ago": 1087, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add new operations to storage2::Vec", "url": "https://github.com/paritytech/ink/issues/406", "days_ago": 1104, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add performance tests for ink_primitive::Key and KeyPtr", "url": "https://github.com/paritytech/ink/issues/402", "days_ago": 1110, "assignee": {"login": "Robbepop", "avatar_url": "https://avatars.githubusercontent.com/u/8193155?v=4", "html_url": "https://github.com/Robbepop"}}]
1+
[{"project": "polkadot", "title": "PVF: Vote invalid on panics in execution thread", "url": "https://github.com/paritytech/polkadot/issues/7045", "days_ago": 68, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "polkadot", "title": "Inaccessible data stored at session pallet", "url": "https://github.com/paritytech/polkadot/issues/4691", "days_ago": 88, "assignee": {"login": "gupnik", "avatar_url": "https://avatars.githubusercontent.com/u/17176722?v=4", "html_url": "https://github.com/gupnik"}}, {"project": "ink", "title": "Add `default` attribute for constructors and messages", "url": "https://github.com/paritytech/ink/issues/1703", "days_ago": 88, "assignee": {"login": "kziemianek", "avatar_url": "https://avatars.githubusercontent.com/u/1838338?v=4", "html_url": "https://github.com/kziemianek"}}, {"project": "substrate", "title": "add _(force_origin) support to benchmarking v2", "url": "https://github.com/paritytech/substrate/issues/13721", "days_ago": 91, "assignee": {"login": "sam0x17", "avatar_url": "https://avatars.githubusercontent.com/u/1855021?v=4", "html_url": "https://github.com/sam0x17"}}, {"project": "polkadot", "title": "PVF: Don't dispute on missing artifact", "url": "https://github.com/paritytech/polkadot/issues/6959", "days_ago": 95, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "ink", "title": "Allow setting block time for off-chain testing", "url": "https://github.com/paritytech/ink/issues/1713", "days_ago": 119, "assignee": {"login": "CrommVardek", "avatar_url": "https://avatars.githubusercontent.com/u/14314577?v=4", "html_url": "https://github.com/CrommVardek"}}, {"project": "ink", "title": "Find out which chains supporting ink! deviate from `DefaultEnvironment`", "url": "https://github.com/paritytech/ink/issues/1614", "days_ago": 150, "assignee": {"login": "lean-apple", "avatar_url": "https://avatars.githubusercontent.com/u/78718413?v=4", "html_url": "https://github.com/lean-apple"}}, {"project": "ink", "title": "Improve `expect` messages for decoding failure", "url": "https://github.com/paritytech/ink/issues/840", "days_ago": 159, "assignee": {"login": "gangov", "avatar_url": "https://avatars.githubusercontent.com/u/6922910?v=4", "html_url": "https://github.com/gangov"}}, {"project": "ink", "title": "Double check usage of `Default` `AccountId`s", "url": "https://github.com/paritytech/ink/issues/1110", "days_ago": 172, "assignee": {"login": "HCastano", "avatar_url": "https://avatars.githubusercontent.com/u/12344623?v=4", "html_url": "https://github.com/HCastano"}}, {"project": "substrate", "title": "Revise staking origins", "url": "https://github.com/paritytech/substrate/issues/12930", "days_ago": 189, "assignee": {"login": "Ank4n", "avatar_url": "https://avatars.githubusercontent.com/u/10196091?v=4", "html_url": "https://github.com/Ank4n"}}, {"project": "substrate", "title": "store `min-active-bond` onchain", "url": "https://github.com/paritytech/substrate/issues/12746", "days_ago": 221, "assignee": {"login": "gpestana", "avatar_url": "https://avatars.githubusercontent.com/u/1398860?v=4", "html_url": "https://github.com/gpestana"}}, {"project": "substrate", "title": "WeightInfo for traits `MembershipChanged` and `MembershipChanged`", "url": "https://github.com/paritytech/substrate/issues/12120", "days_ago": 225, "assignee": {"login": "muharem", "avatar_url": "https://avatars.githubusercontent.com/u/6050188?v=4", "html_url": "https://github.com/muharem"}}, {"project": "substrate", "title": "Get rid of `parity-util-mem` dependency", "url": "https://github.com/paritytech/substrate/issues/12658", "days_ago": 230, "assignee": {"login": "mrcnski", "avatar_url": "https://avatars.githubusercontent.com/u/6035856?v=4", "html_url": "https://github.com/mrcnski"}}, {"project": "substrate", "title": "impl StorageDecodeLength for BTreeSet", "url": "https://github.com/paritytech/substrate/issues/12443", "days_ago": 279, "assignee": {"login": "dharjeezy", "avatar_url": "https://avatars.githubusercontent.com/u/11888724?v=4", "html_url": "https://github.com/dharjeezy"}}, {"project": "ink", "title": "Create the mother of all contracts", "url": "https://github.com/paritytech/ink/issues/1181", "days_ago": 432, "assignee": {"login": "agryaznov", "avatar_url": "https://avatars.githubusercontent.com/u/3878903?v=4", "html_url": "https://github.com/agryaznov"}}, {"project": "ink", "title": "New off-chain engine: Implement utility methods", "url": "https://github.com/paritytech/ink/issues/787", "days_ago": 512, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Update `seal0` calls to `seal1`", "url": "https://github.com/paritytech/ink/issues/879", "days_ago": 605, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Create example contract that uses ext_terminate", "url": "https://github.com/paritytech/ink/issues/356", "days_ago": 963, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Create example contract that uses ext_transfer", "url": "https://github.com/paritytech/ink/issues/355", "days_ago": 996, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add storage2::Lazy::set method", "url": "https://github.com/paritytech/ink/issues/426", "days_ago": 1112, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add new operations to storage2::Vec", "url": "https://github.com/paritytech/ink/issues/406", "days_ago": 1130, "assignee": {"login": "cmichi", "avatar_url": "https://avatars.githubusercontent.com/u/241530?v=4", "html_url": "https://github.com/cmichi"}}, {"project": "ink", "title": "Add performance tests for ink_primitive::Key and KeyPtr", "url": "https://github.com/paritytech/ink/issues/402", "days_ago": 1135, "assignee": {"login": "Robbepop", "avatar_url": "https://avatars.githubusercontent.com/u/8193155?v=4", "html_url": "https://github.com/Robbepop"}}]

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.70b352c5ba639669e1721c977c1d47b58e6a9faf4cb57158ec4fab2fa01f2c15.css","MediaType":"text/css","Data":{"Integrity":"sha256-cLNSxbpjlmnhchyXfB1HtY5qn69MtXFY7E+rL6AfLBU="}}
1+
{"Target":"book.min.27f5e317d942d74e8d75d49b40311e84a53e9d1f2d726d578033c82cbed8351e.css","MediaType":"text/css","Data":{"Integrity":"sha256-J/XjF9lC106NddSbQDEehKU+nR8tcm1XgDPILL7YNR4="}}

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

+31-19
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ body {
1616
-moz-osx-font-smoothing: grayscale;
1717

1818
box-sizing: border-box;
19+
1920
* {
2021
box-sizing: inherit;
2122
}
@@ -123,44 +124,44 @@ ul.pagination {
123124
color: var(--color-link);
124125
}
125126

126-
input.toggle + label + ul {
127+
input.toggle+label+ul {
127128
display: none;
128129
}
129130

130-
input.toggle:checked + label + ul {
131+
input.toggle:checked+label+ul {
131132
display: block;
132133
}
133134

134-
input.toggle + label::after {
135+
input.toggle+label::after {
135136
content: "";
136137
}
137138

138-
input.toggle:checked + label::after {
139+
input.toggle:checked+label::after {
139140
content: "";
140141
}
141142
}
142143

143144
// for RTL support
144145
body[dir="rtl"] .book-menu {
145-
input.toggle + label::after {
146+
input.toggle+label::after {
146147
content: "";
147148
}
148149

149-
input.toggle:checked + label::after {
150+
input.toggle:checked+label::after {
150151
content: "";
151152
}
152153
}
153154

154155
.book-section-flat {
155156
margin: $padding-16 * 2 0;
156157

157-
> a,
158-
> span,
159-
> label {
158+
>a,
159+
>span,
160+
>label {
160161
font-weight: bolder;
161162
}
162163

163-
> ul {
164+
>ul {
164165
padding-inline-start: 0;
165166
}
166167
}
@@ -189,14 +190,17 @@ body[dir="rtl"] .book-menu {
189190
height: 1.5em;
190191
width: 1.5em;
191192
}
193+
192194
img.discord-icon {
193195
height: 1.3em;
194196
// width: 1.5em;
195197
}
198+
196199
img.element-icon {
197200
height: 1.3em;
198201
// width: 1.5em;
199202
}
203+
200204
img.stackex-icon {
201205
height: 1.3em;
202206
position: relative;
@@ -220,7 +224,7 @@ body[dir="rtl"] .book-menu {
220224
background: var(--gray-100);
221225
color: var(--body-font-color);
222226

223-
&:required + .book-search-spinner {
227+
&:required+.book-search-spinner {
224228
display: block;
225229
}
226230
}
@@ -262,7 +266,7 @@ body[dir="rtl"] .book-menu {
262266
width: 1em;
263267
}
264268

265-
nav > ul > li:first-child {
269+
nav>ul>li:first-child {
266270
margin-top: 0;
267271
}
268272
}
@@ -308,6 +312,7 @@ body[dir="rtl"] .book-menu {
308312
}
309313

310314
@media screen and (max-width: $mobile-breakpoint) {
315+
311316
#menu-control,
312317
#toc-control {
313318
display: inline;
@@ -339,11 +344,11 @@ body[dir="rtl"] .book-menu {
339344
// width: 100%;
340345
// }
341346

342-
#menu-control:focus ~ main label[for="menu-control"] {
347+
#menu-control:focus~main label[for="menu-control"] {
343348
@include outline;
344349
}
345350

346-
#menu-control:checked ~ main {
351+
#menu-control:checked~main {
347352
.book-menu {
348353
visibility: initial;
349354
}
@@ -367,18 +372,18 @@ body[dir="rtl"] .book-menu {
367372
}
368373
}
369374

370-
#toc-control:focus ~ main label[for="toc-control"] {
375+
#toc-control:focus~main label[for="toc-control"] {
371376
@include outline;
372377
}
373378

374-
#toc-control:checked ~ main {
379+
#toc-control:checked~main {
375380
.book-header aside {
376381
display: block;
377382
}
378383
}
379384

380385
// for RTL support
381-
body[dir="rtl"] #menu-control:checked ~ main {
386+
body[dir="rtl"] #menu-control:checked~main {
382387
.book-menu .book-menu-content {
383388
transform: translateX(-$menu-width);
384389
}
@@ -387,24 +392,31 @@ body[dir="rtl"] .book-menu {
387392

388393
// Extra space for big screens
389394
@media screen and (min-width: $container-max-width) {
395+
390396
.book-page,
391397
.book-menu .book-menu-content,
392398
.book-toc .book-toc-content {
393399
padding: $padding-16 * 2 $padding-16;
394400
}
395401
}
402+
396403
// Added
397-
.nav-container{
404+
.nav-container {
398405
margin-top: 50px;
399406
}
407+
400408
.discord-icon {
401-
height: 1.3em;
409+
height: 1.4em;
402410
// width: 1.5em;
411+
position: relative;
412+
top: 3px;
403413
}
414+
404415
.element-icon {
405416
height: 1.3em;
406417
// width: 1.5em;
407418
}
419+
408420
.stackex-icon {
409421
height: 1.3em;
410422
position: relative;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
<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" />
2+
<!--noformat-->
3+
<a href="https://polkadot-discord.w3f.tools/">
4+
<img src="{{ "png/discord.png" | relURL }}" class="discord-icon" alt="Discord" />
5+
</a>
6+
<a href="https://app.element.io/#/room/!FdCojkeGzZLSEoiecf:web3.foundation">
7+
<img src="{{ "png/element.png" | relURL }}" class="element-icon" alt="Element" />
8+
</a>
9+
<a href="https://substrate.stackexchange.com/">
10+
<img src="{{ "png/stackex.png" | relURL }}" class="stackex-icon" alt="Stack Exchange" />
11+
</a>
12+
<!--noformat-->
513
</div>
22.7 KB
Loading
-1.71 KB
Loading
73.3 KB
Loading

0 commit comments

Comments
 (0)