mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
* Fix login page * Increase face image size and add time ago * Add component for indicating steps in a wizard * Split out form inputs from dialog * Add wizard for adding new face to library * Simplify dialog * Translations * Fix scaling bug * Fix key missing * Improve multi select * Adjust wording and spacing * Add tip for face training * Fix padding * Remove text for buttons on mobile
27 lines
858 B
TypeScript
27 lines
858 B
TypeScript
import { UserAuthForm } from "@/components/auth/AuthForm";
|
|
import Logo from "@/components/Logo";
|
|
import { ThemeProvider } from "@/context/theme-provider";
|
|
import "@/utils/i18n";
|
|
import { LanguageProvider } from "@/context/language-provider";
|
|
|
|
function LoginPage() {
|
|
return (
|
|
<ThemeProvider defaultTheme="system" storageKey="frigate-ui-theme">
|
|
<LanguageProvider>
|
|
<div className="size-full overflow-hidden">
|
|
<div className="p-8">
|
|
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
|
<div className="flex flex-col items-center space-y-2">
|
|
<Logo className="mb-6 h-8 w-8" />
|
|
</div>
|
|
<UserAuthForm />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</LanguageProvider>
|
|
</ThemeProvider>
|
|
);
|
|
}
|
|
|
|
export default LoginPage;
|