File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 66 <RouterLink to =" /" >
77 <AppLogo class =" w-auto h-6 shrink-0" />
88 </RouterLink >
9+
10+ <TemplateMenu />
911 </template >
1012
1113 <template #right >
Original file line number Diff line number Diff line change 1+ <template >
2+ <UDropdownMenu
3+ v-slot =" { open }"
4+ :modal =" false"
5+ :items =" [{
6+ label: 'Starter',
7+ to: 'https://starter-vue-template.nuxt.dev/',
8+ color: 'primary',
9+ checked: true,
10+ type: 'checkbox'
11+ }, {
12+ label: 'Dashboard',
13+ to: 'https://dashboard-vue-template.nuxt.dev/'
14+ }]"
15+ :content =" { align: 'start' }"
16+ :ui =" { content: 'min-w-fit' }"
17+ size =" xs"
18+ >
19+ <UButton
20+ label =" Starter"
21+ variant =" subtle"
22+ trailing-icon =" i-lucide-chevron-down"
23+ size =" xs"
24+ class =" -mb-[6px] font-semibold rounded-full truncate"
25+ :class =" [open && 'bg-primary/15']"
26+ :ui =" {
27+ trailingIcon: ['transition-transform duration-200', open ? 'rotate-180' : undefined].filter(Boolean).join(' ')
28+ }"
29+ />
30+ </UDropdownMenu >
31+ </template >
You can’t perform that action at this time.
0 commit comments