-
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
Frontend - Login #27
base: main
Are you sure you want to change the base?
Frontend - Login #27
Conversation
(one we made ourselves)
Also fixed alert styling padding
Thanks for contributing! |
Missing temp API stuff, if anyone has a reference please link |
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.
can we get some screenshots / screen recordings of what the page looks like?
import styles from './style.module.scss'; | ||
import Error from '../../../public/assets/error.svg'; | ||
import { PropsWithChildren } from 'react'; | ||
|
||
interface AlertProps { | ||
marginBottom: 0 | 1 | 1.5 | 2; | ||
} | ||
|
||
const Alert = ({ marginBottom, children }: PropsWithChildren<AlertProps>) => { | ||
return ( | ||
<div className={styles.alert} style={{ marginBottom: `${marginBottom}rem` }}> | ||
<div className="error"> | ||
<Error /> | ||
</div> | ||
|
||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Alert; |
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.
If we're doing font stuff here might as well just use Typography. Also, what's the difference between this and useToast from portal-v2? If it's similar, let's just use toasts
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.
Background image in progress
See below for anchoring to bottom: https://stackoverflow.com/questions/5383438/keeping-background-image-at-bottom |
Info
Closes #21. (If there is no issue for this pull request yet, please create one or
delete this line if the pull request is for a very minor tweak).
Description
What changes did you make? List all distinct problems that this PR addresses. Explain any relevant
motivation or context.
Created frontend for login page
Changes
Type of Change
expected)
workflows, linting, etc.)
If you've selected Patch, Minor, or Major as your change type, make sure to bump the version before merging in
package.json
!Testing
I have tested that my changes fully resolve the linked issue ...
Checklist
package.json
file.Screenshots
Please include a screenshot of your Postman testing passing successfully.