feat: add LocaleSwitcher component to LoginPage for improved localization support
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { LocaleSwitcher } from "@/components/locale-switcher"
|
||||
import { LoginForm } from "@/components/login-form"
|
||||
import { Suspense } from "react"
|
||||
|
||||
@@ -5,6 +6,9 @@ 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">
|
||||
<div className="mb-4 flex justify-end">
|
||||
<LocaleSwitcher />
|
||||
</div>
|
||||
<Suspense fallback={<div className="min-h-96" />}>
|
||||
<LoginForm />
|
||||
</Suspense>
|
||||
|
||||
Reference in New Issue
Block a user