@@ -17,7 +17,7 @@ import UserMenuContent from '@/components/UserMenuContent.vue';
1717import { getInitials } from ' @/composables/useInitials' ;
1818import type { BreadcrumbItem , NavItem } from ' @/types' ;
1919import { 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' ;
2121import { computed } from ' vue' ;
2222
2323interface Props {
@@ -36,7 +36,7 @@ const isCurrentRoute = (url: string) => {
3636};
3737
3838const 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' : ' ' ),
4040);
4141
4242const mainNavItems: NavItem [] = [
@@ -51,12 +51,12 @@ const rightNavItems: NavItem[] = [
5151 {
5252 title: ' Repository' ,
5353 url: ' https://github.com/laravel/vue-starter-kit' ,
54- icon: FolderGit2 ,
54+ icon: Folder ,
5555 },
5656 {
5757 title: ' Documentation' ,
5858 url: ' https://laravel.com/docs/starter-kits' ,
59- icon: BookOpenText ,
59+ icon: BookOpen ,
6060 },
6161];
6262 </script >
@@ -134,19 +134,19 @@ const rightNavItems: NavItem[] = [
134134
135135 <div class =" ml-auto flex items-center space-x-2" >
136136 <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 " />
139139 </Button >
140140
141141 <div class =" hidden space-x-1 lg:flex" >
142142 <template v-for =" item in rightNavItems " :key =" item .title " >
143143 <TooltipProvider :delay-duration =" 0" >
144144 <Tooltip >
145145 <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" >
147147 <a :href =" item.url" target =" _blank" rel =" noopener noreferrer" >
148148 <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 " />
150150 </a >
151151 </Button >
152152 </TooltipTrigger >
@@ -161,8 +161,8 @@ const rightNavItems: NavItem[] = [
161161
162162 <DropdownMenu >
163163 <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 " >
166166 <AvatarImage :src =" auth.user.avatar" :alt =" auth.user.name" />
167167 <AvatarFallback class =" rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white" >
168168 {{ getInitials(auth.user?.name) }}
0 commit comments