-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from Code-Odyssey-Editor/Kanishq-Mehta
Kanishq mehta
- Loading branch information
Showing
5 changed files
with
87 additions
and
155 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +0,0 @@ | ||
import { motion } from 'framer-motion'; | ||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
import { RiLockPasswordLine } from "react-icons/ri"; | ||
import { Button, Input } from "@nextui-org/react"; | ||
import { BiUserCircle } from "react-icons/bi"; | ||
|
||
const forgotpassword: React.FC = () => { | ||
return ( | ||
<div className="fixed inset-0 z-0"> | ||
{[...Array(100)].map((_, index) => ( | ||
<motion.div | ||
key={index} | ||
initial={{ | ||
opacity: 0, | ||
scale: Math.random() * 0.5 + 0.2, | ||
rotate: Math.random() * 360, | ||
x: Math.random() * 100 - 50, | ||
y: Math.random() * 100 - 50, | ||
}} | ||
animate={{ | ||
opacity: 1, | ||
scale: Math.random() * 0.5 + 0.2, | ||
rotate: Math.random() * 360, | ||
x: Math.random() * 100 - 50, | ||
y: Math.random() * 100 - 50, | ||
transition: { | ||
repeat: Infinity, | ||
repeatType: 'reverse', | ||
duration: Math.random() * 3 + 1, | ||
ease: 'linear', | ||
}, | ||
}} | ||
className="absolute bg-white w-1 h-1 rounded-full" | ||
style={{ | ||
left: `${Math.random() * 100}vw`, | ||
top: `${Math.random() * 100}vh`, | ||
}} | ||
/> | ||
))} | ||
<body className="bg-black"> | ||
|
||
<section className="flex flex-col items-center justify-center w-full flex-1 px-18 text-center min-h-screen"> | ||
|
||
<div className="bg-white rounded-2xl shadow-2xl flex w-1/2 max-w-4xl"> | ||
<div className="w-3/5 p-4">{/* Sign in */} | ||
<div className="text-left font-bold"> | ||
<span className="text-green-500"> Code Odessay</span> Editor | ||
</div> | ||
<div className="py-10"> | ||
<h2 className="text-2xl font-bold text-green-500 mb-10">Forgot Password</h2> | ||
|
||
<div className="flex flex-col items-center"> | ||
<div className="bg-gray-100 w-64 p-2 flex items-center mb-3 rounded-full"> | ||
<BiUserCircle className="mr-2 ml-2" /> | ||
<div className=""> | ||
<Input type="text" placeholder="Enter your username" className="outline-none" /> | ||
</div> | ||
</div> | ||
|
||
|
||
<div className="bg-gray-100 w-64 p-2 flex items-center mb-3 rounded-full"> | ||
<RiLockPasswordLine className="mr-2 ml-2" /> | ||
<div className=""> | ||
<Input type="password" placeholder="Enter Password" className="outline-none " /> | ||
</div> | ||
</div> | ||
|
||
<div className="bg-gray-100 w-64 p-2 flex items-center mb-3 rounded-full"> | ||
<RiLockPasswordLine className="mr-2 ml-2" /> | ||
<div className=""> | ||
<Input type="password" placeholder="Confirm Password" className="outline-none " /> | ||
</div> | ||
</div> | ||
<div className="flex justify-between w-64 mb-5 text-sm"> | ||
<Link to="/sign-in"> | ||
<p>Back to Signin page?</p> | ||
</Link> | ||
|
||
</div> | ||
<Button className=" mb-2 border-2 border-green-500 rounded-full inline-block text-green-500 hover:bg-green-500 hover:text-white hover:border-white"> | ||
Forgot Password | ||
</Button> | ||
|
||
</div > | ||
|
||
</div> | ||
|
||
|
||
</div> | ||
<div className="w-1/2 bg-green-600 text-white rounded-tr-2xl rounded-br-2xl py-36 px-12">{/* Sign up */} | ||
<h2 className="text-3xl font-bold mb-2 overflow-hidden ">Hello, Friend!</h2> | ||
<image href="logo" /> | ||
<div className="border-2 w-10 border-white inline-block mb-2"></div> | ||
<p className="mb-10 "> Fill up the information to start journey with us</p> | ||
<Button color="success" className="border-2 border-white rounded-full inline-block text-white hover:bg-slate-50 hover:text-green-500 hover:border-green-500"> | ||
Sign Up | ||
</Button> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</div > | ||
|
||
); | ||
} | ||
export default forgotpassword; | ||
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