update sidebar external icon and misc. bug in footer

This commit is contained in:
jinhojang6 2023-06-08 22:09:23 +09:00 committed by fryorcraken.eth
parent 9f3a1ab7c4
commit cc80b6796e
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 13 additions and 17 deletions

View File

@ -170,9 +170,6 @@ const config = {
{
href: "https://waku.org/privacy-policy",
label: "Privacy Policy"
},
{
html: "<link rel='stylesheet' href='/custom.css' />"
}
]
}

View File

@ -13,12 +13,12 @@ const sidebars = {
"overview/why-waku",
"overview/use-cases",
{
type: "html",
value: "<a href='/guides/nodes-and-sdks' target='_blank' rel='noopener noreferrer' class='menu__link external-link'>Nodes and SDKs <svg width='13.5' height='13.5' viewBox='0 0 24 24'><path fill='currentColor' d='M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z'></path></svg></a>"
type: 'html',
value: '<a href="/guides/nodes-and-sdks" target="_blank" rel="noopener noreferrer" class="menu__link external-link">Nodes and SDKs<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.1918 4H3.42848V2.85715H13.1428V12.5714H11.9999V4.80813L3.83254 12.9755L3.02441 12.1674L11.1918 4Z" fill="white"/></svg>',
},
{
type: "html",
value: "<a href='/presentations' target='_blank' rel='noopener noreferrer' class='menu__link external-link'>Presentations <svg width='13.5' height='13.5' viewBox='0 0 24 24'><path fill='currentColor' d='M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z'></path></svg></a>"
type: 'html',
value: '<a href="/presentations" target="_blank" rel="noopener noreferrer" class="menu__link external-link">Presentations<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.1918 4H3.42848V2.85715H13.1428V12.5714H11.9999V4.80813L3.83254 12.9755L3.02441 12.1674L11.1918 4Z" fill="white"/></svg>',
},
{
type: "category",
@ -33,16 +33,16 @@ const sidebars = {
label: "Peer Discovery",
link: {
type: "doc",
id: "overview/concepts/peer-discovery"
id: "overview/concepts/peer-discovery",
},
items: [
"overview/concepts/peer-discovery/predefined-nodes",
"overview/concepts/peer-discovery/dns-discovery",
"overview/concepts/peer-discovery/discv5",
"overview/concepts/peer-discovery/peer-exchange"
"overview/concepts/peer-discovery/peer-exchange",
]
},
"overview/concepts/transports"
"overview/concepts/transports",
]
},
{
@ -52,7 +52,7 @@ const sidebars = {
"overview/reference/glossary",
"overview/reference/security-features",
"overview/reference/research-in-progress",
"overview/reference/waku-vs-libp2p"
"overview/reference/waku-vs-libp2p",
]
}
]
@ -65,7 +65,7 @@ const sidebars = {
collapsible: false,
items: [
"guides/nodes-and-sdks",
"guides/run-nwaku-node"
"guides/run-nwaku-node",
]
}
],
@ -80,13 +80,12 @@ const sidebars = {
"contribute",
"presentations",
{
type: "link",
label: "Bug Bounty Program",
href: "https://hackenproof.com/status-dot-im/waku"
}
type: 'html',
value: '<a href="https://hackenproof.com/status-dot-im/waku" target="_blank" rel="noopener noreferrer" class="menu__link external-link">Bug Bounty Program<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.1918 4H3.42848V2.85715H13.1428V12.5714H11.9999V4.80813L3.83254 12.9755L3.02441 12.1674L11.1918 4Z" fill="white"/></svg>',
},
]
}
]
};
module.exports = sidebars;
module.exports = sidebars;