Skip to content

Commit

Permalink
Merge pull request #3 from Aryan1982/main
Browse files Browse the repository at this point in the history
Login-page-updated
  • Loading branch information
akshsisodiya authored Dec 10, 2022
2 parents 2ec9073 + 19fda10 commit 89e0e74
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body{
margin: 0px;
}
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@


import LoginPage from "./Pages/LoginPage/LoginPage"
import "./App.css"
function App() {
return(
<div>
<h1>Prakarsh'23</h1>
<LoginPage/>
</div>
);

Expand Down
Empty file.
12 changes: 12 additions & 0 deletions src/Pages/EventsPage/EventsPage.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react'
import "./EventsPage.css"

const EventsPage = () => {
return (
<div>

</div>
)
}

export default EventsPage;
95 changes: 95 additions & 0 deletions src/Pages/LoginPage/LoginPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
.LoginPageBody{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #f9EFD7;
margin:0px;
}

.LoginPageCard{
display: inline-block;
border: 2px solid black;
width: 300px;
height: 450px;
background: white;
border-radius: 20px;
box-shadow: 3px 3px 0px #000;
}

.signindiv{
margin: auto;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid black;
font-size: 20px;
height: 50px;
width: 95px;
position: relative;
top:-20px;
color: white;
background:#E3CFFF;
border-radius: 12px;
box-shadow: 2px 2px 0px #000;
}

.emailinput{
width: 240px;
margin: auto;
font-size: 7px;
color: lightgray;
position: relative;
top:20px;
}
.emailinput input{
border: none;
background:lightgray;
border-radius: 10px;
width: 240px;
height: 35px;

}
.requestOTPbtn{
margin: auto;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid black;
font-size: 16px;
height: 40px;
width: 160px;
position: relative;
top:70px;
background:#8C52FF;
border-radius: 8px;
color: white;
box-shadow: 2px 2px 3px #000;
}
.requestOTPbtn:hover{
cursor: pointer;
}
.signUpOptionDiv{
display: flex;
justify-content: center;
text-align: center;
position: relative;
top: 130px;
height: 20px;
border-top: 2px solid black;
}
.signUpOptionDiv .orsignupwith{
font-size: 10px;
background: white;
display: block;
position: relative;
top: -22px;
height: 40px;
padding: 0px 5px 0px 5px;
}

.cardFooter{
display: flex;
position: relative;
top: 20px;
}
22 changes: 19 additions & 3 deletions src/Pages/LoginPage/LoginPage.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
import React from 'react'
import "./LoginPage.css"
import GoogleIcon from "./google.svg"

const LoginPage = () => {
return (
<div>

<div className="LoginPageBody">
<div className="LoginPageCard">
<div className="signindiv">SIGN-IN</div>
<div className="emailinput">
<h1>EMAIL-ID</h1>
<input type="text"></input>
</div>
<button className="requestOTPbtn">REQUEST OTP</button>
<div className="signUpOptionDiv">
<div className='orsignupwith'><h2>or sign up with</h2><div className="cardFooter">
<img src={GoogleIcon}/><h1>Google</h1>
</div>
</div>

</div>
</div>

</div>
)
}

export default LoginPage
export default LoginPage;
1 change: 1 addition & 0 deletions src/Pages/LoginPage/google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 89e0e74

Please sign in to comment.