f827a7471c
- Removed LocaleSwitcher from NavUser, SiteHeader, and WorkbenchHeader components. - Updated tests to reflect the removal of LocaleSwitcher. - Changed default locale from "en-US" to "zh-CN" in i18n configuration. - Refactored locale resolution logic to read configured locale without relying on browser language detection. - Updated AgentDesk SDK to support language configuration from public API. - Cleaned up unused auth options fetching in the auth API.
15 lines
416 B
TypeScript
15 lines
416 B
TypeScript
import { LoginForm } from "@/components/login-form"
|
|
import { Suspense } from "react"
|
|
|
|
export default function LoginPage() {
|
|
return (
|
|
<div className="flex min-h-svh flex-col items-center justify-center bg-muted p-6 md:p-10">
|
|
<div className="w-full max-w-sm md:max-w-4xl">
|
|
<Suspense fallback={<div className="min-h-96" />}>
|
|
<LoginForm />
|
|
</Suspense>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|