Login Desgin Modified
parent
0728cc33c5
commit
7bb9b1a621
|
|
@ -2,5 +2,10 @@ import TabController from "@/components/TabController";
|
|||
import React from "react";
|
||||
|
||||
export default function page() {
|
||||
return <TabController />;
|
||||
return (
|
||||
<div className="flex justify-center items-center w-full">
|
||||
<TabController />
|
||||
<div className="w-full h-full bg-left-top bg-repeat bg-[url('/img/login-pattern.png')] absolute top-0 left-0 "></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,11 +14,7 @@ export default function page() {
|
|||
<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 className="w-full h-full bg-left-top bg-repeat bg-[url('/img/login-pattern.png')] absolute top-0 left-0 "></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,12 +6,7 @@ export default function page() {
|
|||
<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 className="w-full h-full bg-left-top bg-repeat bg-[url('/img/login-pattern.png')] absolute top-0 left-0 "></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export default function CitizenLogin() {
|
|||
return (
|
||||
<div
|
||||
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"
|
||||
h-3/4 max-md:p-8 z-10 bg-[url('/img/yazd1.png')] bg-no-repeat bg-bottom bg-contain"
|
||||
>
|
||||
<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 " />
|
||||
|
|
|
|||
|
|
@ -126,22 +126,23 @@ export default function Navbar() {
|
|||
</AnimatePresence>
|
||||
</div>
|
||||
<div className=" flex items-center max-md:mr-1 gap-5">
|
||||
<Link href="/" className=" max-sm:hidden">
|
||||
<Link href="/" className="">
|
||||
<Image
|
||||
src="/img/logo.png"
|
||||
src="/img/Logo1.png"
|
||||
quality={100}
|
||||
alt="log"
|
||||
width={32}
|
||||
height={32}
|
||||
width={500}
|
||||
height={500}
|
||||
className="w-28 h-12"
|
||||
/>
|
||||
</Link>
|
||||
|
||||
<div className=" text-brown flex flex-col text-center">
|
||||
{/* <div className=" text-brown flex flex-col text-center">
|
||||
<Link href="/">
|
||||
<h1 className="text-[23px] w-full">عیــون</h1>
|
||||
<h1 className="text-[9px]">سامانه افشای فساد شهرداری</h1>
|
||||
</Link>
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
<div className=" flex gap-5 items-center mr-8 max-md:hidden">
|
||||
{auth ? (
|
||||
|
|
|
|||
|
|
@ -38,12 +38,12 @@ export default function Pagination({
|
|||
previousLabel={<MdKeyboardArrowRight className="w-5 h-5 " />}
|
||||
pageClassName=" w-10 h-10 grid place-content-center rounded-lg !text-blue shadow-md"
|
||||
className={twMerge(
|
||||
" flex flex-wrap gap-3 text-sm md:text-base w-full rounded-md p-2 pb-3 bg-white/30 backdrop-blur-lg justify-center text-blue mt-5 fixed left-0 right-0 bottom-0"
|
||||
" flex flex-wrap gap-3 text-sm md:text-base w-full rounded-md p-2 pb-3 bg-transparent justify-center text-blue mt-5 fixed left-0 right-0 bottom-0"
|
||||
)}
|
||||
activeClassName=" bg-blue text-blue shadow-md shadow-main"
|
||||
activeLinkClassName=" text-white w-full p-1 h-full"
|
||||
previousLinkClassName=" w-10 h-10 grid place-content-center rounded-lg text-sm shadow-md"
|
||||
nextLinkClassName=" w-10 h-10 grid place-content-center rounded-lg text-sm shadow-md"
|
||||
previousLinkClassName=" w-10 h-10 grid place-content-center rounded-lg text-sm shadow-md bg-white"
|
||||
nextLinkClassName=" w-10 h-10 grid place-content-center rounded-lg text-sm shadow-md bg-white"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export default function TabController() {
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="w-[95vw] lg:w-[82vw] xl:w-[70vw] 3xl:w-[65vw] mt-16 pt-9">
|
||||
<div className="w-[95vw] lg:w-[82vw] xl:w-[70vw] 3xl:w-[65vw] mt-16 pt-9 z-10">
|
||||
<Button
|
||||
onClick={() => {
|
||||
router.push("/RequestStep2");
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export default function TableController({ data }: { data: Complaint[] }) {
|
|||
<div>
|
||||
<Table className="border-[1px] border-solid border-muted rounded-md mb-20">
|
||||
{/* <TableCaption>A list of your recent invoices.</TableCaption> */}
|
||||
<TableHeader>
|
||||
<TableHeader className="bg-white">
|
||||
<TableRow>
|
||||
<TableHead>ردیف</TableHead>
|
||||
<TableHead>کد پیگیری</TableHead>
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export default function Verify() {
|
|||
return (
|
||||
<div
|
||||
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"
|
||||
h-3/5 sm:h-3/4 max-md:p-8 relative z-10 bg-[url('/img/yazd1.png')] bg-no-repeat bg-bottom bg-contain"
|
||||
>
|
||||
{CitizenVerifyMutation.isPending && (
|
||||
<div className="absolute top-3 left-5 ">
|
||||
|
|
@ -88,7 +88,7 @@ export default function Verify() {
|
|||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col justify-center h-full space-y-3 md:space-y-4 md:py-12 md:px-20">
|
||||
<div className="flex flex-col justify-start h-full space-y-3 md:space-y-6 md:py-16 md:px-20">
|
||||
<Image alt="icon" src={LoginIcon} className="self-center w-1/3 " />
|
||||
<p className="text-lg font-bold leading-tight tracking-tight text-blue dark:text-white">
|
||||
تایید کد
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 548 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in New Issue