64 lines
1.8 KiB
TypeScript
64 lines
1.8 KiB
TypeScript
"use client"
|
|
|
|
import {
|
|
Avatar,
|
|
AvatarFallback,
|
|
AvatarGroup,
|
|
AvatarImage,
|
|
} from "@/registry/bases/aria/ui/avatar"
|
|
import { Button } from "@/registry/bases/aria/ui/button"
|
|
import { Card, CardContent } from "@/registry/bases/aria/ui/card"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/registry/bases/aria/ui/empty"
|
|
|
|
export function NoTeamMembers() {
|
|
return (
|
|
<Card>
|
|
<CardContent>
|
|
<Empty className="h-56 border">
|
|
<EmptyHeader>
|
|
<EmptyMedia>
|
|
<AvatarGroup className="grayscale">
|
|
<Avatar size="lg">
|
|
<AvatarImage
|
|
src="https://github.com/shadcn.png"
|
|
alt="@shadcn"
|
|
/>
|
|
<AvatarFallback>CN</AvatarFallback>
|
|
</Avatar>
|
|
<Avatar size="lg">
|
|
<AvatarImage
|
|
src="https://github.com/maxleiter.png"
|
|
alt="@maxleiter"
|
|
/>
|
|
<AvatarFallback>LR</AvatarFallback>
|
|
</Avatar>
|
|
<Avatar size="lg">
|
|
<AvatarImage
|
|
src="https://github.com/evilrabbit.png"
|
|
alt="@evilrabbit"
|
|
/>
|
|
<AvatarFallback>ER</AvatarFallback>
|
|
</Avatar>
|
|
</AvatarGroup>
|
|
</EmptyMedia>
|
|
<EmptyTitle>No Team Members</EmptyTitle>
|
|
<EmptyDescription>
|
|
Invite your team to collaborate on this project.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<Button size="sm">Invite Members</Button>
|
|
</EmptyContent>
|
|
</Empty>
|
|
</CardContent>
|
|
</Card>
|
|
)
|
|
}
|