-
Notifications
You must be signed in to change notification settings - Fork 9
feat:added responsiveness #8
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
base: c4gt-community
Are you sure you want to change the base?
feat:added responsiveness #8
Conversation
techsavvyash
left a comment
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.
Please all add screen recordings/screenshots showing the responsive behaviour.
src/pages/Login.tsx
Outdated
| }} | ||
| > | ||
| Login to get the courses | ||
| {/* Login to get the courses */} |
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.
Why is this text line commented?
src/pages/Login.tsx
Outdated
| <Col xs={12} md={6}> | ||
| <Container | ||
| className="login-form" | ||
| style={{ |
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 move these inline styles to a dedicated css file?
|
@techsavvyash I have made the requested changes. |
|
Hey @Arjit1136, |
|
Also, I have changed the target branch for your PR, please rebase in your fork and make sure everything is working as intended. |
| e.preventDefault(); | ||
|
|
||
| const url = `https://auth.konnect.samagra.io/api/login`; |
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 you move this url to env file ?
|
|
||
| const handleAnonymously=useCallback(()=>{ | ||
| const handleAnonymously = useCallback(() => { | ||
| props.socket.emit("search", filters); |
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.
add optional chaining like props?.socket?.emit
| }, []); | ||
|
|
||
| console.log("mnop:",{filters}) | ||
| console.log("mnop:", { filters }); |
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.
plz remove the consoles
| <Row> | ||
| <Col> | ||
| <p | ||
| style={{ |
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.
I prefer to not use inline styling, can you use className for it ?
Changes :
Screenshots :