-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VerticalNavigation): ability to add dividers (#963)
* feat(VerticalNavigation): ability to add sections with divider * lint fix * updating branch. resolving conflicts * reverting app.vue * removing unnecessary style --------- Co-authored-by: Inesh Bose <dev@inesh.xyz>
- Loading branch information
1 parent
29e64ca
commit ffd20b3
Showing
4 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
docs/components/content/examples/VerticalNavigationExampleSections.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script setup> | ||
const links = [ | ||
[ | ||
{ | ||
label: 'Profile', | ||
avatar: { | ||
src: 'https://avatars.githubusercontent.com/u/739984?v=4' | ||
}, | ||
badge: 100 | ||
}, { | ||
label: 'Installation', | ||
icon: 'i-heroicons-home', | ||
to: '/getting-started/installation' | ||
}, { | ||
label: 'Vertical Navigation', | ||
icon: 'i-heroicons-chart-bar', | ||
to: '/navigation/vertical-navigation' | ||
}, { | ||
label: 'Command Palette', | ||
icon: 'i-heroicons-command-line', | ||
to: '/navigation/command-palette' | ||
} | ||
], | ||
[ | ||
{ | ||
label: 'Examples', | ||
icon: 'i-heroicons-light-bulb', | ||
to: '/getting-started/examples#verticalnavigation' | ||
}, | ||
{ | ||
label: 'Help', | ||
icon: 'i-heroicons-question-mark-circle', | ||
to: '/getting-started/examples' | ||
} | ||
] | ||
] | ||
</script> | ||
|
||
<template> | ||
<UVerticalNavigation :links="links" /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffd20b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./
ui-git-dev-nuxt-js.vercel.app
ui.nuxt.com
ui-nuxt-js.vercel.app