feat: Implement identity lock screen for sensitive user actions and introduce avatar generation.

This commit is contained in:
Christomatt
2026-01-30 04:44:57 +01:00
parent 4c9afa42fe
commit 10a54a0ea9
16 changed files with 519 additions and 134 deletions
+4 -8
View File
@@ -107,17 +107,15 @@ export function Sidebar() {
{user && (
<Link href="/notifications" className={`nav-item ${pathname?.startsWith('/notifications') ? 'active' : ''}`} title="Notifications">
<BellIcon />
<span style={{ display: 'flex', alignItems: 'center', gap: '4px', position: 'relative' }}>
<span style={{ display: 'flex', alignItems: 'center', gap: '6px' }}>
<span className="nav-label">Notifications</span>
{unreadCount > 0 && (
<span style={{
position: 'absolute',
top: '-4px',
right: '-4px',
width: '8px',
height: '8px',
background: 'var(--error)',
borderRadius: '50%',
flexShrink: 0
}} className="notification-dot" />
)}
</span>
@@ -128,17 +126,15 @@ export function Sidebar() {
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>
</svg>
<span style={{ display: 'flex', alignItems: 'center', gap: '4px', position: 'relative' }}>
<span style={{ display: 'flex', alignItems: 'center', gap: '6px' }}>
<span className="nav-label">Chat</span>
{unreadChatCount > 0 && (
<span style={{
position: 'absolute',
top: '-4px',
right: '-4px',
width: '8px',
height: '8px',
background: 'var(--error)',
borderRadius: '50%',
flexShrink: 0
}} className="notification-dot" />
)}
</span>