-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* QA Fixes * More fixes (Topic individual page) * Footer * Fix forms
- Loading branch information
Showing
25 changed files
with
228 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,71 @@ | ||
import React from 'react' | ||
import { ExclamationCircleIcon, EnvelopeIcon, LockClosedIcon } from '@heroicons/react/24/outline' | ||
import Image from 'next/image' | ||
import React from "react"; | ||
import { | ||
ExclamationCircleIcon, | ||
EnvelopeIcon, | ||
LockClosedIcon, | ||
} from "@heroicons/react/24/outline"; | ||
import Image from "next/image"; | ||
|
||
export default function Login() { | ||
return ( | ||
<section id="login-modal" className=' font-acumin mb-4'> | ||
<section id="login-modal" className=" mb-4 font-acumin max-w-[24rem] mx-auto"> | ||
<div className="mt-2 flex flex-col"> | ||
<div className=' text-center'> | ||
<ExclamationCircleIcon className='w-5 h-5 mx-auto mb-2' /> | ||
<p className=' font-light font-wri-black text-[0.813rem]'>Registration Not Available Yet! <b>Login for WRI Members Only.</b> You Can Still Use All Portal Features.</p> | ||
<h3 className='mt-8 font-semibold text-[1.75rem]'>Log In</h3> | ||
<div className=" text-center"> | ||
<ExclamationCircleIcon className="mx-auto mb-2 h-5 w-5" /> | ||
<p className=" font-wri-black text-[0.813rem] font-light"> | ||
Registration Not Available Yet! <b>Login for WRI Members Only.</b>{" "} | ||
You Can Still Use All Portal Features. | ||
</p> | ||
<h3 className="mt-8 text-[1.75rem] font-semibold">Log In</h3> | ||
</div> | ||
<div className='mt-4'> | ||
<form action="" className='flex flex-col gap-y-4'> | ||
|
||
<div className=' rounded-md px-4 group hover:bg-[#F0FDF4] hover:border-0 hover:border-b-2 hover:border-b-[#3654A5] py-3 gap-x-2 flex pr-8 flex-row items-center min-w-fit w-full bg-white border-[1px] border-wri-gray-200'> | ||
<div className='grow shrink basis-auto'><input type="text" placeholder='Email' className=' focus:outline-none group-hover:bg-[#F0FDF4] placeholder:text-xs placeholder:font-light placeholder:text-[#353535] text-xs font-light w-full' /></div> | ||
<div className=' my-auto'><EnvelopeIcon className='w-4 h-4 text-[#3654A5]' /></div> | ||
<div className="mt-4"> | ||
<form action="" className="flex flex-col gap-y-4"> | ||
<div className="relative mx-auto w-full rounded-md"> | ||
<input | ||
type="text" | ||
placeholder="Email Address" | ||
className="shadow-wri-small peer block w-full rounded-md border-0 px-5 py-3 text-neutral-700 ring-1 ring-inset ring-gray-300 placeholder:text-neutral-700 focus:border-b-2 focus:border-blue-800 focus:bg-slate-100 focus:ring-0 focus:ring-offset-0 sm:text-sm sm:leading-6" | ||
></input> | ||
<div className="pointer-events-none absolute inset-y-0 right-3 flex items-center pr-3 text-neutral-700 peer-focus:text-[#3654A5]"> | ||
<EnvelopeIcon className="h-5 w-5 " /> | ||
</div> | ||
</div> | ||
|
||
<div className=' rounded-md px-4 group hover:bg-[#F0FDF4] hover:border-0 hover:border-b-2 hover:border-b-[#3654A5] py-3 gap-x-2 flex pr-8 flex-row items-center min-w-fit w-full bg-white border-[1px] border-wri-gray-200'> | ||
<div className='grow shrink basis-auto'><input type="text" placeholder='Password' className=' focus:outline-none placeholder:text-xs placeholder:font-light placeholder:text-[#353535] text-xs font-light w-full group-hover:bg-[#F0FDF4]' /></div> | ||
<div className=' my-auto'><LockClosedIcon className='w-4 h-4 text-[#3654A5]' /></div> | ||
<div className="relative mx-auto w-full max-w-[24rem] rounded-md"> | ||
<input | ||
type="text" | ||
placeholder="Password" | ||
className="shadow-wri-small peer block w-full rounded-md border-0 px-5 py-3 text-neutral-700 ring-1 ring-inset ring-gray-300 placeholder:text-neutral-700 focus:border-b-2 focus:border-blue-800 focus:bg-slate-100 focus:ring-0 focus:ring-offset-0 sm:text-sm sm:leading-6" | ||
></input> | ||
<div className="pointer-events-none absolute inset-y-0 right-3 flex items-center pr-3 text-neutral-700 peer-focus:text-[#3654A5]"> | ||
<LockClosedIcon className="h-5 w-5 " /> | ||
</div> | ||
</div> | ||
<div className='font-light text-[0.875rem] text-wri-black text-right -mt-2'> | ||
|
||
<div className="-mt-2 text-right text-[0.875rem] font-light text-wri-black"> | ||
Forgot password? | ||
</div> | ||
<button type='submit' className='bg-wri-gold text-wri-black font-semibold text-[1.125rem] rounded-sm px-4 py-4'>Log In</button> | ||
<button | ||
type="submit" | ||
className="rounded-sm bg-wri-gold px-4 py-4 text-[1.125rem] font-semibold text-wri-black" | ||
> | ||
Log In | ||
</button> | ||
</form> | ||
</div> | ||
<div className='mt-8 text-center flex justify-center items-center gap-x-2'> | ||
<div className='font-light text-[0.875rem] border border-1 border-wri-gray w-20 h-0' /> | ||
<div className='text-wri-black '>or</div> | ||
<div className='font-light text-[0.875rem] border border-1 border-wri-gray w-20 h-0' /> | ||
<div className="mt-8 flex items-center justify-center gap-x-2 text-center"> | ||
<div className="border-1 h-0 w-20 border border-wri-gray text-[0.875rem] font-light" /> | ||
<div className="text-wri-black ">or</div> | ||
<div className="border-1 h-0 w-20 border border-wri-gray text-[0.875rem] font-light" /> | ||
</div> | ||
<div className='flex mt-8 outline outline-1 outline-wri-gold rounded-sm justify-center py-4 '> | ||
<div className='w-4 h-4 relative my-auto'> | ||
<Image src='/images/wri_logo.png' alt="comment" fill /> | ||
<div className="mt-8 flex justify-center rounded-sm py-4 outline outline-1 outline-wri-gold "> | ||
<div className="relative my-auto h-4 w-4"> | ||
<Image src="/images/wri_logo.png" alt="comment" fill /> | ||
</div> | ||
<div className='ml-2 w-fit font-semibold text-base text-wri-black '> | ||
<div className="ml-2 w-fit text-base font-semibold text-wri-black "> | ||
Sign In with your WRI Credentials | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.