File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
src/lib/components/custom Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 7878 <Button
7979 variant ={active ? ' secondary' : ' ghost' }
8080 href ={link .href }
81- class =" gap-2 transition-all duration-200 hover:bg-secondary/10"
81+ class =" group gap-2 transition-all duration-200 hover:bg-secondary/10"
8282 >
83- <link .icon class ="h-4 w-4 {active ? ' text-primary' : ' text-muted-foreground' }" />
83+ <link .icon
84+ class ="h-4 w-4 transition-transform duration-300 group-hover:scale-110 {active
85+ ? ' text-primary'
86+ : ' text-muted-foreground' }"
87+ />
8488 <span class ={active ? ' font-medium' : ' ' }>{link .label }</span >
8589 </Button >
8690 {/each }
8791 <div class =" ml-2 border-l pl-2" >
8892 <Button
8993 variant =" ghost"
9094 onclick ={handleSignOut }
91- class =" gap-2 text-muted-foreground hover:text-destructive"
95+ class =" group gap-2 text-muted-foreground hover:text-destructive"
9296 >
93- <LogOut class =" h-4 w-4" />
97+ <LogOut class =" h-4 w-4 transition-transform duration-300 group-hover:scale-110 " />
9498 <span class =" hidden lg:inline" >Sign Out</span >
9599 </Button >
96100 </div >
154158 ? ' border-primary bg-background'
155159 : ' border-transparent bg-muted group-hover:bg-background' }"
156160 >
157- <link .icon class ="h-5 w-5 {active ? ' text-primary' : ' ' }" />
161+ <link .icon
162+ class ="h-5 w-5 transition-transform duration-300 group-hover:scale-110 {active
163+ ? ' text-primary'
164+ : ' ' }"
165+ />
158166 </div >
159167 {link .label }
160168 </a >
168176 <div
169177 class =" rounded-md border border-transparent bg-muted p-2 group-hover:bg-background"
170178 >
171- <LogOut class =" h-5 w-5" />
179+ <LogOut class =" h-5 w-5 transition-transform duration-300 group-hover:scale-110 " />
172180 </div >
173181 Sign Out
174182 </button >
You can’t perform that action at this time.
0 commit comments