begin login page
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import styles from "./LoginPage.module.css"
|
||||
import LoginForm from "../../components/form.jsx"
|
||||
|
||||
function LoginPage(){
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<LoginForm className={styles["login-form"]}/>
|
||||
</div>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
export default LoginPage;
|
||||
@@ -0,0 +1,55 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgb(235, 199, 22);
|
||||
padding: 20px;
|
||||
}
|
||||
.login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 40px 20px;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
background-color: rgb(232, 229, 229);
|
||||
opacity: 0.85;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
|
||||
}
|
||||
.form-group {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
label{
|
||||
color:red;
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
padding: 15px 10px 5px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
}
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: orange;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.login-button {
|
||||
padding: 10px;
|
||||
background-color: rgb(125, 117, 133);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
Reference in New Issue
Block a user