Skip to content

Commit 9dad49f

Browse files
authored
Merge pull request #1 from jordalgo/frameUpdates1
Update config to match website
2 parents b2de69e + 4076ca4 commit 9dad49f

File tree

1 file changed

+59
-5
lines changed

1 file changed

+59
-5
lines changed

docusaurus.config.js

+59-5
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,22 @@ const config = {
8181
// Replace with your project's social card
8282
image: 'img/bpftrace_Full_Logo-Black-Yellow_BG.svg',
8383
navbar: {
84-
title: 'bpftrace',
8584
logo: {
8685
alt: 'bpftrace Logo',
87-
src: 'img/bpftrace_Icon-Black-Yellow_BG.svg',
88-
href: 'https://bpftrace.org',
89-
target: '_self',
86+
src: 'img/bpftrace_Full_Logo-Black.svg',
9087
},
9188
items: [
89+
{
90+
to: 'https://bpftrace.org/learn',
91+
label: 'Learn',
92+
position: 'left',
93+
},
9294
{
9395
to: `${getLatestVersion()}`,
9496
label: 'Docs',
97+
target: '_self', // open external link in current window
9598
position: 'left',
99+
className: 'navbar__link--active',
96100
},
97101
{
98102
to: 'https://bpftrace.org/blog',
@@ -102,7 +106,7 @@ const config = {
102106
},
103107
{
104108
href: 'https://github.com/bpftrace/bpftrace/discussions',
105-
label: 'Community Discussions',
109+
label: 'Discussions',
106110
position: 'left',
107111
},
108112
{
@@ -116,10 +120,60 @@ const config = {
116120
},
117121
],
118122
},
123+
footer: {
124+
style: 'dark',
125+
links: [
126+
{
127+
title: 'Docs + Tutorials',
128+
items: [
129+
{
130+
label: 'Documentation',
131+
to: `${getLatestVersion()}`,
132+
target: '_self',
133+
},
134+
{
135+
label: 'One-Liner Introduction Tutorial',
136+
to: 'https://bpftrace.org/tutorial-one-liners',
137+
},
138+
],
139+
},
140+
{
141+
title: 'Community',
142+
items: [
143+
{
144+
label: 'IRC',
145+
href: 'https://webchat.oftc.net/?nick=&channels=%23bpftrace',
146+
},
147+
{
148+
label: 'Talks',
149+
href: 'https://bpftrace.org/videos',
150+
},
151+
],
152+
},
153+
{
154+
title: 'More',
155+
items: [
156+
{
157+
label: 'Blog',
158+
to: 'https://bpftrace.org/blog',
159+
},
160+
{
161+
label: 'GitHub',
162+
href: 'https://github.com/bpftrace/bpftrace',
163+
},
164+
],
165+
},
166+
],
167+
copyright: `Copyright © 2019 Alastair Robertson.`,
168+
},
119169
prism: {
120170
theme: prismThemes.github,
121171
darkTheme: prismThemes.dracula,
122172
},
173+
colorMode: {
174+
defaultMode: 'light',
175+
disableSwitch: true,
176+
},
123177
}),
124178
};
125179

0 commit comments

Comments
 (0)