-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Andrea/Login page #483
base: main
Are you sure you want to change the base?
Andrea/Login page #483
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Evo ostavia san dosta stvari, najvise oko layouta. Baci oko na sve pa rerequestaj review kad fixas. Takoder, prije nego sta rerequestas si mergeaj main u branch.
line-height: 28px; | ||
letter-spacing: -0.24px; | ||
margin-bottom: 24px; | ||
width: 295px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
padding: 24px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
if (!email) { | ||
setEmailError('Hej, trebaš ispuniti sva polja.'); | ||
isValid = false; | ||
} else { | ||
setEmailError(''); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doda bi i validaciju formata maila, tj. da ima i @ i tocke itd. Koristi regex: https://stackoverflow.com/questions/46155/how-can-i-validate-an-email-address-in-javascript
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
justify-content: space-between; | ||
padding: 0px 24px; | ||
gap: 12px; | ||
margin-top: 330px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideja je da kad si na mobitelu inputi budu gore, a botuni budu priljepljeni za dno ekrana, tj da nema scrolla ukoliko je moguce. Staticki razmak koji je definiran u figmi ustavri ovisi o visini ekrana. Tu bi recimo solucija bila da kad je na mobitelu neka visina pagea bude tocno 100vh pa u flexbox stavit justify content space between izmedu containera za input i ocntainera za botune.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
.blackDiv { | ||
color: $primary-background; | ||
height: 116px; | ||
display: flex; | ||
justify-content: left; | ||
align-items: center; | ||
padding-left: 24px; | ||
padding-top: 60px; | ||
|
||
@media (min-width: $breakpoint-tablet) { | ||
justify-content: center; | ||
padding-bottom: 40px; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msm da je done
<Button variant='orange' onClick={handleLogin}> | ||
Prijavi se | ||
</Button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ovo san pokusala, ali nisan uspila moran jos istrazit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nasla od ovog lika i prilagodila malo za uredjaje koji ne podrzavaju visualViewport https://github.com/straxico/use-detect-keyboard-open/blob/main/src/index.js
margin: 0 auto; | ||
min-width: 500px; | ||
padding-top: 48px; | ||
gap: 48px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apps/app/src/assets/icons/Group.svg
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preimenuj u nesto smisleno i stavi malo pocetno slovo. recimo close ili nesto slicno
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw tek san sad primjetia, ikonica oka na inputu se wiggla kad se switcha iz skriveno i neskriveno. samo to isto prilagodi da ostane na mistu kad se toggla
Login Page
#475
Link na figmu https://www.figma.com/design/AQTy6Y8Ka4uSdA5MwQlySJ/App-Dev-Handoff-(original)?node-id=19-3860&p=f&m=dev