chore(chat): add mock fixtures
This commit is contained in:
@@ -72,7 +72,9 @@
|
||||
}
|
||||
|
||||
.diamondIcon {
|
||||
color: var(--color-accent, #f84d96);
|
||||
width: 14px;
|
||||
height: 13px;
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import Image from "next/image";
|
||||
|
||||
import { UserMessageAvatar } from "@/app/chat/components/user-message-avatar";
|
||||
|
||||
import styles from "./user-header.module.css";
|
||||
@@ -62,16 +64,13 @@ export function UserHeader({
|
||||
)}
|
||||
{state === "vip" && (
|
||||
<span className={styles.vipMemberPill}>
|
||||
<svg
|
||||
width="12"
|
||||
height="12"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
aria-hidden="true"
|
||||
<Image
|
||||
src="/images/sidebar/ic_user_vip.png"
|
||||
alt=""
|
||||
width={39}
|
||||
height={36}
|
||||
className={styles.diamondIcon}
|
||||
>
|
||||
<path d="M12 2L22 12L12 22L2 12L12 2Z" />
|
||||
</svg>
|
||||
/>
|
||||
<span>VIP Member</span>
|
||||
</span>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user