@@ -17,7 +17,7 @@ import UserMenuContent from '@/components/UserMenuContent.vue';
17
17
import { getInitials } from ' @/composables/useInitials' ;
18
18
import type { BreadcrumbItem , NavItem } from ' @/types' ;
19
19
import { Link , usePage } from ' @inertiajs/vue3' ;
20
- import { BookOpenText , ChevronDown , FolderGit2 , LayoutGrid , Menu , Search } from ' lucide-vue-next' ;
20
+ import { BookOpen , Folder , ChevronDown , LayoutGrid , Menu , Search } from ' lucide-vue-next' ;
21
21
import { computed } from ' vue' ;
22
22
23
23
interface Props {
@@ -36,7 +36,7 @@ const isCurrentRoute = (url: string) => {
36
36
};
37
37
38
38
const activeItemStyles = computed (
39
- () => (url : string ) => (isCurrentRoute (url ) ? ' bg-neutral-100 text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ' ' ),
39
+ () => (url : string ) => (isCurrentRoute (url ) ? ' text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ' ' ),
40
40
);
41
41
42
42
const mainNavItems: NavItem [] = [
@@ -51,12 +51,12 @@ const rightNavItems: NavItem[] = [
51
51
{
52
52
title: ' Repository' ,
53
53
url: ' https://github.com/laravel/vue-starter-kit' ,
54
- icon: FolderGit2 ,
54
+ icon: Folder ,
55
55
},
56
56
{
57
57
title: ' Documentation' ,
58
58
url: ' https://laravel.com/docs/starter-kits' ,
59
- icon: BookOpenText ,
59
+ icon: BookOpen ,
60
60
},
61
61
];
62
62
</script >
@@ -134,19 +134,19 @@ const rightNavItems: NavItem[] = [
134
134
135
135
<div class =" ml-auto flex items-center space-x-2" >
136
136
<div class =" relative flex items-center space-x-1" >
137
- <Button variant =" ghost" size =" icon" class =" h-9 w-9 cursor-pointer" >
138
- <Search class =" h -5 w-5 " />
137
+ <Button variant =" ghost" size =" icon" class =" h-9 w-9 cursor-pointer group " >
138
+ <Search class =" size -5 opacity-80 group-hover:opacity-100 " />
139
139
</Button >
140
140
141
141
<div class =" hidden space-x-1 lg:flex" >
142
142
<template v-for =" item in rightNavItems " :key =" item .title " >
143
143
<TooltipProvider :delay-duration =" 0" >
144
144
<Tooltip >
145
145
<TooltipTrigger >
146
- <Button variant =" ghost" size =" icon" as-child class =" h-9 w-9 cursor-pointer" >
146
+ <Button variant =" ghost" size =" icon" as-child class =" h-9 w-9 group cursor-pointer" >
147
147
<a :href =" item.url" target =" _blank" rel =" noopener noreferrer" >
148
148
<span class =" sr-only" >{{ item.title }}</span >
149
- <component :is =" item.icon" class =" h -5 w-5 " />
149
+ <component :is =" item.icon" class =" size -5 opacity-80 group-hover:opacity-100 " />
150
150
</a >
151
151
</Button >
152
152
</TooltipTrigger >
@@ -161,8 +161,8 @@ const rightNavItems: NavItem[] = [
161
161
162
162
<DropdownMenu >
163
163
<DropdownMenuTrigger :as-child =" true" >
164
- <Button variant =" ghost" size =" icon" class =" relative h-9 w-auto rounded-md px -1" >
165
- <Avatar className =" h-7 w-7 overflow-hidden rounded-lg " >
164
+ <Button variant =" ghost" size =" icon" class =" relative size-10 w-auto rounded-full p -1" >
165
+ <Avatar className =" size-8 overflow-hidden rounded-full " >
166
166
<AvatarImage :src =" auth.user.avatar" :alt =" auth.user.name" />
167
167
<AvatarFallback class =" rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white" >
168
168
{{ getInitials(auth.user?.name) }}
0 commit comments