refactor(sidebar): split nav views and add router decorator
Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
18
client/cms/src/components/sidebar/nav-user.skeletion.tsx
Normal file
18
client/cms/src/components/sidebar/nav-user.skeletion.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { IconDotsVertical } from '@tabler/icons-react';
|
||||
import { SidebarMenuButton } from '../ui/sidebar';
|
||||
import { Skeleton } from '../ui/skeleton';
|
||||
|
||||
export function NavUserSkeleton() {
|
||||
return (
|
||||
<SidebarMenuButton
|
||||
size="lg"
|
||||
>
|
||||
<Skeleton className="h-8 w-8 rounded-lg" />
|
||||
<div className="flex flex-col flex-1 gap-1">
|
||||
<Skeleton className="h-3 w-16" />
|
||||
<Skeleton className="h-3 w-24" />
|
||||
</div>
|
||||
<IconDotsVertical className="ml-auto size-4" />
|
||||
</SidebarMenuButton>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user