Skip to content

Commit 412a071

Browse files
feat: refactored Ecosystem in the navigation (#206)
1 parent 9c5ea24 commit 412a071

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

src/.vuepress/config.js

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,35 @@ module.exports = {
199199
},
200200
{ text: 'API Reference', link: '/api/application-config' },
201201
{
202-
text: 'Community',
203-
ariaLabel: 'Community Menu',
202+
text: 'Ecosystem',
204203
items: [
205-
{ text: 'Team', link: '/community/team/' },
206-
{ text: 'Partners', link: '/community/partners/' },
207-
{ text: 'Join', link: '/community/join/' },
208-
{ text: 'Themes', link: '/community/themes/' }
204+
{
205+
text: 'Community',
206+
ariaLabel: 'Community Menu',
207+
items: [
208+
{ text: 'Team', link: '/community/team/' },
209+
{ text: 'Partners', link: '/community/partners/' },
210+
{ text: 'Join', link: '/community/join/' },
211+
{ text: 'Themes', link: '/community/themes/' }
212+
]
213+
},
214+
{
215+
text: 'Official Projects',
216+
items: [
217+
{ text: 'Vue Router', link: 'https://router.vuejs.org/' },
218+
{ text: 'Vuex', link: 'https://vuex.vuejs.org/' },
219+
{ text: 'Vue CLI', link: 'https://cli.vuejs.org/' },
220+
{
221+
text: 'Vue Test Utils',
222+
link: 'https://vue-test-utils.vuejs.org/'
223+
},
224+
{
225+
text: 'Devtools',
226+
link: 'https://github.com/vuejs/vue-devtools'
227+
},
228+
{ text: 'Weekly news', link: 'https://news.vuejs.org/' }
229+
]
230+
}
209231
]
210232
}
211233
],

src/.vuepress/styles/index.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,7 @@
166166
color: #fff;
167167
padding: 0.25rem 0.25rem;
168168
}
169+
170+
.dropdown-wrapper .nav-dropdown .dropdown-item h4 {
171+
margin-bottom: 0.3rem!important;
172+
}

0 commit comments

Comments
 (0)