Skip to content

Commit

Permalink
Merge pull request #357 from onifs10/onifade
Browse files Browse the repository at this point in the history
Fixed Login and SignUp page #338
  • Loading branch information
Tejas1510 authored Oct 10, 2021
2 parents 10f3181 + 3caa2a4 commit c8fbc8e
Show file tree
Hide file tree
Showing 6 changed files with 10,576 additions and 10,884 deletions.
7 changes: 6 additions & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,14 @@ const useStyl = makeStyles(theme => ({
},
toolbar: theme.mixins.toolbar,
content: {
minHeight: "100vh",
flexGrow: 1,
padding: theme.spacing(3),
},
growDiv: {
height: "100%",
width: "100%"
}
}));

function App(props) {
Expand Down Expand Up @@ -224,7 +229,7 @@ function App(props) {
<main className={classs.content}>
<div className={classs.toolbar} />
<Grow in>
<div>
<div className={classs.growDiv}>
<Suspense fallback={<CircularProgress />}>
<Router>
<Switch>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Auth/SignIn/SignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function SignIn(props) {
return (
<>
<div className={styles.parent}>
<div className="left-child-section">
<div className={styles.leftChildSection}>
<div>
{/* <p id={styles.desc}>
Athavani/Memories is a place to save all
Expand All @@ -94,7 +94,7 @@ function SignIn(props) {
</div>
</div>
</div>
<div className="right-child-section">
<div className={styles.rightChildSection}>
<div className={styles.SignIn} style={{ marginTop: "5%" }}>
<div className={styles.SignImage}>
<img
Expand Down
29 changes: 24 additions & 5 deletions client/src/components/Auth/SignIn/SignIn.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

.parent {
position: absolute;
top:0;
left: 0;
display: flex;
justify-content: space-evenly;
align-items: center;
justify-content: center;
height: 100%;
width:100%;
}

#desc {
Expand Down Expand Up @@ -186,12 +191,12 @@
.link:hover {
text-decoration: underline;
}
.leftChildSection{
display: none;
}

@media only screen and (max-width: 930px) {
.parent {
flex-direction: column;
align-items: inherit;
}


.SignIn {
padding: 2rem;
Expand All @@ -204,6 +209,7 @@
}
}


@media only screen and (max-width: 430px) {
.SignIn {
/* margin-top: 17%; */
Expand All @@ -226,4 +232,17 @@
width: 100%;
font-size: 0.8rem;
}
.rightChildSection{
width: 95%;
}
}


@media screen and (min-width : 1024px) {
.parent{
justify-content: space-evenly;
}
.leftChildSection{
display: block;
}
}
4 changes: 2 additions & 2 deletions client/src/components/Auth/SignUp/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function SignUp(props) {

return (
<div className={styles.parent}>
<div className="left-child-section">
<div className={styles.leftChildSection}>
<div>
{/* <p id={styles.desc}>
Athavani/Memories is a place to save all
Expand All @@ -162,7 +162,7 @@ function SignUp(props) {
</div>
</div>
</div>
<div className="right-child-section">
<div className={styles.rightChildSection}>
<div className={styles.SignUp} style={{ marginTop: "5%" }}>
<div className={styles.SignImage}>
<img
Expand Down
28 changes: 23 additions & 5 deletions client/src/components/Auth/SignUp/SignUp.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

.parent {
position: absolute;
top:0;
left: 0;
display: flex;
justify-content: space-evenly;
align-items: center;
justify-content: center;
height: 100%;
width:100%;
}

.SignUp {
Expand Down Expand Up @@ -156,6 +161,9 @@
.link:hover {
text-decoration: underline;
}
.leftChildSection{
display: none;
}

@media only screen and (max-width: 630px) {
.SignUp {
Expand All @@ -170,10 +178,6 @@
}

@media only screen and (max-width: 430px) {
.parent {
flex-direction: column;
align-items: inherit;
}

.SignUp {
/* margin-top: 17%; */
Expand Down Expand Up @@ -206,4 +210,18 @@
font-size: 0.8rem;
margin-top: 6%;
}
.rightChildSection{
width: 95%;
}
}



@media screen and (min-width : 1024px) {
.parent{
justify-content: space-evenly;
}
.leftChildSection{
display: block;
}
}
Loading

0 comments on commit c8fbc8e

Please sign in to comment.