File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 import { slide } from ' svelte/transition' ;
33
44 import type { Snippet } from ' svelte' ;
5- import { twMerge as merge } from ' tailwind-merge' ;
5+ import { type ClassNameValue , twMerge as merge } from ' tailwind-merge' ;
66
77 import { beforeNavigate } from ' $app/navigation' ;
88 import { page } from ' $app/state' ;
3535 ]
3636 >;
3737 profilePicture? : Snippet ;
38+ class? : ClassNameValue ;
3839 }
3940
4041 let {
4546 children,
4647 nsPicker,
4748 profilePicture,
49+ class : className = ' ' ,
4850 }: Props = $props ();
4951
5052 let viewLinks = $state (false );
138140 isCloud
139141 ? ' bg-gradient-to-b from-indigo-600 to-indigo-900 text-off-white focus-visible:[&_a]:ring-success focus-visible:[&_button]:ring-success'
140142 : ' surface-black border-t border-subtle' ,
143+ className ,
141144 )}
142145 data-testid =" top-nav"
143146 aria-label ={translate (' common.main' )}
You can’t perform that action at this time.
0 commit comments