mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 07:34:11 +00:00
41 lines
1000 B
TypeScript
41 lines
1000 B
TypeScript
import {
|
|
Avatar,
|
|
AvatarFallback,
|
|
AvatarImage,
|
|
} from "@/styles/base-nova/ui/avatar"
|
|
import { Button } from "@/styles/base-nova/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/styles/base-nova/ui/empty"
|
|
|
|
export default function EmptyAvatar() {
|
|
return (
|
|
<Empty>
|
|
<EmptyHeader>
|
|
<EmptyMedia variant="default">
|
|
<Avatar className="size-12">
|
|
<AvatarImage
|
|
src="https://github.com/shadcn.png"
|
|
className="grayscale"
|
|
/>
|
|
<AvatarFallback>LR</AvatarFallback>
|
|
</Avatar>
|
|
</EmptyMedia>
|
|
<EmptyTitle>User Offline</EmptyTitle>
|
|
<EmptyDescription>
|
|
This user is currently offline. You can leave a message to notify them
|
|
or try again later.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<Button size="sm">Leave Message</Button>
|
|
</EmptyContent>
|
|
</Empty>
|
|
)
|
|
}
|