-
Horizon
-
Policy Renewal Workflow Management
+
+ {/* Left panel — brand */}
+
+
+
+
+
+
+ Policy Renewal
Workflow Management
+
+
+ Horizon keeps your team on top of every renewal, every client, every deadline.
+
+
+
+ © {new Date().getFullYear()} Seubert Enterprises, Inc.
+
+
+
+ {/* Right panel — form */}
+
+
+ {/* Mobile logo */}
+
+
-
+
+
+
Welcome back
+
Sign in to your Horizon account
+
+
-
-
- Sign in with your local account or Microsoft account
-
)
diff --git a/ondeck/src/components/auth/signin-form.tsx b/ondeck/src/components/auth/signin-form.tsx
index 1b951a3..fb4328a 100644
--- a/ondeck/src/components/auth/signin-form.tsx
+++ b/ondeck/src/components/auth/signin-form.tsx
@@ -4,26 +4,21 @@ import { useState } from 'react'
import { signIn } from 'next-auth/react'
import { Button } from '@/components/ui/button'
import { Input } from '@/components/ui/input'
-import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
-import { Building2, User } from 'lucide-react'
+import { Loader2 } from 'lucide-react'
export function SignInForm() {
const [username, setUsername] = useState('')
const [password, setPassword] = useState('')
const [loading, setLoading] = useState(false)
+ const [msLoading, setMsLoading] = useState(false)
const [error, setError] = useState('')
+ const [showLocal, setShowLocal] = useState(false)
const handleLocalSignIn = async (e: React.FormEvent) => {
e.preventDefault()
setLoading(true)
setError('')
-
- const result = await signIn('credentials', {
- username,
- password,
- redirect: false,
- })
-
+ const result = await signIn('credentials', { username, password, redirect: false })
if (result?.error) {
setError('Invalid username or password')
setLoading(false)
@@ -33,76 +28,80 @@ export function SignInForm() {
}
const handleMicrosoftSignIn = async () => {
+ setMsLoading(true)
await signIn('azure-ad', { callbackUrl: '/dashboard' })
}
return (
- {/* Local Account Login */}
-
-
-
-
- Local Account
-
-
-
-
-
-
-
Development Accounts:
-
• admin / admin123 (Admin)
-
• manager / manager123 (Manager)
-
• ae / ae123 (Account Executive)
-
-
-
+ {/* Microsoft SSO — primary */}
+
- {/* Microsoft Login (if configured) */}
-
-
-
-
+
+ )}
)
}