mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
docs: reorder the footer and mobile menu links
This commit is contained in:
@@ -2,21 +2,21 @@ export function useFooter() {
|
||||
const route = useRoute()
|
||||
|
||||
const links = computed(() => [{
|
||||
label: 'Blog',
|
||||
to: '/blog',
|
||||
active: route.path.startsWith('/blog')
|
||||
}, {
|
||||
label: 'Community',
|
||||
to: '/community',
|
||||
active: route.path.startsWith('/community')
|
||||
}, {
|
||||
label: 'Playground',
|
||||
to: '/play',
|
||||
target: '_blank'
|
||||
label: 'Blog',
|
||||
to: '/blog',
|
||||
active: route.path.startsWith('/blog')
|
||||
}, {
|
||||
label: 'Team',
|
||||
to: '/team',
|
||||
active: route.path.startsWith('/team')
|
||||
}, {
|
||||
label: 'Playground',
|
||||
to: '/play',
|
||||
target: '_blank'
|
||||
}])
|
||||
|
||||
return {
|
||||
|
||||
@@ -57,16 +57,19 @@ export function useHeader() {
|
||||
label: 'Community',
|
||||
icon: 'i-lucide-globe',
|
||||
to: '/community'
|
||||
}, {
|
||||
label: 'Blog',
|
||||
icon: 'i-lucide-newspaper',
|
||||
to: '/blog'
|
||||
}, {
|
||||
label: 'Team',
|
||||
icon: 'i-lucide-users',
|
||||
to: '/team'
|
||||
}, {
|
||||
label: 'Playground',
|
||||
icon: 'i-lucide-square-terminal',
|
||||
to: '/play',
|
||||
target: '_blank'
|
||||
}, {
|
||||
label: 'Blog',
|
||||
icon: 'i-lucide-newspaper',
|
||||
to: '/blog',
|
||||
active: route.path.startsWith('/blog')
|
||||
}, {
|
||||
label: 'Figma',
|
||||
icon: 'i-lucide-figma',
|
||||
|
||||
Reference in New Issue
Block a user