Login HTML Modified

Kahdooei
yasaman 2024-02-12 13:05:27 +03:30
parent 87fb5e90f7
commit 0728cc33c5
6 changed files with 29 additions and 8 deletions

View File

@ -10,5 +10,15 @@ export default function page() {
// if (!token) {
// redirect("/");
// }
return <CitizenLogin />;
return (
<div className="flex justify-center items-center w-full h-[calc(100vh-4rem)] ">
<CitizenLogin />
{/* <div className="w-full h-full bg-left-top bg-repeat bg-[url('/img/bg-pattern.png')] absolute top-0 left-0 bg-50% opacity-10"></div>
<div className="w-full h-5 bg-left-bottom bg-repeat bg-[url('/img/Rectangle.png')] absolute bottom-0 left-0 z-10"></div>
<div className="w-full h-full bg-left-bottom bg-no-repeat bg-[url('/img/yazd.png')] absolute bottom-5 left-0 sm:bg-50% bg-contain opacity-70 hidden sm:flex"></div>
<div className="w-full h-full bg-left-bottom bg-no-repeat bg-[url('/img/yazd.png')] absolute bottom-5 left-0 sm:bg-50% bg-contain opacity-70 transform hidden sm:flex" style={{transform: 'rotateY(180deg)'}}></div> */}
</div>
);
}

View File

@ -2,5 +2,16 @@ import Verify from "@/components/Verify";
import React from "react";
export default function page() {
return <Verify />;
return (
<div className="flex justify-center items-center w-full h-[calc(100vh-4rem)] ">
<Verify />
{/* <div className="w-full h-full bg-left-top bg-repeat bg-[url('/img/bg-pattern.png')] absolute top-0 left-0 bg-50% opacity-10"></div>
<div className="w-full h-5 bg-left-bottom bg-repeat bg-[url('/img/Rectangle.png')] absolute bottom-0 left-0 z-10"></div>
<div className="w-full h-full bg-left-bottom bg-no-repeat bg-[url('/img/yazd.png')] absolute bottom-5 left-0 sm:bg-50% bg-contain opacity-70 hidden sm:flex"></div>
<div className="w-full h-full bg-left-bottom bg-no-repeat bg-[url('/img/yazd.png')] absolute bottom-5 left-0 sm:bg-50% bg-contain opacity-70 transform hidden sm:flex" style={{transform: 'rotateY(180deg)'}}></div> */}
</div>
);
}

View File

@ -29,7 +29,7 @@ export default function RootLayout({
<Navbar />
{/* <NavbarSm /> */}
<div className="flex justify-center mt-20 sm:mt-14">
<div className="flex justify-center mt-16 sm:mt-14">
<ProgressBarProviders>{children}</ProgressBarProviders>
</div>

View File

@ -90,8 +90,8 @@ export default function CitizenLogin() {
return (
<div
className="w-full mt-14 sm:w-2/3 md:w-2/4 xl:w-1/3 bg-white rounded-lg dark:border xl:p-0 dark:bg-gray-800 dark:border-gray-700 shadow-[0px_0px_15px_0px_#00000040]
h-full max-md:p-8 pt-12 mb-10"
className="w-full sm:w-2/3 md:w-2/4 xl:w-1/3 bg-white rounded-lg dark:border xl:p-0 dark:bg-gray-800 dark:border-gray-700 shadow-[0px_0px_15px_0px_#00000040]
h-3/4 max-md:p-8 z-10"
>
<div className="flex flex-col justify-center h-full space-y-3 md:space-y-4 md:py-10 md:px-12 lg:px-16">
<Image alt="icon" src={LoginIcon} className="self-center w-1/3 " />

View File

@ -72,8 +72,8 @@ export default function Verify() {
}, [otp]);
return (
<div
className="w-full mt-28 sm:w-2/3 md:w-2/4 xl:w-1/3 bg-white rounded-lg dark:border xl:p-0 dark:bg-gray-800 dark:border-gray-700 shadow-[0px_0px_15px_0px_#00000040]
h-full max-md:p-8 pt-12 relative"
className="w-full sm:w-2/3 md:w-2/4 xl:w-1/3 bg-white rounded-lg dark:border xl:p-0 dark:bg-gray-800 dark:border-gray-700 shadow-[0px_0px_15px_0px_#00000040]
h-1/2 max-md:p-8 pt-12 relative z-10"
>
{CitizenVerifyMutation.isPending && (
<div className="absolute top-3 left-5 ">

BIN
public/img/Rectangle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B