Spaces:
Running

axeronis commited on
Commit
2dd979f
·
1 Parent(s): 0b42db9

style(ui): modernized and compacted mobile navigation and headers

Browse files
frontend/app/globals.css CHANGED
@@ -164,8 +164,8 @@ html {
164
  --md-sys-elevation-5: 0px 4px 4px 0px rgba(0, 0, 0, 0.3), 0px 8px 12px 6px rgba(0, 0, 0, 0.15);
165
 
166
  /* Mobile Layout Constants */
167
- --header-height-mobile: calc(64px + env(safe-area-inset-top, 0px));
168
- --footer-height-mobile: calc(56px + env(safe-area-inset-bottom, 0px));
169
 
170
  @media (min-width: 768px) {
171
  --header-height-mobile: 0px;
 
164
  --md-sys-elevation-5: 0px 4px 4px 0px rgba(0, 0, 0, 0.3), 0px 8px 12px 6px rgba(0, 0, 0, 0.15);
165
 
166
  /* Mobile Layout Constants */
167
+ --header-height-mobile: calc(52px + env(safe-area-inset-top, 0px));
168
+ --footer-height-mobile: calc(50px + env(safe-area-inset-bottom, 0px));
169
 
170
  @media (min-width: 768px) {
171
  --header-height-mobile: 0px;
frontend/components/ChatWindow/ChatHeader.tsx CHANGED
@@ -33,17 +33,17 @@ export function ChatHeader({
33
  onTrainAI,
34
  }: ChatHeaderProps) {
35
  return (
36
- <div className="h-14 md:h-16 shrink-0 flex items-center justify-between px-3 md:px-6 relative z-[50] border-b border-white/5 bg-[#0D0E18]/60 backdrop-blur-2xl backdrop-saturate-[2]">
37
  {/* Aurora Background Atmosphere - Synced */}
38
- <div className="absolute inset-0 pointer-events-none overflow-hidden -z-10 bg-gradient-to-r from-indigo-500/10 to-purple-500/10 opacity-60" />
39
 
40
  {/* Left: Lead Info */}
41
- <div className="flex items-center gap-3 overflow-hidden">
42
  {/* Back Button (Phone only - strictly hidden on md+) */}
43
  <div className="md:hidden">
44
  <button
45
  onClick={onBack}
46
- className="p-2 -ml-2 text-slate-400 hover:text-white hover:bg-white/10 rounded-full transition-colors"
47
  >
48
  <ArrowLeft className="w-5 h-5" />
49
  </button>
@@ -59,22 +59,16 @@ export function ChatHeader({
59
  </button>
60
 
61
  <div className="flex items-center gap-2 md:gap-3">
62
- <div className="w-8 h-8 md:w-10 md:h-10 rounded-full bg-gradient-to-br from-indigo-600/30 to-purple-600/30 flex items-center justify-center text-indigo-400 font-bold text-xs md:text-sm border border-indigo-500/30 shadow-sm shrink-0">
63
  {lead?.name?.charAt(0) || 'L'}
64
  </div>
65
  <div className="min-w-0">
66
- <h2 className="font-bold text-white text-sm truncate max-w-[120px] sm:max-w-none">{lead?.name || 'Лид'}</h2>
67
  <div className="flex items-center gap-2">
68
- <span className="text-xs text-slate-400 font-medium">{(lead as any)?.channel_source || 'Неизвестно'}</span>
69
  {lead?.needs_attention && (
70
- <span className="flex items-center gap-1 text-[10px] text-red-400 bg-red-500/20 px-2 py-0.5 rounded-full animate-pulse border border-red-500/30 font-semibold">
71
- 🚨 Внимание
72
- </span>
73
- )}
74
- {isAnalyzing && (
75
- <span className="flex items-center gap-1 text-[10px] text-indigo-600 bg-indigo-50 px-2 py-0.5 rounded-full animate-pulse border border-indigo-100 font-semibold">
76
- <Sparkles className="w-3 h-3" />
77
- AI думает...
78
  </span>
79
  )}
80
  </div>
@@ -85,96 +79,54 @@ export function ChatHeader({
85
  <div className="flex items-center gap-1.5 md:gap-3">
86
  <button
87
  onClick={onOpenBookingModal}
88
- className="hidden sm:flex items-center gap-2 px-2.5 md:px-3 py-1.5 rounded-lg text-xs font-semibold bg-white/5 text-slate-300 border border-white/10 hover:bg-white/10 transition-all"
89
  title="Записать на встречу"
90
  >
91
  <Calendar className="w-3.5 h-3.5 text-slate-500" />
92
  Записать
93
  </button>
94
 
95
- {/* Train AI Button */}
96
- {onTrainAI && (
97
- <button
98
- onClick={onTrainAI}
99
- className="hidden sm:flex items-center gap-2 px-2.5 md:px-3 py-1.5 rounded-lg text-xs font-semibold bg-purple-500/10 text-purple-400 border border-purple-500/20 hover:bg-purple-500/20 transition-all"
100
- title="Обучить AI на этом диалоге"
101
- >
102
- <GraduationCap className="w-3.5 h-3.5" />
103
- Обучить
104
- </button>
105
- )}
106
-
107
  {/* AI Toggle Switch - PREMIUM REDESIGN */}
108
- <div className="flex items-center gap-2">
109
- <Bot className={cn(
110
- "w-4 h-4 transition-all duration-500 hidden sm:block",
111
- isAIActive ? "text-indigo-400 scale-110 drop-shadow-[0_0_8px_rgba(99,102,241,0.5)]" : "text-slate-500 scale-100"
112
- )} />
113
  <button
114
  onClick={onToggleAI}
115
  disabled={isTogglingAI}
116
  className={cn(
117
- "relative w-11 h-6 rounded-full transition-all duration-500 flex-shrink-0 group overflow-hidden border",
118
  isAIActive
119
- ? "bg-indigo-600/20 border-indigo-500/40 shadow-[inset_0_0_10px_rgba(99,102,241,0.2)]"
120
- : "bg-white/5 border-white/10 shadow-[inner_0_2px_4px_rgba(0,0,0,0.3)]",
121
  isTogglingAI && "opacity-80"
122
  )}
123
  title={isAIActive ? 'AI Активен' : 'AI Отключен'}
124
  >
125
- {/* Track Inner Glow/Gradient */}
126
- <div className={cn(
127
- "absolute inset-0 transition-opacity duration-500",
128
- isAIActive ? "opacity-100 bg-gradient-to-r from-indigo-500/10 via-purple-500/10 to-transparent" : "opacity-0"
129
- )} />
130
-
131
- {/* Glow effect when active */}
132
- {isAIActive && (
133
- <motion.div
134
- layoutId="ai-glow"
135
- className="absolute inset-0 bg-indigo-500/20 blur-md animate-pulse"
136
- />
137
- )}
138
-
139
  <motion.div
140
  animate={{
141
- x: isAIActive ? 22 : 4,
142
  scale: isTogglingAI ? 0.85 : 1,
143
- boxShadow: isAIActive
144
- ? "0 0 15px rgba(99,102,241,0.6), inset 0 -1px 2px rgba(0,0,0,0.2)"
145
- : "0 2px 4px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.2)"
146
  }}
147
  transition={{ type: "spring", stiffness: 450, damping: 25 }}
148
  className={cn(
149
- "absolute top-1 w-3.5 h-3.5 rounded-full flex items-center justify-center transition-all duration-300 z-10",
150
  isAIActive
151
- ? "bg-white"
152
- : "bg-slate-300"
153
  )}
154
  >
155
- {/* Glossy highlight on the thumb */}
156
- <div className="absolute inset-0 bg-gradient-to-tr from-transparent via-white/40 to-white/60 pointer-events-none rounded-full" />
157
-
158
  {isTogglingAI && (
159
- <Loader2 className="w-2.5 h-2.5 animate-spin text-indigo-500" />
160
  )}
161
  </motion.div>
162
-
163
- {/* State indicators for extra polish */}
164
- <div className="absolute inset-0 flex items-center justify-between px-2.5 pointer-events-none">
165
- <div className={cn("w-0.5 h-0.5 rounded-full transition-all duration-500", isAIActive ? "bg-indigo-300 scale-150" : "bg-white/20 scale-100")} />
166
- <div className={cn("w-0.5 h-0.5 rounded-full transition-all duration-500", isAIActive ? "bg-white/20 scale-100" : "bg-slate-400 scale-150")} />
167
- </div>
168
  </button>
169
  </div>
170
 
171
- {/* AI Summary Button - Visible on mobile/tablet to toggle intelligence panel/drawer. Hidden on lg where it's persistent. */}
172
  <button
173
  onClick={onOpenMobileDrawer}
174
- className="flex lg:hidden p-2 text-slate-400 hover:text-indigo-400 hover:bg-white/5 rounded-lg transition-all"
175
- title="Посмотреть AI-анализ"
176
  >
177
- <Brain className="w-5 h-5 transition-colors group-hover:text-indigo-400" />
178
  </button>
179
  </div>
180
  </div >
 
33
  onTrainAI,
34
  }: ChatHeaderProps) {
35
  return (
36
+ <div className="h-[52px] md:h-16 shrink-0 flex items-center justify-between px-3 md:px-6 relative z-[50] border-b border-white/5 bg-[#0D0E18]/40 backdrop-blur-2xl backdrop-saturate-[2]">
37
  {/* Aurora Background Atmosphere - Synced */}
38
+ <div className="absolute inset-0 pointer-events-none overflow-hidden -z-10 bg-gradient-to-r from-indigo-500/5 to-purple-500/5 opacity-40" />
39
 
40
  {/* Left: Lead Info */}
41
+ <div className="flex items-center gap-2 md:gap-3 overflow-hidden">
42
  {/* Back Button (Phone only - strictly hidden on md+) */}
43
  <div className="md:hidden">
44
  <button
45
  onClick={onBack}
46
+ className="p-1.5 -ml-1 text-slate-400 hover:text-white hover:bg-white/10 rounded-full transition-colors"
47
  >
48
  <ArrowLeft className="w-5 h-5" />
49
  </button>
 
59
  </button>
60
 
61
  <div className="flex items-center gap-2 md:gap-3">
62
+ <div className="w-7 h-7 md:w-10 md:h-10 rounded-full bg-gradient-to-br from-indigo-600/30 to-purple-600/30 flex items-center justify-center text-indigo-400 font-bold text-[10px] md:text-sm border border-indigo-500/20 shadow-sm shrink-0">
63
  {lead?.name?.charAt(0) || 'L'}
64
  </div>
65
  <div className="min-w-0">
66
+ <h2 className="font-bold text-white text-[13px] md:text-sm truncate max-w-[100px] sm:max-w-none leading-none mb-0.5">{lead?.name || 'Лид'}</h2>
67
  <div className="flex items-center gap-2">
68
+ <span className="text-[10px] text-slate-500 font-medium">{(lead as any)?.channel_source || 'Неизвестно'}</span>
69
  {lead?.needs_attention && (
70
+ <span className="flex items-center gap-1 text-[9px] text-red-400 bg-red-500/10 px-1.5 py-0 rounded-full border border-red-500/20 font-semibold leading-tight">
71
+ Внимание
 
 
 
 
 
 
72
  </span>
73
  )}
74
  </div>
 
79
  <div className="flex items-center gap-1.5 md:gap-3">
80
  <button
81
  onClick={onOpenBookingModal}
82
+ className="hidden sm:flex items-center gap-2 px-2 md:px-3 py-1.5 rounded-lg text-[11px] font-semibold bg-white/5 text-slate-300 border border-white/10 hover:bg-white/10 transition-all"
83
  title="Записать на встречу"
84
  >
85
  <Calendar className="w-3.5 h-3.5 text-slate-500" />
86
  Записать
87
  </button>
88
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  {/* AI Toggle Switch - PREMIUM REDESIGN */}
90
+ <div className="flex items-center gap-2 scale-90 sm:scale-100">
 
 
 
 
91
  <button
92
  onClick={onToggleAI}
93
  disabled={isTogglingAI}
94
  className={cn(
95
+ "relative w-9 h-5 rounded-full transition-all duration-500 flex-shrink-0 group overflow-hidden border",
96
  isAIActive
97
+ ? "bg-indigo-600/20 border-indigo-500/40 shadow-[inset_0_0_8px_rgba(99,102,241,0.1)]"
98
+ : "bg-white/5 border-white/10 shadow-[inner_0_1px_2px_rgba(0,0,0,0.3)]",
99
  isTogglingAI && "opacity-80"
100
  )}
101
  title={isAIActive ? 'AI Активен' : 'AI Отключен'}
102
  >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  <motion.div
104
  animate={{
105
+ x: isAIActive ? 18 : 3,
106
  scale: isTogglingAI ? 0.85 : 1,
 
 
 
107
  }}
108
  transition={{ type: "spring", stiffness: 450, damping: 25 }}
109
  className={cn(
110
+ "absolute top-0.5 w-3.5 h-3.5 rounded-full flex items-center justify-center transition-all duration-300 z-10",
111
  isAIActive
112
+ ? "bg-white shadow-[0_0_8px_rgba(255,255,255,0.4)]"
113
+ : "bg-slate-400"
114
  )}
115
  >
 
 
 
116
  {isTogglingAI && (
117
+ <Loader2 className="w-2 h-2 animate-spin text-indigo-500" />
118
  )}
119
  </motion.div>
 
 
 
 
 
 
120
  </button>
121
  </div>
122
 
123
+ {/* AI Summary Button */}
124
  <button
125
  onClick={onOpenMobileDrawer}
126
+ className="flex lg:hidden p-1.5 text-slate-400 hover:text-indigo-400 hover:bg-white/5 rounded-lg transition-all active:scale-95"
127
+ title="AI-анализ"
128
  >
129
+ <Brain className="w-[18px] h-[18px]" />
130
  </button>
131
  </div>
132
  </div >
frontend/components/MobileBottomNav.tsx CHANGED
@@ -53,55 +53,54 @@ export function MobileBottomNav() {
53
  animate={{ y: 0 }}
54
  exit={{ y: '100%' }}
55
  transition={{ type: 'spring', damping: 20, stiffness: 200 }}
56
- className="fixed bottom-0 left-0 right-0 z-40 bg-[#0D0E18]/80 backdrop-blur-2xl backdrop-saturate-[1.8] border-t border-white/10 pb-[env(safe-area-inset-bottom,0px)]"
57
  >
58
- <div className="flex items-center justify-around h-14 px-4">
59
  {/* Главная */}
60
  <Link
61
  href="/settings/brain"
62
  className={cn(
63
- "flex flex-col items-center justify-center p-2 rounded-xl transition-all",
64
  isActive('/settings/brain')
65
- ? "text-indigo-400 bg-indigo-500/10"
66
- : "text-slate-500 active:bg-white/5"
67
  )}
68
  >
69
- <LayoutDashboard className="w-5 h-5" />
70
  </Link>
71
 
72
  {/* Чаты */}
73
  <button
74
  onClick={handleChatsClick}
75
  className={cn(
76
- "flex flex-col items-center justify-center p-2 rounded-xl transition-all",
77
  isActive('/chats')
78
- ? "text-indigo-400 bg-indigo-500/10"
79
- : "text-slate-500 active:bg-white/5"
80
  )}
81
  >
82
- <MessageSquare className="w-5 h-5" />
83
  </button>
84
 
85
  {/* Записи */}
86
  <Link
87
  href="/appointments"
88
  className={cn(
89
- "flex flex-col items-center justify-center p-2 rounded-xl transition-all",
90
  isActive('/appointments')
91
- ? "text-indigo-400 bg-indigo-500/10"
92
- : "text-slate-500 active:bg-white/5"
93
  )}
94
  >
95
- <Calendar className="w-5 h-5" />
96
  </Link>
97
 
98
  {/* Menu */}
99
-
100
  <button
101
  onClick={() => document.dispatchEvent(new CustomEvent('toggle-mobile-sidebar'))}
102
- className="flex flex-col items-center justify-center p-2 rounded-xl text-slate-500 active:bg-white/5 transition-all"
103
  >
104
- <Menu className="w-5 h-5" />
105
  </button>
106
 
107
  </div>
 
53
  animate={{ y: 0 }}
54
  exit={{ y: '100%' }}
55
  transition={{ type: 'spring', damping: 20, stiffness: 200 }}
56
+ className="fixed bottom-0 left-0 right-0 z-40 bg-[#0D0E18]/80 backdrop-blur-3xl backdrop-saturate-[1.8] border-t border-white/5 pb-[env(safe-area-inset-bottom,0px)]"
57
  >
58
+ <div className="flex items-center justify-around h-[50px] px-2">
59
  {/* Главная */}
60
  <Link
61
  href="/settings/brain"
62
  className={cn(
63
+ "flex flex-col items-center justify-center p-2 rounded-xl transition-all active:scale-90",
64
  isActive('/settings/brain')
65
+ ? "text-indigo-400 bg-indigo-500/5 shadow-[inset_0_0_10px_rgba(99,102,241,0.05)]"
66
+ : "text-slate-500 hover:text-slate-300"
67
  )}
68
  >
69
+ <LayoutDashboard className="w-[22px] h-[22px]" />
70
  </Link>
71
 
72
  {/* Чаты */}
73
  <button
74
  onClick={handleChatsClick}
75
  className={cn(
76
+ "flex flex-col items-center justify-center p-2 rounded-xl transition-all active:scale-90",
77
  isActive('/chats')
78
+ ? "text-indigo-400 bg-indigo-500/5 shadow-[inset_0_0_10px_rgba(99,102,241,0.05)]"
79
+ : "text-slate-500 hover:text-slate-300"
80
  )}
81
  >
82
+ <MessageSquare className="w-[22px] h-[22px]" />
83
  </button>
84
 
85
  {/* Записи */}
86
  <Link
87
  href="/appointments"
88
  className={cn(
89
+ "flex flex-col items-center justify-center p-2 rounded-xl transition-all active:scale-90",
90
  isActive('/appointments')
91
+ ? "text-indigo-400 bg-indigo-500/5 shadow-[inset_0_0_10px_rgba(99,102,241,0.05)]"
92
+ : "text-slate-500 hover:text-slate-300"
93
  )}
94
  >
95
+ <Calendar className="w-[22px] h-[22px]" />
96
  </Link>
97
 
98
  {/* Menu */}
 
99
  <button
100
  onClick={() => document.dispatchEvent(new CustomEvent('toggle-mobile-sidebar'))}
101
+ className="flex flex-col items-center justify-center p-2 rounded-xl text-slate-500 active:scale-90 hover:text-slate-300 transition-all"
102
  >
103
+ <Menu className="w-[22px] h-[22px]" />
104
  </button>
105
 
106
  </div>
frontend/components/MobileNav.tsx CHANGED
@@ -57,27 +57,27 @@ export function MobileHeader({ onOpen }: { onOpen?: () => void }) {
57
  const isUnlimited = limitDialogs === null || limitDialogs === undefined
58
 
59
  return (
60
- <div className="flex flex-col fixed top-0 left-0 right-0 z-[60] bg-[#0D0E18]/80 backdrop-blur-2xl backdrop-saturate-[1.8] border-b border-white/10 pt-[env(safe-area-inset-top,0px)]">
61
- <div className="flex items-center justify-between px-4 h-16 text-white w-full">
62
  {/* Left: Logo + Brand Name */}
63
- <Link href="/settings/brain" className="flex items-center gap-3">
64
- <div className="w-8 h-8 relative">
65
  <img src="/logo-v2.png" alt="Logo" className="w-full h-full object-contain relative z-10" />
66
  </div>
67
- <span className="font-bold text-lg tracking-[0.2em] uppercase text-white">
68
  MICROFUNNEL
69
  </span>
70
  </Link>
71
 
72
  {/* Right: Hub */}
73
- <div className="flex items-center gap-3">
74
  {usageStats && (
75
- <div className="hidden sm:block text-[10px] font-bold text-indigo-400 bg-indigo-500/10 px-2 py-0.5 rounded-full border border-indigo-500/20 uppercase tracking-wider">
76
  {usedDialogs}/{isUnlimited ? '∞' : limitDialogs}
77
  </div>
78
  )}
79
 
80
- {/* Profile avatar with its own click handler or just UserMenu if modular */}
81
  <UserMenu user={user} logout={logout} companyName={companyName} getInitials={getInitials} getAvatarColor={getAvatarColor} />
82
  </div>
83
  </div>
@@ -87,18 +87,14 @@ export function MobileHeader({ onOpen }: { onOpen?: () => void }) {
87
 
88
  function UserMenu({ user, logout, companyName, getInitials, getAvatarColor }: any) {
89
  return (
90
- <div className="flex items-center gap-2">
91
  <Link
92
  href="/settings/account"
93
- className="flex items-center gap-2 group"
94
  >
95
- <div className="hidden sm:flex flex-col items-end mr-1">
96
- <span className="text-[10px] font-bold text-white leading-none whitespace-nowrap">{companyName || user?.full_name || 'User'}</span>
97
- <span className="text-[8px] text-slate-500 mt-1 uppercase tracking-tighter">Профиль</span>
98
- </div>
99
  <div
100
  className={cn(
101
- "w-8 h-8 rounded-full flex items-center justify-center text-white font-bold text-xs border border-white/20 active:scale-95 transition-transform overflow-hidden",
102
  !user?.avatar_url && getAvatarColor(user?.email)
103
  )}
104
  >
@@ -108,13 +104,21 @@ function UserMenu({ user, logout, companyName, getInitials, getAvatarColor }: an
108
  getInitials(user?.full_name, user?.email)
109
  )}
110
  </div>
 
 
 
 
 
111
  </Link>
112
 
 
 
113
  <button
114
  onClick={() => logout()}
115
- className="p-2 text-slate-400 hover:text-red-400 transition-colors rounded-lg active:bg-white/5"
 
116
  >
117
- <LogOut className="w-5 h-5" />
118
  </button>
119
  </div>
120
  )
 
57
  const isUnlimited = limitDialogs === null || limitDialogs === undefined
58
 
59
  return (
60
+ <div className="flex flex-col fixed top-0 left-0 right-0 z-[60] bg-[#0D0E18]/80 backdrop-blur-3xl backdrop-saturate-[1.8] border-b border-white/5 pt-[env(safe-area-inset-top,0px)]">
61
+ <div className="flex items-center justify-between px-3 h-[52px] text-white w-full">
62
  {/* Left: Logo + Brand Name */}
63
+ <Link href="/settings/brain" className="flex items-center gap-2.5 active:scale-95 transition-transform">
64
+ <div className="w-7 h-7 relative">
65
  <img src="/logo-v2.png" alt="Logo" className="w-full h-full object-contain relative z-10" />
66
  </div>
67
+ <span className="font-bold text-base tracking-[0.18em] uppercase text-white">
68
  MICROFUNNEL
69
  </span>
70
  </Link>
71
 
72
  {/* Right: Hub */}
73
+ <div className="flex items-center gap-2">
74
  {usageStats && (
75
+ <div className="hidden sm:block text-[9px] font-bold text-indigo-400 bg-indigo-500/10 px-2 py-0.5 rounded-full border border-indigo-500/20 uppercase tracking-tighter">
76
  {usedDialogs}/{isUnlimited ? '∞' : limitDialogs}
77
  </div>
78
  )}
79
 
80
+ {/* Profile avatar and menu */}
81
  <UserMenu user={user} logout={logout} companyName={companyName} getInitials={getInitials} getAvatarColor={getAvatarColor} />
82
  </div>
83
  </div>
 
87
 
88
  function UserMenu({ user, logout, companyName, getInitials, getAvatarColor }: any) {
89
  return (
90
+ <div className="flex items-center gap-1.5">
91
  <Link
92
  href="/settings/account"
93
+ className="flex items-center gap-2 p-0.5 pr-2 rounded-full hover:bg-white/5 active:bg-white/10 transition-all border border-transparent hover:border-white/5"
94
  >
 
 
 
 
95
  <div
96
  className={cn(
97
+ "w-7 h-7 rounded-full flex items-center justify-center text-white font-bold text-[10px] border border-white/10 shadow-sm overflow-hidden",
98
  !user?.avatar_url && getAvatarColor(user?.email)
99
  )}
100
  >
 
104
  getInitials(user?.full_name, user?.email)
105
  )}
106
  </div>
107
+ <div className="hidden min-[400px]:flex flex-col items-start">
108
+ <span className="text-[10px] font-bold text-white leading-none whitespace-nowrap truncate max-w-[80px]">
109
+ {companyName || user?.full_name || 'User'}
110
+ </span>
111
+ </div>
112
  </Link>
113
 
114
+ <div className="w-px h-4 bg-white/10 mx-0.5" />
115
+
116
  <button
117
  onClick={() => logout()}
118
+ className="p-1.5 text-slate-400 hover:text-red-400 active:text-red-500 transition-colors rounded-lg active:bg-white/5"
119
+ title="Выйти"
120
  >
121
+ <LogOut className="w-4.5 h-4.5" />
122
  </button>
123
  </div>
124
  )