Shahrbin-Admin-Nextjs/components/Login.tsx

38 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import Image from "next/image";
import React from "react";
import LoginForm from "./LoginForm";
import Link from "next/link";
export default function Login() {
return (
<div className="flex flex-col gap-2 w-2/3 max-w-[760px]">
<Image
alt="ostandari"
quality={100}
width={80}
height={80}
className=" self-end"
src="/images/province-logo.png"
/>
<div className=" bg-white w-full flex flex-col p-8 rounded-lg relative min-h-72">
<Image
alt="ostandari"
quality={100}
width={300}
height={300}
className=" max-h-[300px] absolute -left-5 -bottom-8 object-cover"
src="/images/login-logo.png"
/>
<div className=" w-full max-w-[400px] border rounded-lg h-full p-4">
<p className=" font-bold">ورود به پنل کاربری</p>
<LoginForm />
<Link href="/ForgotPassword">
<p className=" text-sm mt-2 text-mainBlue ">فراموشی رمز عبور</p>
</Link>
</div>
</div>
</div>
);
}