Add new page designs 3
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
|||||||
Settings,
|
Settings,
|
||||||
User,
|
User,
|
||||||
LogOut,
|
LogOut,
|
||||||
ChevronDown,
|
|
||||||
X
|
X
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
|
|
||||||
@@ -400,9 +399,9 @@ export const Header = forwardRef<HeaderRef, HeaderProps>(({
|
|||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
>
|
>
|
||||||
<Avatar
|
<Avatar
|
||||||
src={user.avatar_url}
|
src={user.avatar}
|
||||||
alt={user.full_name}
|
alt={user.name}
|
||||||
fallback={user.full_name}
|
fallback={user.name}
|
||||||
size="xs"
|
size="xs"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"flex-shrink-0 transition-all duration-200",
|
"flex-shrink-0 transition-all duration-200",
|
||||||
@@ -411,7 +410,7 @@ export const Header = forwardRef<HeaderRef, HeaderProps>(({
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<span className="hidden sm:block text-sm font-medium text-[var(--text-primary)] truncate max-w-[120px]">
|
<span className="hidden sm:block text-sm font-medium text-[var(--text-primary)] truncate max-w-[120px]">
|
||||||
{user.full_name}
|
{user.name}
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
@@ -420,7 +419,7 @@ export const Header = forwardRef<HeaderRef, HeaderProps>(({
|
|||||||
{/* User info */}
|
{/* User info */}
|
||||||
<div className="px-4 py-2 border-b border-[var(--border-primary)]">
|
<div className="px-4 py-2 border-b border-[var(--border-primary)]">
|
||||||
<div className="text-sm font-medium text-[var(--text-primary)] truncate">
|
<div className="text-sm font-medium text-[var(--text-primary)] truncate">
|
||||||
{user.full_name}
|
{user.name}
|
||||||
</div>
|
</div>
|
||||||
<div className="text-xs text-[var(--text-tertiary)] truncate">
|
<div className="text-xs text-[var(--text-tertiary)] truncate">
|
||||||
{user.email}
|
{user.email}
|
||||||
|
|||||||
Reference in New Issue
Block a user