💄 create login page

This commit is contained in:
2025-07-13 19:10:47 +07:00
parent cfd8015cd5
commit 9eb7165023
3 changed files with 41 additions and 1 deletions

32
widgets/login/card.tsx Normal file
View File

@ -0,0 +1,32 @@
"use client";
import React from "react";
import { Button, Card, Divider, input, Input } from "@heroui/react";
const LoginCard = () => {
return (
<Card className="px-8 py-12">
<h1 className="text-3xl font-light text-center">Welcome Back</h1>
<Input
className="w-[420px] mt-8"
label="Email"
type="email"
variant="bordered"
classNames={{
input: "text-md font-light pt-4",
inputWrapper: "flex gap-10",
}}
/>
<Button className="mt-4" color="primary">
Sign In
</Button>
<div className="flex w-full items-center mt-6">
<Divider className="flex-1" />
<span className="px-2 text-neutral-500 text-sm">or</span>
<Divider className="flex-1" />
</div>
</Card>
);
};
export default LoginCard;