diff --git a/src/App.tsx b/src/App.tsx index 5107cc9..e3b363f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -74,7 +74,7 @@ export default function App() { // Still checking stored credentials if (authenticated === null) { return ( -
+
Connecting…
); @@ -87,7 +87,7 @@ export default function App() { return ( -
+
-
+
{/* File previews */} {files.length > 0 && (
diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index 41683e9..ba69531 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -40,7 +40,7 @@ export class ErrorBoundary extends Component { if (this.props.fallback) return this.props.fallback; return ( -
+
đź’Ą

diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 04ed521..4e92cda 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -3,6 +3,7 @@ import { Menu, Sparkles, LogOut, Volume2, VolumeOff, Cpu, Bot, Download } from ' import type { ConnectionStatus, Session, ChatMessage } from '../types'; import { useT } from '../hooks/useLocale'; import { LanguageSelector } from './LanguageSelector'; +import { ThemeSwitcher } from './ThemeSwitcher'; import { sessionDisplayName } from '../lib/sessionName'; import { messagesToMarkdown, downloadFile } from '../lib/exportChat'; @@ -32,7 +33,7 @@ export function Header({ status, sessionKey, onToggleSidebar, activeSessionData, return ( <> -
+
@@ -76,6 +77,7 @@ export function Header({ status, sessionKey, onToggleSidebar, activeSessionData, )} + {status === 'connected' ? (
@@ -113,7 +115,7 @@ export function Header({ status, sessionKey, onToggleSidebar, activeSessionData, const opacity = Math.max(0.35, Math.min(1, pct / 100)); const barStyle = { width: `${pct}%`, backgroundColor: `rgba(56, 189, 248, ${opacity})` }; return ( -
+
{activeSessionData?.model && ( diff --git a/src/components/KeyboardShortcuts.tsx b/src/components/KeyboardShortcuts.tsx index 5e3a627..19f1d41 100644 --- a/src/components/KeyboardShortcuts.tsx +++ b/src/components/KeyboardShortcuts.tsx @@ -56,7 +56,7 @@ export function KeyboardShortcuts({ open, onClose }: Props) { {/* Modal */}
e.stopPropagation()} > {/* Header */} diff --git a/src/components/LoginScreen.tsx b/src/components/LoginScreen.tsx index 0c3770a..26babad 100644 --- a/src/components/LoginScreen.tsx +++ b/src/components/LoginScreen.tsx @@ -37,7 +37,7 @@ export function LoginScreen({ onConnect, error, isConnecting }: Props) { }; return ( -
+
{/* Logo */}
@@ -50,7 +50,7 @@ export function LoginScreen({ onConnect, error, isConnecting }: Props) {
{/* Form */} -
+