We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c81055 commit d25c25bCopy full SHA for d25c25b
frontend/src/components/Common/AuthLayout.tsx
@@ -0,0 +1,24 @@
1
+import Logo from "/assets/images/fastapi-logo.svg"
2
+
3
+interface AuthLayoutProps {
4
+ children: React.ReactNode
5
+}
6
7
+export function AuthLayout({ children }: AuthLayoutProps) {
8
+ return (
9
+ <div className="grid min-h-svh lg:grid-cols-2">
10
+ <div className="bg-muted relative hidden lg:flex lg:items-center lg:justify-center">
11
+ <img
12
+ src={Logo}
13
+ alt="Logo"
14
+ className="h-16 w-auto dark:brightness-[0.8] dark:grayscale"
15
+ />
16
+ </div>
17
+ <div className="flex flex-col gap-4 p-6 md:p-10">
18
+ <div className="flex flex-1 items-center justify-center">
19
+ <div className="w-full max-w-xs">{children}</div>
20
21
22
23
+ )
24
0 commit comments