We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 048192c commit 955f321Copy full SHA for 955f321
1 file changed
ui/src/components/layout/Header.tsx
@@ -80,7 +80,11 @@ function AuthControls({ onNavigate }: { onNavigate?: () => void }) {
80
<div className="flex items-center gap-2">
81
{isAdmin && <NavLink to="/admin" onClick={onNavigate}>Admin</NavLink>}
82
<div className="flex items-center gap-1.5 text-sm text-gray-600 dark:text-gray-300">
83
- <User className="size-4" />
+ {user.source === 'github' ? (
84
+ <img src={`https://github.com/${user.username}.png`} alt="" className="size-6 rounded-full" />
85
+ ) : (
86
+ <User className="size-4" />
87
+ )}
88
<span>{user.username}</span>
89
{isAdmin && <Shield className="size-3 text-purple-500" />}
90
</div>
0 commit comments