Skip to content

Commit

Permalink
update login layout
Browse files Browse the repository at this point in the history
  • Loading branch information
okeino committed Feb 1, 2024
1 parent fae3c0c commit 39ec0bf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 21 deletions.
3 changes: 0 additions & 3 deletions src/components/molecules/button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ $button-height: 31px;
}
}

.tertiary {
}

.super,
.primary,
.primaryInverse,
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/loginLanding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Login(): JSX.Element {
return (
<AndOnboarding>
<SocialLogin />
<div className={styles.buttonCol}>
<div className={styles.buttonColLanding}>
<p className={styles.centerText}>
{intl.formatMessage({
id: 'socialLogin__loginOr',
Expand Down
2 changes: 2 additions & 0 deletions src/components/molecules/socialLogin.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
flex: 0 1 calc(50% - 16px);
}
}
.buttonColLanding,
.buttonCol {
display: flex;
flex-direction: column;
Expand All @@ -17,6 +18,7 @@
margin-left: 16px;
}
}

.centerText {
justify-content: center;
}
Expand Down
20 changes: 8 additions & 12 deletions src/components/templates/andOnboarding.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@
margin-bottom: 32px;
}

.whySignUp {
display: flex;
flex-direction: column;
}
.guest {
margin-top: 10px;
margin-top: 16px;
}
.intro {
font-size: 18px;
Expand Down Expand Up @@ -96,13 +92,13 @@
}
}

.whySignUp {
flex-direction: row;
align-items: center;
margin: auto;
margin-left: 20%;
margin-bottom: 20px;
}
// .whySignUp {
// flex-direction: row;
// align-items: center;
// margin: auto;
// margin-left: 20%;
// margin-bottom: 20px;
// }
.guest {
margin-left: 40px;
float: right;
Expand Down
8 changes: 3 additions & 5 deletions src/components/templates/andOnboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ export default function AndOnboarding({
}): JSX.Element {
const languageRoute = useLanguageRoute();
const features = getAppFeatures(languageRoute);
const classes = `${styles.logo} ${styles.whySignUp}`;

return (
<div className={styles.page}>
<div className={styles.form}>
<div className={classes}>
<div>
<LogoLarge />
</div>
<div className={styles.logo}>
<LogoLarge />

<div className={styles.guest}>
<ButtonGuest />
</div>
Expand Down

0 comments on commit 39ec0bf

Please sign in to comment.