-
Notifications
You must be signed in to change notification settings - Fork 219
Responsive design for Donut #641
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
Responsive design for Donut #641
Conversation
Nice progress, Looking forward to the completed pages 👍 |
<div className="container-wrapper"> | ||
<div className="section-home"> | ||
<div className="welcome-text"> | ||
<div className="logo"> |
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 all these classes into 1 div
src/user/auth/login/login.js
Outdated
<DonutTitle /> | ||
</div> | ||
<div className="tagline"> | ||
<h1>One place for meeting everyone.</h1> | ||
</div> | ||
<div className="description"> | ||
<p> | ||
An Open Source Social networking bridge between Developers, | ||
Organisations and Open Source aspirants | ||
</p> | ||
</div> | ||
<div class="login-btn"> | ||
<a href="#login"> | ||
Sign In |
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.
find the proper way to do the same cc @ksraj123
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.
@ksraj123, Whenever you're free, please let me know about how to proceed with this.
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.
using anchor tags for links which do not take you to a different website is not a good practice, for the use case here I think you want the user to be redirected to a different section of the page when he clicks on Sign In, for that you many use react-router-hash-link Also please make sure that the scrolling is smooth
Apart from this, Please try to avoid unnecessarily nesting of HTML elements verbose markup should be avoided, provide meaningful names to classes look into BEM naming convention, these suggestions are applicable for not just this piece of code but across the project.
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.
Okay, Sure thing! I'll follow this up and push the updated code.
But, I'm having issues in understanding how would I replace all divs with a single one?
src/user/proposals/UserProposalDashboard/UserProposalDashboard.js
Outdated
Show resolved
Hide resolved
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 catchup with @Rupeshiya @ksraj123 @AuraOfDivinity
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 don't have Donut setup on local; so hadn't looked at how everything fits together and usability. Rather did a code review.
Also, on a sidenote: Why are we not following bootstrap grid system more religiously but rather with a combination of flexboxes? Why do the hardwork? :p
} | ||
|
||
@media (min-width: 320px) and (max-width: 1024px){ |
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.
Maybe we can extract these breakpoints too into variables
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.
Alright! Sounds good actually! Will have to use mixins!
src/user/proposals/UserProposalDashboard/DashboardContent/DashboardContent.scss
Show resolved
Hide resolved
src/user/proposals/UserProposalDashboard/UserProposalDashboard.scss
Outdated
Show resolved
Hide resolved
@jaskiratsingh2000 Did you suggested for round buttons again? Because we already converted the whole platform buttons to rectangular shape earlier? |
@Rupeshiya, The design on Figma had this round buttons so I did that! |
Hi!
I haven't suggested for the round button.
Thanks
…On Thu, 22 Oct 2020, 3:41 pm Rupesh Krishna Jha, ***@***.***> wrote:
@jaskiratsingh2000 <https://github.com/jaskiratsingh2000> Did you
suggested for round buttons again? Because we already converted the whole
platform buttons to rectangular shape earlier?
#inconsistencies
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOBHK4SFEUMSJLYE2UA3IDSMAAMTANCNFSM4SETZJNA>
.
|
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.
Nice work @lazycipher !
Please have a look at the comments
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.
@lazycipher Looks good, but once discuss that implementation of responsiveness for different views using third-party.
If possible I would suggest using a media query for that. (Check Navigation component)
Thanks
@Rupeshiya Thanks for reviewing. I'll use media queries in Navigation and will push code. |
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.
Nice work lazyCipher!!
Looks fine to me now.
Also, please try to reduce space in between tabs in mobile view
@ksraj123 If any improvement you want, please mention.
@jaskiratsingh2000 You can have a look the changes he made in the deploy version. |
@Rupeshiya, Modals are responsive already! |
@Rupeshiya, may we move ahead and merge this? |
This PR will solve the responsiveness of Donut for mobile.