Skip to content
97 changes: 0 additions & 97 deletions frontend/src/Account.tsx

This file was deleted.

25 changes: 3 additions & 22 deletions frontend/src/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const Login = observer(() => {
};

return (
<div className="bg-white grid grid-cols-2" style={styles.pageContainer}>
<div className="bg-white grid grid-cols-[60%_40%] w-screen h-screen relative m-0 p-0 overflow-hidden text-start">
{/*/ Left side: Registration form */}
<div className="w-[60%] h-full py-20 px-24 flex flex-col justify-center items-start">
<div className="h-full py-20 px-24 flex flex-col justify-center items-start">
<div className="mb-12">
<h1 className="text-[32px] pb-4">Welcome back!</h1>
<h2 className="text-lg">
Expand All @@ -52,7 +52,6 @@ const Login = observer(() => {
required
onChange={(e) => setUsername(e.target.value)}
placeholder="Enter your email"
style={styles.inputContainer}
className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray"
/>
</div>
Expand All @@ -70,7 +69,6 @@ const Login = observer(() => {
required
onChange={(e) => setPassword(e.target.value)}
placeholder="Enter your password"
style={styles.inputContainer}
className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray"
/>
</div>
Expand All @@ -88,7 +86,6 @@ const Login = observer(() => {
<button
type="submit"
className="w-full block mt-8 min-w-0 rounded-md grow bg-dark-orange text-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500"
style={{ ...styles.button, ...styles.helloButton }}
>
Login
</button>
Expand All @@ -111,7 +108,7 @@ const Login = observer(() => {
</div>

{/*/ Right side: logo */}
<div className="w-[40%] h-full flex flex-col justify-center items-center">
<div className="h-full flex flex-col justify-center items-center">
<div className="w-full h-full bg-medium-orange rounded-l-4xl flex flex-col justify-center items-center">
<img
className="w-[60%] h-[60%] object-contain p-10 mb-40"
Expand All @@ -125,19 +122,3 @@ const Login = observer(() => {
});

export default Login;

// Inline style objects
const styles: { [key: string]: React.CSSProperties } = {
pageContainer: {
position: "relative",
width: "100vw",
height: "100vh",
margin: 0,
padding: 0,
overflow: "hidden",
display: "flex",
justifyContent: "center",
alignItems: "start",
textAlign: "start",
},
};
175 changes: 0 additions & 175 deletions frontend/src/Profile.tsx

This file was deleted.

Loading