diff --git a/apps/desktop/src/renderer/src/pages/login.tsx b/apps/desktop/src/renderer/src/pages/login.tsx index eafeb760..a1ac0b6a 100644 --- a/apps/desktop/src/renderer/src/pages/login.tsx +++ b/apps/desktop/src/renderer/src/pages/login.tsx @@ -30,24 +30,27 @@ export default function LoginPage() { } return ( -
-
- {/* Logo */} -
- - Multica +
+
+ {/* Brand */} +
+ +

Multica

+ {/* Tagline */} +

+ An AI assistant that gets things done — pulling data, running analysis, + and taking action. Talk to it like a team member. +

+ {/* Sign In */} -
-

Sign in to continue

- -
+ {/* Helper */} -

+

Opens browser for authentication

diff --git a/apps/desktop/src/renderer/src/stores/auth.ts b/apps/desktop/src/renderer/src/stores/auth.ts index 5b0e4c69..2dd54121 100644 --- a/apps/desktop/src/renderer/src/stores/auth.ts +++ b/apps/desktop/src/renderer/src/stores/auth.ts @@ -3,6 +3,7 @@ */ import { create } from 'zustand' +import { toast } from '@multica/ui/components/ui/sonner' import type { AuthUser } from '@multica/types' export type { AuthUser } @@ -87,6 +88,7 @@ export const useAuthStore = create((set) => ({ user: null, isAuthenticated: false, }) + toast('Signed out') console.log('[AuthStore] Auth cleared') } catch (error) { console.error('[AuthStore] Failed to clear auth:', error) @@ -113,6 +115,7 @@ export function setupAuthCallbackListener(): () => void { user: data.user, isAuthenticated: true, }) + toast.success(`Welcome back, ${data.user.name}`) } })