Skip to content

Commit 2238973

Browse files
committed
Fix: Move Devfolio submenus into main navbar
1 parent 997121e commit 2238973

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

docusaurus.config.ts

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,16 @@ const config: Config = {
156156
html: '<span class="nav-emoji">💰</span> Donate',
157157
position: "left",
158158
},
159+
//Moved the link directly to main menus!
159160
{
160-
type: "dropdown",
161-
html: '<span class="nav-emoji">👩🏻‍💻</span> Devfolio',
161+
to: "https://dev.recodehive.com/devfolio",
162+
html: '<span class="nav-emoji">💻</span> GitHub Profiles',
163+
position: "left",
164+
},
165+
{
166+
to: "/badges/github-badges/",
167+
html: '<span class="nav-emoji">🎖️</span> GitHub Badges',
162168
position: "left",
163-
items: [
164-
{
165-
label: "💻GitHub Profiles",
166-
to: "https://dev.recodehive.com/devfolio",
167-
},
168-
{
169-
label: "🎖️ GitHub Badges",
170-
to: "/badges/github-badges/",
171-
},
172-
],
173169
},
174170
{
175171
to: "/blogs",

0 commit comments

Comments
 (0)