video preview version

This commit is contained in:
fahed
2026-02-08 22:51:42 +03:00
parent 5f7d922f92
commit 9b58e5e9aa
23 changed files with 890 additions and 544 deletions
+1 -5
View File
@@ -1,3 +1,4 @@
import { getInitials } from '../utils/api'
import BrandBadge from './BrandBadge'
const ROLE_BADGES = {
@@ -16,11 +17,6 @@ const ROLE_BADGES = {
}
export default function MemberCard({ member, onClick }) {
const getInitials = (name) => {
if (!name) return '?'
return name.split(' ').map(w => w[0]).join('').slice(0, 2).toUpperCase()
}
const role = ROLE_BADGES[member.team_role || member.role] || ROLE_BADGES.default
const avatarColors = [