mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
feat(HorizontalNavigation): new component (#1279)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script setup>
|
||||
const route = useRoute()
|
||||
|
||||
const links = [{
|
||||
label: 'Profile',
|
||||
avatar: {
|
||||
@@ -12,7 +14,7 @@ const links = [{
|
||||
}, {
|
||||
label: 'Vertical Navigation',
|
||||
icon: 'i-heroicons-chart-bar',
|
||||
to: '/navigation/vertical-navigation'
|
||||
to: `${route.path.startsWith('/dev') ? '/dev' : ''}/navigation/vertical-navigation`
|
||||
}, {
|
||||
label: 'Command Palette',
|
||||
icon: 'i-heroicons-command-line',
|
||||
|
||||
Reference in New Issue
Block a user