-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🔥 [EXL-66] auth page aligned with public version (#306)
- Loading branch information
Showing
20 changed files
with
402 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
135 changes: 1 addition & 134 deletions
135
apps/frontend/src/components/containers/Auth/Auth.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,4 @@ | ||
@use 'sass:map'; | ||
|
||
@import '../../../styles/variables.scss'; | ||
|
||
.main { | ||
display: flex; | ||
font-family: poppins, sans-serif; | ||
|
||
.leftSideContainer { | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
width: 50%; | ||
padding: 0 80px; | ||
background-image: url('../../../assets/images/auth-background.png'); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: cover; | ||
|
||
&__brandLogo { | ||
position: absolute; | ||
top: 34px; | ||
inset-inline-end: 34px; | ||
width: 168px; | ||
object-fit: contain; | ||
} | ||
|
||
&__header { | ||
margin-bottom: 9px; | ||
font-size: 5.5rem; | ||
font-weight: 700; | ||
line-height: 65.25px; | ||
text-align: center; | ||
background: linear-gradient(270deg, #9072a7 46.97%, #f2f2f2 93.64%); | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
|
||
&__subHeader { | ||
font-size: 3.6rem; | ||
font-weight: 400; | ||
color: #bbb8ca; | ||
text-align: center; | ||
} | ||
} | ||
|
||
.rightSideContainer { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
width: 50%; | ||
|
||
&__header { | ||
font-size: 4rem; | ||
font-weight: 700; | ||
color: map.get($colors, purple-text); | ||
} | ||
|
||
&__subHeader { | ||
margin-bottom: 45px; | ||
font-size: 3.5rem; | ||
font-weight: 400; | ||
color: map.get($colors, purple-text); | ||
} | ||
|
||
.rightSideExternalAuthContainer { | ||
display: flex; | ||
align-items: center; | ||
width: 360px; | ||
height: 67px; | ||
padding: 12px 50px 12px 21px; | ||
text-decoration: none; | ||
border-radius: 7.5px; | ||
|
||
&:not(:last-child) { | ||
margin-bottom: 19px; | ||
} | ||
|
||
&--github { | ||
background-color: #242337; | ||
border: 1.5px solid transparent; | ||
} | ||
|
||
&--google { | ||
background-color: #fefefe; | ||
border: 1.5px solid #e7e7e7; | ||
} | ||
|
||
&__brandLogo { | ||
height: 43px; | ||
margin-inline-end: 34px; | ||
object-fit: contain; | ||
} | ||
|
||
&__text { | ||
font-size: 1.9rem; | ||
font-weight: 500; | ||
|
||
&--github { | ||
color: #f2f2f2; | ||
} | ||
|
||
&--google { | ||
color: #202428; | ||
} | ||
} | ||
} | ||
|
||
&__divider { | ||
width: 203px; | ||
height: 1px; | ||
margin: 44px 0; | ||
background-color: #4b4a65; | ||
} | ||
|
||
&__permissionsDisclaimer { | ||
margin-bottom: 10px; | ||
font-size: 1.6rem; | ||
font-weight: 300; | ||
color: #4b4a65; | ||
} | ||
|
||
&__policyText { | ||
font-size: 1.6rem; | ||
font-weight: 300; | ||
color: #4b4a65; | ||
text-align: center; | ||
} | ||
|
||
&__textLink { | ||
color: #4b4a65; | ||
} | ||
} | ||
font-family: Poppins, sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 6 additions & 98 deletions
104
apps/frontend/src/components/containers/Auth/Auth.view.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
apps/frontend/src/components/containers/Auth/LeftSide/LeftSide.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@use 'sass:map'; | ||
|
||
@import '../../../../styles/variables.scss'; | ||
|
||
.container { | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
width: 50%; | ||
padding-inline: map.get($sizes, spacing-xxl-2); | ||
background-image: url('../../../../assets/images/auth-background.png'); | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
background-size: cover; | ||
|
||
&__brandLogo { | ||
position: absolute; | ||
top: map.get($sizes, spacing-l); | ||
inset-inline-start: map.get($sizes, spacing-l); | ||
width: 168px; | ||
object-fit: contain; | ||
} | ||
|
||
&__header { | ||
margin-bottom: map.get($sizes, spacing-xl); | ||
font-size: 4.5rem; | ||
font-weight: 700; | ||
line-height: 58.75px; | ||
text-align: center; | ||
background: linear-gradient(250deg, #dc6794 6.97%, #9747ff 93.64%); | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
} | ||
|
||
&__subHeader { | ||
font-size: 3.6rem; | ||
font-weight: 400; | ||
color: map.get($colors, greys-gainsboro); | ||
text-align: center; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
apps/frontend/src/components/containers/Auth/LeftSide/LeftSide.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
|
||
import LeftSideView from './LeftSide.view'; | ||
|
||
interface IProps {} | ||
|
||
const LeftSide: React.FC<IProps> = () => { | ||
return <LeftSideView />; | ||
}; | ||
|
||
LeftSide.displayName = 'LeftSide'; | ||
LeftSide.defaultProps = {}; | ||
|
||
export default React.memo(LeftSide); |
27 changes: 27 additions & 0 deletions
27
apps/frontend/src/components/containers/Auth/LeftSide/LeftSide.view.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import { useTranslation, Trans } from 'react-i18next'; | ||
|
||
import authBrandLogo from '@/images/auth-brand-logo.png'; | ||
|
||
import classes from './LeftSide.module.scss'; | ||
|
||
interface IProps {} | ||
|
||
const AuthView: React.FC<IProps> = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<section className={classes['container']}> | ||
<img className={classes['container__brandLogo']} src={authBrandLogo} alt="Exlint" /> | ||
<h2 className={classes['container__header']}> | ||
<Trans i18nKey="auth.backgroundHeader" /> | ||
</h2> | ||
<h4 className={classes['container__subHeader']}>{t('auth.backgroundSubHeader')}</h4> | ||
</section> | ||
); | ||
}; | ||
|
||
AuthView.displayName = 'AuthView'; | ||
AuthView.defaultProps = {}; | ||
|
||
export default React.memo(AuthView); |
3 changes: 3 additions & 0 deletions
3
apps/frontend/src/components/containers/Auth/LeftSide/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import LeftSide from './LeftSide'; | ||
|
||
export default LeftSide; |
Oops, something went wrong.