chore(chat): add mock fixtures

This commit is contained in:
2026-06-23 14:54:24 +08:00
parent 3b2593e713
commit cb7087f8ad
24 changed files with 370 additions and 10 deletions
@@ -72,7 +72,9 @@
}
.diamondIcon {
color: var(--color-accent, #f84d96);
width: 14px;
height: 13px;
display: block;
flex-shrink: 0;
}
+8 -9
View File
@@ -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>
)}