fix sidebar external navigation

This commit is contained in:
LordGhostX 2023-05-29 19:07:24 +01:00
parent e865a0546b
commit 0e50c3e50c
No known key found for this signature in database
GPG Key ID: 520CC5DC4F94FCC7
2 changed files with 14 additions and 6 deletions

View File

@ -8,14 +8,12 @@ const sidebars = {
"getting-started/why-waku",
"getting-started/use-cases",
{
type: "link",
label: "SDKs and Nodes",
href: "/guides/sdks-and-nodes"
type: "html",
value: "<a href='/guides/sdks-and-nodes' target='_blank' rel='noopener noreferrer' class='menu__link external-link'>SDKs and Nodes <svg 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: "link",
label: "Video Presentations",
href: "/presentations"
type: "html",
value: "<a href='/presentations' target='_blank' rel='noopener noreferrer' class='menu__link external-link'>Presentations <svg 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: "category",

View File

@ -39,3 +39,13 @@ html[data-theme='dark'] .header-github-link:before {
width: 640px;
height: 360px;
}
.external-link {
margin-top: 0.25rem;
}
.external-link svg {
width: 13.5px;
height: 13.5px;
margin-left: 0.3rem;
}