import Link from "next/link";
import { Button } from "@/registry/bases/radix/ui/button";
import { Separator } from "@/registry/bases/radix/ui/separator";
import { GoogleLogo } from "@/registry/blocks/radix/login-08/components/icons";
import { LoginForm } from "@/registry/blocks/radix/login-08/components/login-form";
import { Logo } from "@/registry/blocks/radix/login-08/components/logo";
const Login = () => (
<div className="flex h-screen items-center justify-center">
<div className="mx-auto w-full border border-border/70 pb-0 max-sm:border-t-0 sm:max-w-md sm:rounded-xl sm:bg-card sm:p-1 sm:shadow-lg/3">
<div className="border border-border/70 bg-muted/60 px-10 py-14 max-sm:border-x-0 sm:rounded-lg sm:shadow-sm/2">
<Logo className="mx-auto size-9" />
<h1 className="mt-3 text-center font-medium text-2xl tracking-[-0.015em]">
Log in to Shadcn UI Blocks
</h1>
<div className="mt-10">
<Button className="w-full" size="lg" type="button">
<GoogleLogo className="mr-2 size-4" />
Continue with Google
</Button>
<div className="my-6 flex items-center justify-center gap-2 overflow-hidden">
<Separator />
<span className="text-muted-foreground text-sm">OR</span>
<Separator />
</div>
<LoginForm />
</div>
</div>
<div className="relative py-5">
<div
className="absolute inset-0 z-0"
style={{
backgroundImage: `
linear-gradient(45deg, transparent 49%, var(--border) 49%, var(--border) 51%, transparent 51%),
linear-gradient(-45deg, transparent 49%, var(--border) 49%, var(--border) 51%, transparent 51%)
`,
backgroundSize: "40px 40px",
WebkitMaskImage:
"radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 90%)",
maskImage:
"radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 90%)",
}}
/>
<p className="relative isolate text-center text-sm">
New to Bloxxee?{" "}
<Link className="text-muted-foreground underline" href="#">
Create an account
</Link>
</p>
</div>
</div>
</div>
);
export default Login;